@@ -86,60 +86,16 @@ references:
8686 cmake --version
8787 /usr/local/bin/$CC --version
8888 /usr/local/bin/$CXX --version
89- upgrade_libunwind_pre : &upgrade_libunwind_pre
90- restore_cache :
91- keys :
92- # Find the most recent cache from any branch
93- - v1_upgrade_libunwind_cache_{{ checksum "/tmp/_build_env_vars" }}_{{ arch }}
94- upgrade_libunwind_post : &upgrade_libunwind_post
95- save_cache :
96- key : v1_upgrade_libunwind_cache_{{ checksum "/tmp/_build_env_vars" }}_{{ arch }}
97- paths :
98- - /tmp/libunwind-1.2.1
99- upgrade_libunwind : &upgrade_libunwind
100- run :
101- name : Upgrade Libunwind
102- command : |
103- # We need to install libunwind manually because Circle CI uses Ubuntu 14.04 and the default libunwind version
104- # on that Ubuntu suffers from http://savannah.nongnu.org/bugs/?43752.
105- # This isn't an issue for any later version of Ubuntu.
106-
107- # Detect number of CPU cores
108- export NUMCORES=`nproc`
109- echo Using $NUMCORES cores
110- # Download and prepare libunwind (only if not already present from cache)
111- if [ ! -d "/tmp/libunwind-1.2.1" ]; then
112- echo "Didn't find libunwind in cache. Downloading and building."
113- wget -O /tmp/libunwind-1.2.1.tar.gz http://download.savannah.nongnu.org/releases/libunwind/libunwind-1.2.1.tar.gz
114- if [ $(sha512sum /tmp/libunwind-1.2.1.tar.gz | awk '{print $1;}') == "af7c280d2a963779a4a2711887618bc96383011e4e5d52e4085aa7fb351e55e357468f6ff85e66a216f1c6826538f498335a917a5970575c93be74c96316319b" ]; then
115- echo Correct sha512sum
116- else
117- echo Wrong sha512sum
118- sha512sum /tmp/libunwind-1.2.1.tar.gz
119- exit 1
120- fi
121- echo Extracting...
122- tar -xf /tmp/libunwind-1.2.1.tar.gz -C /tmp
123- rm -rf /tmp/libunwind-1.2.1.tar.gz
124- cd /tmp/libunwind-1.2.1
125- ./configure
126- make -j${NUMCORES}
127- else
128- echo Found libunwind in cache. Use cache and build.
129- fi
130- # Compile and install libunwind (if cached, this should be fast)
131- cd /tmp/libunwind-1.2.1
132- sudo make -j${NUMCORES} install
13389 upgrade_boost_pre : &upgrade_boost_pre
13490 restore_cache :
13591 keys :
13692 # Find the most recent cache from any branch
137- - v3_upgrade_boost_cache_ {{ checksum "/tmp/_build_env_vars" }}_{{ arch }}
93+ - v4_upgrade_boost_cache_ {{ checksum "/tmp/_build_env_vars" }}_{{ arch }}
13894 upgrade_boost_post : &upgrade_boost_post
13995 save_cache :
140- key : v3_upgrade_boost_cache_ {{ checksum "/tmp/_build_env_vars" }}_{{ arch }}
96+ key : v4_upgrade_boost_cache_ {{ checksum "/tmp/_build_env_vars" }}_{{ arch }}
14197 paths :
142- - /tmp/boost_1_57_0
98+ - /tmp/boost_1_65_1
14399 upgrade_boost : &upgrade_boost
144100 run :
145101 name : Upgrade Boost
@@ -148,10 +104,10 @@ references:
148104 export NUMCORES=`nproc`
149105 echo Using $NUMCORES cores
150106 # Download and prepare boost (only if not already present from cache)
151- if [ ! -d "/tmp/boost_1_57_0 " ]; then
107+ if [ ! -d "/tmp/boost_1_65_1 " ]; then
152108 echo "Didn't find boost in cache. Downloading and building."
153- wget -O /tmp/boost.tar.bz2 https://sourceforge.net/projects/boost/files/boost/1.57.0/boost_1_57_0 .tar.bz2/download
154- if [ $(sha512sum /tmp/boost.tar.bz2 | awk '{print $1;}') == "61881440fd89644c43c6e3bc6292e9fed75a6d3a76f98654b189d0ed4e1087d77b585884e882270c08bf9f7132b173bfc1fde05848e06aa78ba7f1008d10714d " ]; then
109+ wget -O /tmp/boost.tar.bz2 https://sourceforge.net/projects/boost/files/boost/1.65.1/boost_1_65_1 .tar.bz2/download
110+ if [ $(sha512sum /tmp/boost.tar.bz2 | awk '{print $1;}') == "a9e6866d3bb3e7c198f442ff09f5322f58064dca79bc420f2f0168eb63964226dfbc4f034a5a5e5958281fdf7518a1b057c894fbda0b61fced59c1661bf30f1a " ]; then
155111 echo Correct sha512sum
156112 else
157113 echo Wrong sha512sum
@@ -161,14 +117,14 @@ references:
161117 echo Extracting...
162118 tar -xf /tmp/boost.tar.bz2 -C /tmp
163119 rm -rf boost.tar.bz2
164- cd /tmp/boost_1_57_0
120+ cd /tmp/boost_1_65_1
165121 ./bootstrap.sh --with-toolset=${BUILD_TOOLSET} --with-libraries=filesystem,thread,chrono,program_options
166122 cd ..
167123 else
168124 echo Found boost in cache. Use cache and build.
169125 fi
170126 # Compile and install boost (if cached, this should be fast)
171- cd /tmp/boost_1_57_0
127+ cd /tmp/boost_1_65_1
172128 sudo ./b2 toolset=${BUILD_TOOLSET} link=static cxxflags=-fPIC -d0 -j$NUMCORES install
173129 build_pre : &build_pre
174130 restore_cache :
@@ -233,9 +189,6 @@ references:
233189 - << : *container_setup_pre
234190 - << : *container_setup
235191 - << : *container_setup_post
236- - << : *upgrade_libunwind_pre
237- - << : *upgrade_libunwind
238- - << : *upgrade_libunwind_post
239192 - << : *upgrade_boost_pre
240193 - << : *upgrade_boost
241194 - << : *upgrade_boost_post
@@ -514,7 +467,7 @@ jobs:
514467 OMP_NUM_THREADS : " 1"
515468 CXXFLAGS : " -O2 -fsanitize=thread -fno-omit-frame-pointer"
516469 BUILD_TYPE : " Debug"
517- GTEST_ARGS : " --gtest_filter=-LoggingTest.LoggingAlsoWorksAfterFork:AssertTest_DebugBuild .*:SignalCatcherTest.*_thenDies:SignalHandlerTest.*_thenDies:SignalHandlerTest.givenMultipleSigIntHandlers_whenRaising_thenCatchesCorrectSignal:CliTest_Setup.*:CliTest_IntegrityCheck.*:*/CliTest_WrongEnvironment.*:CliTest_Unmount.*"
470+ GTEST_ARGS : " --gtest_filter=-LoggingTest.LoggingAlsoWorksAfterFork:AssertTest_*:BacktraceTest .*:SignalCatcherTest.*_thenDies:SignalHandlerTest.*_thenDies:SignalHandlerTest.givenMultipleSigIntHandlers_whenRaising_thenCatchesCorrectSignal:CliTest_Setup.*:CliTest_IntegrityCheck.*:*/CliTest_WrongEnvironment.*:CliTest_Unmount.*"
518471 CMAKE_FLAGS : " "
519472 RUN_TESTS : true
520473 clang_tidy :
@@ -524,9 +477,6 @@ jobs:
524477 - << : *container_setup_pre
525478 - << : *container_setup
526479 - << : *container_setup_post
527- - << : *upgrade_libunwind_pre
528- - << : *upgrade_libunwind
529- - << : *upgrade_libunwind_post
530480 - << : *upgrade_boost_pre
531481 - << : *upgrade_boost
532482 - << : *upgrade_boost_post
0 commit comments