Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
208 changes: 108 additions & 100 deletions builds/cmake/install-cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,56 +8,60 @@
# Script managing the build and installation of libbitcoin-server and its dependencies.
#
# Script options:
# -Denable-avx2=<ON/OFF> Use Intel AVX2 intrinsics.
# Default: OFF
# -Denable-avx512=<ON/OFF> Use Intel AVX512 intrinsics.
# Default: OFF
# -Denable-avx512ifma=<ON/OFF>Use Intel AVX512 IFMA intrinsics (implies AVX512VL).
# Default: OFF
# -Denable-avxifma=<ON/OFF> Use Intel AVX IFMA intrinsics (implies AVX2).
# Default: OFF
# -Denable-sse41=<ON/OFF> Use SSE4.1 hardware instructions.
# Default: OFF
# -Denable-shani=<ON/OFF> Use Intel/ARM SHA Extensions.
# Default: OFF
# -Denable-crypto=<ON/OFF> Use ARM Crypto Extensions.
# Default: OFF
# -Denable-aesni=<ON/OFF> Use Intel AES-NI and PCLMULQDQ intrinsics.
# Default: OFF
# -Denable-vaes=<ON/OFF> Use Intel VAES and VPCLMULQDQ intrinsics (implies AES-NI and AVX2).
# Default: OFF
# -Dwith-ultrafast=<ON/OFF> Use shrec/UltrafastSecp256k1 library.
# Default: OFF
# -Dwith-secp256k1=<ON/OFF> Use bitcoin-core/secp256k1 library.
# Default: OFF
# -Dwith-ssl=<ON/OFF> Use embedded ssl library.
# Default: ON
# --build-boost Build Boost libraries
# --build-secp256k1 Build libsecp256k1 libraries
# --build-ultrafast Build UltrafastSecp256k1 libraries
# --build-src-dir=<path> Location for sources.
# Default: $(pwd)
# --build-obj-dir=<path> Location for intermediate objects.
# Default: obj
# --build-obj-dir-relative Interpret build-obj-dir as relative to project sources.
# --build-config=<mode> Specifies the build configuration.
# Values: { debug, release }
# Toolchain default behavior will occur if no value specified.
# --build-link=<mode> Specifies the link mode.
# Values: { dynamic, static }
# Toolchain default behavior will occur if no value specified.
# --build-full-repositories Sync full github repositories.
# Default: git clone --depth 1 --single-branch
# --build-post-install-clean Clean dependencies after installation (saves space).
# --build-skip-tests Skip test compilation and execution.
# --build-parallel=<int> Number of jobs to run simultaneously.
# Default: supported platforms use nproc/sysctl
# --build-use-local-src Use existing sources in relevant paths.
# --prefix=<path> Installation destination.
# Default: /usr/local
# --noninteractive Disable any prompt using default.
# --verbose Display verbose script output.
# --help, -h Display usage, overriding script execution.
# -Denable-avx2=<ON/OFF> Use Intel AVX2 intrinsics.
# Default: OFF
# -Denable-avx512=<ON/OFF> Use Intel AVX512 intrinsics.
# Default: OFF
# -Denable-avx512ifma=<ON/OFF> Use Intel AVX512 IFMA intrinsics (implies AVX512VL).
# Default: OFF
# -Denable-avxifma=<ON/OFF> Use Intel AVX IFMA intrinsics (implies AVX2).
# Default: OFF
# -Denable-sse41=<ON/OFF> Use SSE4.1 hardware instructions.
# Default: OFF
# -Denable-shani=<ON/OFF> Use Intel/ARM SHA Extensions.
# Default: OFF
# -Denable-crypto=<ON/OFF> Use ARM Crypto Extensions.
# Default: OFF
# -Denable-sha512=<ON/OFF> Use Intel SHA512 Extensions (implies AVX2).
# Default: OFF
# -Denable-sha3=<ON/OFF> Use ARM SHA3 Extensions for SHA512 (implies Crypto).
# Default: OFF
# -Denable-aesni=<ON/OFF> Use Intel AES-NI and PCLMULQDQ intrinsics.
# Default: OFF
# -Denable-vaes=<ON/OFF> Use Intel VAES and VPCLMULQDQ intrinsics (implies AES-NI and AVX2).
# Default: OFF
# -Dwith-ultrafast=<ON/OFF> Use shrec/UltrafastSecp256k1 library.
# Default: OFF
# -Dwith-secp256k1=<ON/OFF> Use bitcoin-core/secp256k1 library.
# Default: OFF
# -Dwith-ssl=<ON/OFF> Use embedded ssl library.
# Default: ON
# --build-boost Build Boost libraries
# --build-secp256k1 Build libsecp256k1 libraries
# --build-ultrafast Build UltrafastSecp256k1 libraries
# --build-src-dir=<path> Location for sources.
# Default: $(pwd)
# --build-obj-dir=<path> Location for intermediate objects.
# Default: obj
# --build-obj-dir-relative Interpret build-obj-dir as relative to project sources.
# --build-config=<mode> Specifies the build configuration.
# Values: { debug, release }
# Toolchain default behavior will occur if no value specified.
# --build-link=<mode> Specifies the link mode.
# Values: { dynamic, static }
# Toolchain default behavior will occur if no value specified.
# --build-full-repositories Sync full github repositories.
# Default: git clone --depth 1 --single-branch
# --build-post-install-clean Clean dependencies after installation (saves space).
# --build-skip-tests Skip test compilation and execution.
# --build-parallel=<int> Number of jobs to run simultaneously.
# Default: supported platforms use nproc/sysctl
# --build-use-local-src Use existing sources in relevant paths.
# --prefix=<path> Installation destination.
# Default: /usr/local
# --noninteractive Disable any prompt using default.
# --verbose Display verbose script output.
# --help, -h Display usage, overriding script execution.
#
# All unrecognized options provided shall be passed as configuration
# options for all dependencies.
Expand Down Expand Up @@ -1085,56 +1089,60 @@ help()
msg "Script managing the build and installation of libbitcoin-server and its dependencies."
msg ""
msg "Script options:"
msg "-Denable-avx2=<ON/OFF> Use Intel AVX2 intrinsics."
msg " Default: OFF"
msg "-Denable-avx512=<ON/OFF> Use Intel AVX512 intrinsics."
msg " Default: OFF"
msg "-Denable-avx512ifma=<ON/OFF>Use Intel AVX512 IFMA intrinsics (implies AVX512VL)."
msg " Default: OFF"
msg "-Denable-avxifma=<ON/OFF> Use Intel AVX IFMA intrinsics (implies AVX2)."
msg " Default: OFF"
msg "-Denable-sse41=<ON/OFF> Use SSE4.1 hardware instructions."
msg " Default: OFF"
msg "-Denable-shani=<ON/OFF> Use Intel/ARM SHA Extensions."
msg " Default: OFF"
msg "-Denable-crypto=<ON/OFF> Use ARM Crypto Extensions."
msg " Default: OFF"
msg "-Denable-aesni=<ON/OFF> Use Intel AES-NI and PCLMULQDQ intrinsics."
msg " Default: OFF"
msg "-Denable-vaes=<ON/OFF> Use Intel VAES and VPCLMULQDQ intrinsics (implies AES-NI and AVX2)."
msg " Default: OFF"
msg "-Dwith-ultrafast=<ON/OFF> Use shrec/UltrafastSecp256k1 library."
msg " Default: OFF"
msg "-Dwith-secp256k1=<ON/OFF> Use bitcoin-core/secp256k1 library."
msg " Default: OFF"
msg "-Dwith-ssl=<ON/OFF> Use embedded ssl library."
msg " Default: ON"
msg "--build-boost Build Boost libraries"
msg "--build-secp256k1 Build libsecp256k1 libraries"
msg "--build-ultrafast Build UltrafastSecp256k1 libraries"
msg "--build-src-dir=<path> Location for sources."
msg " Default: $(pwd)"
msg "--build-obj-dir=<path> Location for intermediate objects."
msg " Default: obj"
msg "--build-obj-dir-relative Interpret build-obj-dir as relative to project sources."
msg "--build-config=<mode> Specifies the build configuration."
msg " Values: { debug, release }"
msg " Toolchain default behavior will occur if no value specified."
msg "--build-link=<mode> Specifies the link mode."
msg " Values: { dynamic, static }"
msg " Toolchain default behavior will occur if no value specified."
msg "--build-full-repositories Sync full github repositories."
msg " Default: git clone --depth 1 --single-branch"
msg "--build-post-install-clean Clean dependencies after installation (saves space)."
msg "--build-skip-tests Skip test compilation and execution."
msg "--build-parallel=<int> Number of jobs to run simultaneously."
msg " Default: supported platforms use nproc/sysctl"
msg "--build-use-local-src Use existing sources in relevant paths."
msg "--prefix=<path> Installation destination."
msg " Default: /usr/local"
msg "--noninteractive Disable any prompt using default."
msg "--verbose Display verbose script output."
msg "--help, -h Display usage, overriding script execution."
msg "-Denable-avx2=<ON/OFF> Use Intel AVX2 intrinsics."
msg " Default: OFF"
msg "-Denable-avx512=<ON/OFF> Use Intel AVX512 intrinsics."
msg " Default: OFF"
msg "-Denable-avx512ifma=<ON/OFF> Use Intel AVX512 IFMA intrinsics (implies AVX512VL)."
msg " Default: OFF"
msg "-Denable-avxifma=<ON/OFF> Use Intel AVX IFMA intrinsics (implies AVX2)."
msg " Default: OFF"
msg "-Denable-sse41=<ON/OFF> Use SSE4.1 hardware instructions."
msg " Default: OFF"
msg "-Denable-shani=<ON/OFF> Use Intel/ARM SHA Extensions."
msg " Default: OFF"
msg "-Denable-crypto=<ON/OFF> Use ARM Crypto Extensions."
msg " Default: OFF"
msg "-Denable-sha512=<ON/OFF> Use Intel SHA512 Extensions (implies AVX2)."
msg " Default: OFF"
msg "-Denable-sha3=<ON/OFF> Use ARM SHA3 Extensions for SHA512 (implies Crypto)."
msg " Default: OFF"
msg "-Denable-aesni=<ON/OFF> Use Intel AES-NI and PCLMULQDQ intrinsics."
msg " Default: OFF"
msg "-Denable-vaes=<ON/OFF> Use Intel VAES and VPCLMULQDQ intrinsics (implies AES-NI and AVX2)."
msg " Default: OFF"
msg "-Dwith-ultrafast=<ON/OFF> Use shrec/UltrafastSecp256k1 library."
msg " Default: OFF"
msg "-Dwith-secp256k1=<ON/OFF> Use bitcoin-core/secp256k1 library."
msg " Default: OFF"
msg "-Dwith-ssl=<ON/OFF> Use embedded ssl library."
msg " Default: ON"
msg "--build-boost Build Boost libraries"
msg "--build-secp256k1 Build libsecp256k1 libraries"
msg "--build-ultrafast Build UltrafastSecp256k1 libraries"
msg "--build-src-dir=<path> Location for sources."
msg " Default: $(pwd)"
msg "--build-obj-dir=<path> Location for intermediate objects."
msg " Default: obj"
msg "--build-obj-dir-relative Interpret build-obj-dir as relative to project sources."
msg "--build-config=<mode> Specifies the build configuration."
msg " Values: { debug, release }"
msg " Toolchain default behavior will occur if no value specified."
msg "--build-link=<mode> Specifies the link mode."
msg " Values: { dynamic, static }"
msg " Toolchain default behavior will occur if no value specified."
msg "--build-full-repositories Sync full github repositories."
msg " Default: git clone --depth 1 --single-branch"
msg "--build-post-install-clean Clean dependencies after installation (saves space)."
msg "--build-skip-tests Skip test compilation and execution."
msg "--build-parallel=<int> Number of jobs to run simultaneously."
msg " Default: supported platforms use nproc/sysctl"
msg "--build-use-local-src Use existing sources in relevant paths."
msg "--prefix=<path> Installation destination."
msg " Default: /usr/local"
msg "--noninteractive Disable any prompt using default."
msg "--verbose Display verbose script output."
msg "--help, -h Display usage, overriding script execution."
msg ""
msg "All unrecognized options provided shall be passed as configuration"
msg "options for all dependencies."
Expand Down
Loading
Loading