diff --git a/scripts/build.hwloc.sh b/scripts/build.hwloc.sh index 022f67fe2..cae766986 100755 --- a/scripts/build.hwloc.sh +++ b/scripts/build.hwloc.sh @@ -1,6 +1,10 @@ #!/bin/bash -e -HWLOC_VERSION="2.5.0" +HWLOC_VERSION_MAJOR="2" +HWLOC_VERSION_MINOR="7" +HWLOC_VERSION_PATCH="0" + +HWLOC_VERSION="${HWLOC_VERSION_MAJOR}.${HWLOC_VERSION_MINOR}.${HWLOC_VERSION_PATCH}" mkdir -p deps mkdir -p deps/include @@ -8,7 +12,7 @@ mkdir -p deps/lib mkdir -p build && cd build -wget https://download.open-mpi.org/release/hwloc/v2.5/hwloc-${HWLOC_VERSION}.tar.gz -O hwloc-${HWLOC_VERSION}.tar.gz +wget https://download.open-mpi.org/release/hwloc/v${HWLOC_VERSION_MAJOR}.${HWLOC_VERSION_MINOR}/hwloc-${HWLOC_VERSION}.tar.gz -O hwloc-${HWLOC_VERSION}.tar.gz tar -xzf hwloc-${HWLOC_VERSION}.tar.gz cd hwloc-${HWLOC_VERSION} @@ -16,4 +20,4 @@ cd hwloc-${HWLOC_VERSION} make -j$(nproc || sysctl -n hw.ncpu || sysctl -n hw.logicalcpu) cp -fr include ../../deps cp hwloc/.libs/libhwloc.a ../../deps/lib -cd .. \ No newline at end of file +cd .. diff --git a/scripts/build.libressl.sh b/scripts/build.libressl.sh index e7495233a..236d4d335 100755 --- a/scripts/build.libressl.sh +++ b/scripts/build.libressl.sh @@ -1,6 +1,6 @@ #!/bin/bash -e -LIBRESSL_VERSION="3.0.2" +LIBRESSL_VERSION="3.4.2" mkdir -p deps mkdir -p deps/include @@ -17,4 +17,4 @@ make -j$(nproc || sysctl -n hw.ncpu || sysctl -n hw.logicalcpu) cp -fr include ../../deps cp crypto/.libs/libcrypto.a ../../deps/lib cp ssl/.libs/libssl.a ../../deps/lib -cd .. \ No newline at end of file +cd .. diff --git a/scripts/build.openssl.sh b/scripts/build.openssl.sh index 580557d64..1aba67dac 100755 --- a/scripts/build.openssl.sh +++ b/scripts/build.openssl.sh @@ -1,6 +1,6 @@ #!/bin/bash -e -OPENSSL_VERSION="1.1.1l" +OPENSSL_VERSION="1.1.1m" mkdir -p deps mkdir -p deps/include diff --git a/scripts/build.openssl3.sh b/scripts/build.openssl3.sh new file mode 100755 index 000000000..935196109 --- /dev/null +++ b/scripts/build.openssl3.sh @@ -0,0 +1,20 @@ +#!/bin/bash -e + +OPENSSL_VERSION="3.0.1" + +mkdir -p deps +mkdir -p deps/include +mkdir -p deps/lib + +mkdir -p build && cd build + +wget https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz -O openssl-${OPENSSL_VERSION}.tar.gz +tar -xzf openssl-${OPENSSL_VERSION}.tar.gz + +cd openssl-${OPENSSL_VERSION} +./config -no-shared -no-asm -no-zlib -no-comp -no-dgram -no-filenames -no-cms +make -j$(nproc || sysctl -n hw.ncpu || sysctl -n hw.logicalcpu) +cp -fr include ../../deps +cp libcrypto.a ../../deps/lib +cp libssl.a ../../deps/lib +cd .. diff --git a/scripts/build.uv.sh b/scripts/build.uv.sh index 6179b2d20..8124759d0 100755 --- a/scripts/build.uv.sh +++ b/scripts/build.uv.sh @@ -1,6 +1,6 @@ #!/bin/bash -e -UV_VERSION="1.42.0" +UV_VERSION="1.43.0" mkdir -p deps mkdir -p deps/include @@ -17,4 +17,4 @@ sh autogen.sh make -j$(nproc || sysctl -n hw.ncpu || sysctl -n hw.logicalcpu) cp -fr include ../../deps cp .libs/libuv.a ../../deps/lib -cd .. \ No newline at end of file +cd ..