-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cpp_stl/{clang3.4,gcc4.8}: build latest Boost 1.84 from source
See kaitai-io/kaitai_struct_tests#105 (comment) - Boost 1.54 is too old for our purposes. Fortunately, it's quite easy to build Boost from source (according to the documentation at https://www.boost.org/doc/libs/1_84_0/more/getting_started/unix-variants.html) and it doesn't take long if we only need to build the Boost.Test library. It's much faster than building CMake which is already being done (on my machine, downloading and building Boost.Test takes 2 minutes, whereas building CMake takes 21 minutes).
- Loading branch information
1 parent
ef0ad6e
commit 1ca846d
Showing
4 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include <iostream> | ||
#include <boost/version.hpp> | ||
|
||
int main() { | ||
std::cout << "Boost " << BOOST_LIB_VERSION << std::endl; | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh -ef | ||
|
||
c++ -O2 -Wall -Wextra -Wpedantic -o print_boost_ver print_boost_ver.cpp | ||
./validate-version Boost "$(./print_boost_ver)" "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters