From e43ea4962e4c6e4515f7bdde7b27244ed17f00bf Mon Sep 17 00:00:00 2001 From: Denis Angell Date: Wed, 25 Jun 2025 09:52:53 +0200 Subject: [PATCH] fix cmake --- build-core.sh | 2 ++ build-full.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build-core.sh b/build-core.sh index 7bb1223db..4d1f481c5 100755 --- a/build-core.sh +++ b/build-core.sh @@ -41,6 +41,8 @@ message(\"WasmEdge DONE\") git checkout src/libxrpl/protocol/BuildInfo.cpp && sed -i s/\"0.0.0\"/\"$(date +%Y).$(date +%-m).$(date +%-d)-$(git rev-parse --abbrev-ref HEAD)+$4\"/g src/libxrpl/protocol/BuildInfo.cpp && cd release-build && +which cmake && +cmake --version && cmake .. -DCMAKE_BUILD_TYPE=Release -DBoost_NO_BOOST_CMAKE=ON -DLLVM_DIR=/usr/lib64/llvm13/lib/cmake/llvm/ -DLLVM_LIBRARY_DIR=/usr/lib64/llvm13/lib/ -DWasmEdge_LIB=/usr/local/lib64/libwasmedge.a && make -j$3 VERBOSE=1 && strip -s rippled && diff --git a/build-full.sh b/build-full.sh index a0c112784..ba9c37113 100644 --- a/build-full.sh +++ b/build-full.sh @@ -97,7 +97,7 @@ echo "-- Install Cmake 3.25.3 --" && pwd && ( wget -nc -q https://github.com/Kitware/CMake/releases/download/v3.25.3/cmake-3.25.3-linux-x86_64.tar.gz; echo "" ) && tar -xzf cmake-3.25.3-linux-x86_64.tar.gz -C /hbb/ && -export PATH="/usr/local/cmake-3.25.3-linux-x86_64/bin:$PATH" && +ln -sf /usr/local/cmake-3.25.0-linux-x86_64/bin/cmake /usr/local/bin/cmake && echo "-- Install Boost 1.86.0 --" && pwd && ( wget -nc -q https://archives.boost.io/release/1.86.0/source/boost_1_86_0.tar.gz; echo "" ) &&