File tree 11 files changed +8
-38
lines changed
11 files changed +8
-38
lines changed Original file line number Diff line number Diff line change 46
46
make -f Makefile.setup PIP_INSTALL_ARGS="" install-python-deps
47
47
- name : Configure Conan
48
48
run : |
49
- make setup-conan &&
50
- # NOTE: Boost 1.69 has a bug (fixed in 74fb0a26099bc51d717f5f154b37231ce7df3e98) that
51
- # prevents GCC >= 11 from interoperation, so disable the server for this case.
52
- # (The server feature depends on cloe-oak, which *currently* depends on Boost <= 1.69.)
53
- if [ $(gcc -dumpversion) -ge 11 ]; then
54
- conan profile update options.cloe-engine:server=False default;
55
- fi
49
+ make setup-conan
56
50
- name : Build cloe w/ package
57
51
run : |
58
52
make ${{ matrix.package_target }}
Original file line number Diff line number Diff line change @@ -56,13 +56,7 @@ ENV CONAN_NON_INTERACTIVE=yes
56
56
57
57
COPY dist/conan /cloe/dist/conan
58
58
RUN make -f /cloe/Makefile.setup setup-conan && \
59
- conan config set general.default_profile=${CONAN_PROFILE} && \
60
- # NOTE: Boost 1.69 has a bug (fixed in 74fb0a26099bc51d717f5f154b37231ce7df3e98) that
61
- # prevents GCC >= 11 from interoperation, so disable the server for this case.
62
- # (The server feature depends on cloe-oak, which *currently* depends on Boost <= 1.69.)
63
- if [ $(gcc -dumpversion) -ge 11 ]; then \
64
- conan profile update options.cloe-engine:server=False ${CONAN_PROFILE}; \
65
- fi
59
+ conan config set general.default_profile=${CONAN_PROFILE}
66
60
67
61
# Build and Install Cloe
68
62
#
Original file line number Diff line number Diff line change @@ -60,8 +60,6 @@ def cloe_requires(dep):
60
60
boost_version = "[>=1.65.0]"
61
61
if self .options .with_engine :
62
62
cloe_requires ("cloe-engine" )
63
- if self .options ["cloe-engine" ].server :
64
- boost_version = "[>=1.65.0,<1.70]"
65
63
66
64
# Overrides:
67
65
self .requires ("fmt/[~=8.1.1]" , override = True )
Original file line number Diff line number Diff line change @@ -54,9 +54,7 @@ def requirements(self):
54
54
self .requires ("cli11/[~=2.1.2]" , private = True )
55
55
if self .options .server :
56
56
self .requires (f"cloe-oak/{ self .version } @cloe/develop" , private = True )
57
- self .requires ("boost/[>=1.65.1,<1.70.0]" )
58
- else :
59
- self .requires ("boost/[>=1.65.1]" )
57
+ self .requires ("boost/[>=1.65.1]" )
60
58
self .requires ("fmt/[~=8.1.1]" , override = True )
61
59
self .requires ("nlohmann_json/[~=3.10.5]" , override = True )
62
60
Original file line number Diff line number Diff line change 29
29
#include < iostream> // for cerr
30
30
31
31
// NOTE: Unfortunately, <boost/uuid/uuid_generators.hpp> includes Boost headers
32
- // that make use of deprecated headers. This is fixed in Boost 1.70.0, which we
33
- // cannot use until we migrate oak::Server away from cppnetlib.
34
- // See: https://github.com/boostorg/random/issues/49
32
+ // that make use of deprecated headers. This is fixed in Boost 1.70.0, but
33
+ // we still need to support earlier versions of Boost.
35
34
#define BOOST_ALLOW_DEPRECATED_HEADERS
36
35
37
36
#include < boost/lexical_cast.hpp> // for lexical_cast
Original file line number Diff line number Diff line change @@ -30,5 +30,3 @@ def requirements(self):
30
30
self .requires (f"cloe-plugin-noisy-sensor/{ self .version } @cloe/develop" )
31
31
self .requires (f"cloe-plugin-speedometer/{ self .version } @cloe/develop" )
32
32
self .requires (f"cloe-plugin-virtue/{ self .version } @cloe/develop" )
33
-
34
- self .requires ("boost/[<1.70]" , override = True )
Original file line number Diff line number Diff line change @@ -48,5 +48,3 @@ def requirements(self):
48
48
49
49
# Overrides:
50
50
self .requires ("zlib/1.2.13" , override = True )
51
- if self .options ["cloe-engine" ].server :
52
- self .requires ("boost/[<1.70]" , override = True )
Original file line number Diff line number Diff line change @@ -48,6 +48,3 @@ def requirements(self):
48
48
self .requires ("zlib/1.2.13" , override = True )
49
49
self .requires ("incbin/cci.20211107" , override = True )
50
50
self .requires ("vtd-api/2022.3@cloe/stable" , override = True )
51
-
52
- if self .options ["cloe-engine" ].server :
53
- self .requires ("boost/[<1.70]" , override = True )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class CloeTest(ConanFile):
11
11
python_requires_extend = "cloe-launch-profile.Base"
12
12
13
13
default_options = {
14
- "cloe-engine:server" : False ,
14
+ "cloe-engine:server" : True ,
15
15
}
16
16
17
17
@property
@@ -33,6 +33,3 @@ def requirements(self):
33
33
self .requires (f"cloe-plugin-noisy-sensor/{ self .version } @cloe/develop" )
34
34
self .requires (f"cloe-plugin-speedometer/{ self .version } @cloe/develop" )
35
35
self .requires (f"cloe-plugin-virtue/{ self .version } @cloe/develop" )
36
-
37
- if self .options ["cloe-engine" ].server :
38
- self .requires ("boost/[<1.70]" , override = True )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class CloeTest(ConanFile):
11
11
python_requires_extend = "cloe-launch-profile.Base"
12
12
13
13
default_options = {
14
- "cloe-engine:server" : False ,
14
+ "cloe-engine:server" : True ,
15
15
}
16
16
17
17
@property
@@ -33,6 +33,3 @@ def requirements(self):
33
33
self .requires (f"cloe-plugin-noisy-sensor/{ self .version } @cloe/develop" )
34
34
self .requires (f"cloe-plugin-speedometer/{ self .version } @cloe/develop" )
35
35
self .requires (f"cloe-plugin-virtue/{ self .version } @cloe/develop" )
36
-
37
- if self .options ["cloe-engine" ].server :
38
- self .requires ("boost/[<1.70]" , override = True )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class CloeTest(ConanFile):
12
12
13
13
default_options = {
14
14
"cloe:with_vtd" : False ,
15
- "cloe-engine:server" : False ,
15
+ "cloe-engine:server" : True ,
16
16
}
17
17
18
18
@property
You can’t perform that action at this time.
0 commit comments