Skip to content

Commit

Permalink
Switch to clang in minideb
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilsa committed Oct 10, 2024
1 parent 4f3495c commit 71e6269
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion housekeeping/docker/kagome-dev/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ kagome_dev_docker_build:
source /venv/bin/activate && \
git submodule update --init && \
echo \"Building in $$(pwd)\" && \
cmake . -B\"$(BUILD_DIR)\" -G 'Unix Makefiles' -DCMAKE_TOOLCHAIN_FILE=/opt/kagome/cmake/toolchain/gcc-13_cxx20.cmake -DCMAKE_BUILD_TYPE=\"$(BUILD_TYPE)\" -DBACKWARD=OFF -DWERROR=$(WERROR) && \
cmake . -B\"$(BUILD_DIR)\" -G 'Unix Makefiles' -DCMAKE_TOOLCHAIN_FILE=/opt/kagome/cmake/toolchain/clang-16_mold_cxx20.cmake -DCMAKE_BUILD_TYPE=\"$(BUILD_TYPE)\" -DBACKWARD=OFF -DWERROR=$(WERROR) && \
cmake --build \"$(BUILD_DIR)\" --target kagome -- -j${BUILD_THREADS} && \
mkdir -p /tmp/kagome && \
cp /opt/kagome/$(BUILD_DIR)/node/kagome /tmp/kagome/kagome && \
Expand Down
2 changes: 1 addition & 1 deletion housekeeping/docker/kagome-dev/make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ git submodule update --init
cd "$(dirname $0)/../../.."
echo "Building in $(pwd)"

cmake . -B"${BUILD_DIR}" -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE= "${BUILD_TYPE}" -DBACKWARD=OFF -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/gcc-13_cxx20.cmake
cmake . -B"${BUILD_DIR}" -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE= "${BUILD_TYPE}" -DBACKWARD=OFF -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/clang-16_mold_cxx20.cmake
cmake --build "${BUILD_DIR}" --target kagome -- -j${BUILD_THREADS}

0 comments on commit 71e6269

Please sign in to comment.