From 57ffd2c1ccdb07466f3ec99245c13e911de0eb91 Mon Sep 17 00:00:00 2001 From: Phillip Mienk Date: Wed, 31 Jul 2024 16:51:14 -0700 Subject: [PATCH] Regenerate artifacts. --- install-cmake.sh | 23 +++++++++++++++++------ install-cmakepresets.sh | 23 +++++++++++++++++------ install.sh | 23 +++++++++++++++++------ 3 files changed, 51 insertions(+), 18 deletions(-) diff --git a/install-cmake.sh b/install-cmake.sh index 088bd84..ae79dc5 100755 --- a/install-cmake.sh +++ b/install-cmake.sh @@ -841,13 +841,22 @@ build_from_tarball_boost() initialize_boost_configuration initialize_boost_icu_configuration + guessed_toolset=`./tools/build/src/engine/build.sh --guess-toolset` + CXXFLAGS="-w" ./tools/build/src/engine/build.sh ${guessed_toolset} --cxxflags="-w" + cp tools/build/src/engine/b2 . + if [[ (x"$BOOST_CXXFLAGS" == "x") ]]; then + BOOST_CXXFLAGS="cxxflags=${BOOST_FLAGS[@]}" + else + BOOST_CXXFLAGS="$BOOST_CXXFLAGS ${BOOST_FLAGS[@]}" + fi + display_message "Libbitcoin boost configuration." display_message "--------------------------------------------------------------------" display_message "variant : release" display_message "threading : multi" display_message "toolset : $CC" - display_message "cxxflags : $STDLIB_FLAG" - display_message "linkflags : $STDLIB_FLAG" + display_message "boost cxxflags : $BOOST_CXXFLAGS" + display_message "boost linkflags : $BOOST_LINKFLAGS" display_message "link : $BOOST_LINK" display_message "boost.locale.iconv : $BOOST_ICU_ICONV" display_message "boost.locale.posix : $BOOST_ICU_POSIX" @@ -861,12 +870,9 @@ build_from_tarball_boost() display_message "--reconfigure : [ignore cached configuration]" display_message "--prefix : $PREFIX" display_message "BOOST_OPTIONS : $*" + display_message "cxxflags (ignored) : $CXXFLAGS" display_message "--------------------------------------------------------------------" - guessed_toolset=`./tools/build/src/engine/build.sh --guess-toolset` - CXXFLAGS="-w" ./tools/build/src/engine/build.sh ${guessed_toolset} --cxxflags="-w" - cp tools/build/src/engine/b2 . - ./bootstrap.sh \ "--with-bjam=./b2" \ "--prefix=$PREFIX" \ @@ -980,6 +986,11 @@ ZMQ_FLAGS=( ICU_FLAGS=( "-w") +# Define boost flags. +#------------------------------------------------------------------------------ +BOOST_FLAGS=( +"-Wno-enum-constexpr-conversion") + # Define secp256k1 flags. #------------------------------------------------------------------------------ SECP256K1_FLAGS=( diff --git a/install-cmakepresets.sh b/install-cmakepresets.sh index 63c5991..7ea5688 100755 --- a/install-cmakepresets.sh +++ b/install-cmakepresets.sh @@ -890,13 +890,22 @@ build_from_tarball_boost() initialize_boost_configuration initialize_boost_icu_configuration + guessed_toolset=`./tools/build/src/engine/build.sh --guess-toolset` + CXXFLAGS="-w" ./tools/build/src/engine/build.sh ${guessed_toolset} --cxxflags="-w" + cp tools/build/src/engine/b2 . + if [[ (x"$BOOST_CXXFLAGS" == "x") ]]; then + BOOST_CXXFLAGS="cxxflags=${BOOST_FLAGS[@]}" + else + BOOST_CXXFLAGS="$BOOST_CXXFLAGS ${BOOST_FLAGS[@]}" + fi + display_message "Libbitcoin boost configuration." display_message "--------------------------------------------------------------------" display_message "variant : release" display_message "threading : multi" display_message "toolset : $CC" - display_message "cxxflags : $STDLIB_FLAG" - display_message "linkflags : $STDLIB_FLAG" + display_message "boost cxxflags : $BOOST_CXXFLAGS" + display_message "boost linkflags : $BOOST_LINKFLAGS" display_message "link : $BOOST_LINK" display_message "boost.locale.iconv : $BOOST_ICU_ICONV" display_message "boost.locale.posix : $BOOST_ICU_POSIX" @@ -910,12 +919,9 @@ build_from_tarball_boost() display_message "--reconfigure : [ignore cached configuration]" display_message "--prefix : $PREFIX" display_message "BOOST_OPTIONS : $*" + display_message "cxxflags (ignored) : $CXXFLAGS" display_message "--------------------------------------------------------------------" - guessed_toolset=`./tools/build/src/engine/build.sh --guess-toolset` - CXXFLAGS="-w" ./tools/build/src/engine/build.sh ${guessed_toolset} --cxxflags="-w" - cp tools/build/src/engine/b2 . - ./bootstrap.sh \ "--with-bjam=./b2" \ "--prefix=$PREFIX" \ @@ -1032,6 +1038,11 @@ ZMQ_FLAGS=( ICU_FLAGS=( "-w") +# Define boost flags. +#------------------------------------------------------------------------------ +BOOST_FLAGS=( +"-Wno-enum-constexpr-conversion") + # Define secp256k1 flags. #------------------------------------------------------------------------------ SECP256K1_FLAGS=( diff --git a/install.sh b/install.sh index a75a945..555579e 100755 --- a/install.sh +++ b/install.sh @@ -716,13 +716,22 @@ build_from_tarball_boost() initialize_boost_configuration initialize_boost_icu_configuration + guessed_toolset=`./tools/build/src/engine/build.sh --guess-toolset` + CXXFLAGS="-w" ./tools/build/src/engine/build.sh ${guessed_toolset} --cxxflags="-w" + cp tools/build/src/engine/b2 . + if [[ (x"$BOOST_CXXFLAGS" == "x") ]]; then + BOOST_CXXFLAGS="cxxflags=${BOOST_FLAGS[@]}" + else + BOOST_CXXFLAGS="$BOOST_CXXFLAGS ${BOOST_FLAGS[@]}" + fi + display_message "Libbitcoin boost configuration." display_message "--------------------------------------------------------------------" display_message "variant : release" display_message "threading : multi" display_message "toolset : $CC" - display_message "cxxflags : $STDLIB_FLAG" - display_message "linkflags : $STDLIB_FLAG" + display_message "boost cxxflags : $BOOST_CXXFLAGS" + display_message "boost linkflags : $BOOST_LINKFLAGS" display_message "link : $BOOST_LINK" display_message "boost.locale.iconv : $BOOST_ICU_ICONV" display_message "boost.locale.posix : $BOOST_ICU_POSIX" @@ -736,12 +745,9 @@ build_from_tarball_boost() display_message "--reconfigure : [ignore cached configuration]" display_message "--prefix : $PREFIX" display_message "BOOST_OPTIONS : $*" + display_message "cxxflags (ignored) : $CXXFLAGS" display_message "--------------------------------------------------------------------" - guessed_toolset=`./tools/build/src/engine/build.sh --guess-toolset` - CXXFLAGS="-w" ./tools/build/src/engine/build.sh ${guessed_toolset} --cxxflags="-w" - cp tools/build/src/engine/b2 . - ./bootstrap.sh \ "--with-bjam=./b2" \ "--prefix=$PREFIX" \ @@ -854,6 +860,11 @@ ZMQ_FLAGS=( ICU_FLAGS=( "-w") +# Define boost flags. +#------------------------------------------------------------------------------ +BOOST_FLAGS=( +"-Wno-enum-constexpr-conversion") + # Define secp256k1 flags. #------------------------------------------------------------------------------ SECP256K1_FLAGS=(