File tree Expand file tree Collapse file tree 11 files changed +63
-5
lines changed Expand file tree Collapse file tree 11 files changed +63
-5
lines changed Original file line number Diff line number Diff line change @@ -21,3 +21,10 @@ pin.log
21
21
.idea
22
22
.cache
23
23
__pycache__
24
+
25
+ debian /.debhelper /
26
+ debian /debhelper-build-stamp
27
+ debian /files
28
+ debian /* .substvars
29
+ debian /sio2jail /
30
+ obj- * /
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ ENDIF()
13
13
IF (NOT DEFINED ARCH )
14
14
SET (ARCH "NATIVE" )
15
15
ENDIF ()
16
- IF (NOT ARCH MATCHES "i386|x86_64|NATIVE" )
17
- MESSAGE (FATAL_ERROR "ARCH should be one of i386, x86_64 , NATIVE" )
16
+ IF (NOT ARCH MATCHES "i386|x86_64|amd64| NATIVE" )
17
+ MESSAGE (FATAL_ERROR "ARCH should be one of i386, amd64 , NATIVE" )
18
18
ENDIF ()
19
19
20
20
IF (NOT DEFINED WITH_CLANG_TIDY )
@@ -43,7 +43,7 @@ ENDIF()
43
43
IF (ARCH STREQUAL "i386" )
44
44
SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32" )
45
45
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32" )
46
- ELSEIF (ARCH STREQUAL " x86_64" )
46
+ ELSEIF (ARCH MATCHES "amd64| x86_64" )
47
47
SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m64" )
48
48
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64" )
49
49
ENDIF ()
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ option (STATIC by default):
55
55
There is also a possibility to control whether output binary should run on other
56
56
architecture than the default one (or force given architecture):
57
57
58
- -DARCH=i386|x86_64
58
+ -DARCH=i386|amd64
59
59
60
60
Note, that when using ARCH other than build host architecture it may be necessary
61
61
(depending on libraries installation) to build sio2jail with custom libseccomp (more
Original file line number Diff line number Diff line change
1
+ ../README.md
Original file line number Diff line number Diff line change
1
+ sio2jail (1.3.1) UNRELEASED; urgency=medium
2
+
3
+ * Initial Release.
4
+
5
+ -- Michał Sidor <michcioperz@asirpa.iscute.ovh> Sun, 12 Jan 2020 15:24:25 +0100
Original file line number Diff line number Diff line change
1
+ 11
Original file line number Diff line number Diff line change
1
+ Source: sio2jail
2
+ Section: utils
3
+ Priority: optional
4
+ Maintainer: Michał Sidor <michcioperz@asirpa.iscute.ovh>
5
+ Build-Depends: debhelper (>= 11), cmake
6
+ Standards-Version: 4.1.3
7
+ Homepage: https://github.com/sio2project/sio2jail
8
+ Vcs-Browser: https://github.com/sio2project/sio2jail
9
+ Vcs-Git: https://github.com/sio2project/sio2jail.git
10
+
11
+ Package: sio2jail
12
+ Architecture: any
13
+ Depends: ${shlibs:Depends}, ${misc:Depends}
14
+ Description: A tool for supervising execution of programs submitted in algorithmic competitions
Original file line number Diff line number Diff line change
1
+ # !/usr/bin/make -f
2
+ # See debhelper(7) (uncomment to enable)
3
+ # output every command that modifies files on the build system.
4
+ # export DH_VERBOSE = 1
5
+
6
+
7
+ # see FEATURE AREAS in dpkg-buildflags(1)
8
+ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
9
+
10
+ # see ENVIRONMENT in dpkg-buildflags(1)
11
+ # package maintainers to append CFLAGS
12
+ # export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
13
+ # package maintainers to append LDFLAGS
14
+ # export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
15
+
16
+
17
+ % :
18
+ dh $@ --buildsystem=cmake
19
+
20
+
21
+ # dh_make generated override targets
22
+ # This is example for Cmake (See https://bugs.debian.org/641051 )
23
+ override_dh_auto_configure :
24
+ dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DARCH=$(DEB_TARGET_ARCH )
25
+
26
+ override_dh_auto_test :
27
+ echo Tests skipped
28
+
Original file line number Diff line number Diff line change
1
+ README
Original file line number Diff line number Diff line change
1
+ 3.0 (native)
You can’t perform that action at this time.
0 commit comments