Skip to content

Commit

Permalink
Merge pull request #511 from pmienk/master
Browse files Browse the repository at this point in the history
Regenerate artifacts.
  • Loading branch information
pmienk committed Aug 1, 2024
2 parents 3a17a7c + d7cadf3 commit e260e9d
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 18 deletions.
23 changes: 17 additions & 6 deletions install-cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -832,13 +832,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"
Expand All @@ -852,12 +861,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" \
Expand Down Expand Up @@ -961,6 +967,11 @@ remove_install_options
ICU_FLAGS=(
"-w")

# Define boost flags.
#------------------------------------------------------------------------------
BOOST_FLAGS=(
"-Wno-enum-constexpr-conversion")

# Define secp256k1 flags.
#------------------------------------------------------------------------------
SECP256K1_FLAGS=(
Expand Down
23 changes: 17 additions & 6 deletions install-cmakepresets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -881,13 +881,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"
Expand All @@ -901,12 +910,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" \
Expand Down Expand Up @@ -1013,6 +1019,11 @@ remove_install_options
ICU_FLAGS=(
"-w")

# Define boost flags.
#------------------------------------------------------------------------------
BOOST_FLAGS=(
"-Wno-enum-constexpr-conversion")

# Define secp256k1 flags.
#------------------------------------------------------------------------------
SECP256K1_FLAGS=(
Expand Down
23 changes: 17 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -707,13 +707,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"
Expand All @@ -727,12 +736,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" \
Expand Down Expand Up @@ -835,6 +841,11 @@ set_with_boost_prefix
ICU_FLAGS=(
"-w")

# Define boost flags.
#------------------------------------------------------------------------------
BOOST_FLAGS=(
"-Wno-enum-constexpr-conversion")

# Define secp256k1 flags.
#------------------------------------------------------------------------------
SECP256K1_FLAGS=(
Expand Down

0 comments on commit e260e9d

Please sign in to comment.