ci/scripts/build: allow out-of-tree builds

Specify SNMALLOC_SRC in the environment to override the default of ".." for the
source tree.
This commit is contained in:
Nathaniel Filardo
2021-04-21 15:04:10 +01:00
committed by Nathaniel Wesley Filardo
parent 2f3a5f7974
commit 7b0c38228b

View File

@@ -15,5 +15,5 @@ cmake \
-DSNMALLOC_QEMU_WORKAROUND=ON \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
-DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS" \
..
${SNMALLOC_SRC-..}
ninja