diff --git a/.github/workflows/ci-expanded.yml b/.github/workflows/ci-expanded.yml index f9a65d98..50a922e2 100644 --- a/.github/workflows/ci-expanded.yml +++ b/.github/workflows/ci-expanded.yml @@ -1686,6 +1686,12 @@ jobs: persist-credentials: false repository: ${{ github.repository }} + - name: Force clean nuget package repository + shell: cmd + working-directory: 'libbitcoin-server' + run: | + nuget locals all -clear + - name: Execute build shell: cmd working-directory: 'libbitcoin-server' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66f37e75..64d2e3e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1007,6 +1007,12 @@ jobs: persist-credentials: false repository: ${{ github.repository }} + - name: Force clean nuget package repository + shell: cmd + working-directory: 'libbitcoin-server' + run: | + nuget locals all -clear + - name: Execute build shell: cmd working-directory: 'libbitcoin-server' diff --git a/.github/workflows/manual-release.yml b/.github/workflows/manual-release.yml index 39ec590d..ef1bebd6 100644 --- a/.github/workflows/manual-release.yml +++ b/.github/workflows/manual-release.yml @@ -153,7 +153,7 @@ jobs: configuration: release link: static toolchain: cmake - options: "-Denable-sha=ON -Denable-aes=ON -Denable-sha3=ON" + options: "-Denable-sha3=ON -Denable-sha=ON -Denable-aes=ON" cc: "clang" cxx: "clang++" image: macos-latest @@ -163,7 +163,7 @@ jobs: configuration: release link: static toolchain: cmake - options: "-Denable-aesni=ON -Denable-avx2=ON -Denable-sse41=ON" + options: "-Denable-avx2=ON -Denable-sse41=ON -Denable-aesni=ON" cc: "clang" cxx: "clang++" image: macos-26-intel @@ -173,7 +173,7 @@ jobs: configuration: release link: static toolchain: cmake - options: "-Denable-avx2=ON" + options: "-Denable-avx2=ON -Denable-sse41=ON" cc: "clang-18" cxx: "clang++-18" linkflags: "-static-libstdc++ -static-libgcc" @@ -183,7 +183,17 @@ jobs: configuration: release link: static toolchain: cmake - options: "-Denable-avx2=ON -Denable-shani=ON" + options: "-Denable-shani=ON -Denable-avx2=ON -Denable-sse41=ON" + cc: "clang-18" + cxx: "clang++-18" + linkflags: "-static-libstdc++ -static-libgcc" + image: ubuntu-24.04 + + - basename: "bs-linux-x64-avxifma-shani" + configuration: release + link: static + toolchain: cmake + options: "-Denable-avxifma=ON -Denable-shani=ON -Denable-avx2=ON -Denable-sse41=ON" cc: "clang-18" cxx: "clang++-18" linkflags: "-static-libstdc++ -static-libgcc" @@ -193,7 +203,7 @@ jobs: configuration: release link: static toolchain: cmake - options: "-Denable-avx512=ON" + options: "-Denable-avx512=ON -Denable-avx2=ON -Denable-sse41=ON" cc: "clang-18" cxx: "clang++-18" linkflags: "-static-libstdc++ -static-libgcc" @@ -203,7 +213,17 @@ jobs: configuration: release link: static toolchain: cmake - options: "-Denable-avx512=ON -Denable-shani=ON" + options: "-Denable-avx512=ON -Denable-shani=ON -Denable-avx2=ON -Denable-sse41=ON" + cc: "clang-18" + cxx: "clang++-18" + linkflags: "-static-libstdc++ -static-libgcc" + image: ubuntu-24.04 + + - basename: "bs-linux-x64-avx512-avxifma-shani" + configuration: release + link: static + toolchain: cmake + options: "-Denable-avx512=ON -Denable-avxifma=ON -Denable-shani=ON -Denable-avx2=ON -Denable-sse41=ON" cc: "clang-18" cxx: "clang++-18" linkflags: "-static-libstdc++ -static-libgcc" @@ -242,7 +262,7 @@ jobs: configuration: release link: static toolchain: cmake - options: "-Denable-avx2=ON" + options: "-Denable-avx2=ON -Denable-sse41=ON" cc: "gcc" cxx: "g++" linkflags: "--static -static-libstdc++ -static-libgcc" @@ -253,7 +273,18 @@ jobs: configuration: release link: static toolchain: cmake - options: "-Denable-avx2=ON -Denable-shani=ON" + options: "-Denable-shani=ON -Denable-avx2=ON -Denable-sse41=ON" + cc: "gcc" + cxx: "g++" + linkflags: "--static -static-libstdc++ -static-libgcc" + image: ubuntu-24.04 + container: alpine:3.22.6 + + - basename: "bs-musl-x64-avxifma-shani" + configuration: release + link: static + toolchain: cmake + options: "-Denable-avxifma=ON -Denable-shani=ON -Denable-avx2=ON -Denable-sse41=ON" cc: "gcc" cxx: "g++" linkflags: "--static -static-libstdc++ -static-libgcc" @@ -264,7 +295,7 @@ jobs: configuration: release link: static toolchain: cmake - options: "-Denable-avx512=ON" + options: "-Denable-avx512=ON -Denable-avx2=ON -Denable-sse41=ON" cc: "gcc" cxx: "g++" linkflags: "--static -static-libstdc++ -static-libgcc" @@ -275,7 +306,18 @@ jobs: configuration: release link: static toolchain: cmake - options: "-Denable-avx512=ON -Denable-shani=ON" + options: "-Denable-avx512=ON -Denable-shani=ON -Denable-avx2=ON -Denable-sse41=ON" + cc: "gcc" + cxx: "g++" + linkflags: "--static -static-libstdc++ -static-libgcc" + image: ubuntu-24.04 + container: alpine:3.22.6 + + - basename: "bs-musl-x64-avx512-avxifma-shani" + configuration: release + link: static + toolchain: cmake + options: "-Denable-avx512=ON -Denable-avxifma=ON -Denable-shani=ON -Denable-avx2=ON -Denable-sse41=ON" cc: "gcc" cxx: "g++" linkflags: "--static -static-libstdc++ -static-libgcc" @@ -317,7 +359,7 @@ jobs: - basename: "bs-windows-x64" configuration: StaticRelease toolchain: msbuild - options: "--enable-avx2" + options: "--enable-avx2 --enable-sse41" platform: "x64" toolset: "v145" version: "vs2026" @@ -326,7 +368,16 @@ jobs: - basename: "bs-windows-x64-shani" configuration: StaticRelease toolchain: msbuild - options: "--enable-shani" + options: "--enable-shani --enable-avx2 --enable-sse41" + platform: "x64" + toolset: "v145" + version: "vs2026" + image: windows-latest + + - basename: "bs-windows-x64-avxifma-shani" + configuration: StaticRelease + toolchain: msbuild + options: "--enable-avxifma --enable-shani --enable-avx2 --enable-sse41" platform: "x64" toolset: "v145" version: "vs2026" @@ -335,7 +386,7 @@ jobs: - basename: "bs-windows-x64-avx512" configuration: StaticRelease toolchain: msbuild - options: "--enable-avx512" + options: "--enable-avx512 --enable-avx2 --enable-sse41" platform: "x64" toolset: "v145" version: "vs2026" @@ -344,7 +395,16 @@ jobs: - basename: "bs-windows-x64-avx512-shani" configuration: StaticRelease toolchain: msbuild - options: "--enable-avx512 --enable-shani" + options: "--enable-avx512 --enable-shani --enable-avx2 --enable-sse41" + platform: "x64" + toolset: "v145" + version: "vs2026" + image: windows-latest + + - basename: "bs-windows-x64-avx512-avxifma-shani" + configuration: StaticRelease + toolchain: msbuild + options: "--enable-avx512 --enable-avxifma --enable-shani --enable-avx2 --enable-sse41" platform: "x64" toolset: "v145" version: "vs2026" @@ -479,6 +539,12 @@ jobs: with: msbuild-architecture: x64 + - name: Prepare toolchain - nuget cleanup [windows] + if: ${{ startsWith(matrix.image, 'windows') }} + shell: cmd + run: | + nuget locals all -clear + - name: Compute Environmental Variables if: ${{ matrix.toolchain == 'cmake' || matrix.toolchain == 'gnu' || matrix.toolchain == 'presets' }} shell: bash diff --git a/builds/cmake/install-cmake.sh b/builds/cmake/install-cmake.sh index a150bb4b..5755c717 100755 --- a/builds/cmake/install-cmake.sh +++ b/builds/cmake/install-cmake.sh @@ -1022,6 +1022,7 @@ display_build_variables() { msg "BUILD_boost : ${BUILD_boost}" msg "BUILD_secp256k1 : ${BUILD_secp256k1}" + msg "BUILD_LIMIT : ${BUILD_LIMIT}" msg "BUILD_SRC_DIR : ${BUILD_SRC_DIR}" msg "BUILD_OBJ_DIR : ${BUILD_OBJ_DIR}" msg "BUILD_OBJ_DIR_RELATIVE : ${BUILD_OBJ_DIR_RELATIVE}" diff --git a/builds/cmake/install-presets.sh b/builds/cmake/install-presets.sh index a308a11a..5b0e32c7 100755 --- a/builds/cmake/install-presets.sh +++ b/builds/cmake/install-presets.sh @@ -1100,6 +1100,7 @@ display_build_variables() msg "BUILD_boost : ${BUILD_boost}" msg "BUILD_secp256k1 : ${BUILD_secp256k1}" msg "BUILD_PRESET : ${BUILD_PRESET}" + msg "BUILD_LIMIT : ${BUILD_LIMIT}" msg "BUILD_SRC_DIR : ${BUILD_SRC_DIR}" msg "BUILD_OBJ_DIR : ${BUILD_OBJ_DIR}" msg "BUILD_OBJ_DIR_RELATIVE : ${BUILD_OBJ_DIR_RELATIVE}" diff --git a/builds/gnu/install-gnu.sh b/builds/gnu/install-gnu.sh index 7e36541c..71f1012d 100755 --- a/builds/gnu/install-gnu.sh +++ b/builds/gnu/install-gnu.sh @@ -1082,6 +1082,7 @@ display_build_variables() { msg "BUILD_boost : ${BUILD_boost}" msg "BUILD_secp256k1 : ${BUILD_secp256k1}" + msg "BUILD_LIMIT : ${BUILD_LIMIT}" msg "BUILD_SRC_DIR : ${BUILD_SRC_DIR}" msg "BUILD_OBJ_DIR : ${BUILD_OBJ_DIR}" msg "BUILD_OBJ_DIR_RELATIVE : ${BUILD_OBJ_DIR_RELATIVE}"