Skip to content

Commit 9cf6b88

Browse files
committed
Also use different build dir for different build env (asan)
1 parent d4f3fb4 commit 9cf6b88

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/include/update/cmake.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
# prints the folder name of the cmake build directory
44
# the format is always the following:
55
#
6-
# build-[sha256sum of cmake flags]
6+
# build-[sha256sum of cmake flags and build env]
77
#
88
get_cmake_build_dir() {
99
local sum
10-
sum="$(printf '%s' "${CFG_CMAKE_FLAGS[*]}" | sha256sum | cut -d' ' -f1)"
10+
sum="$(printf '%s%s' "${CFG_CMAKE_FLAGS[*]}" "$CFG_ENV_BUILD" | sha256sum | cut -d' ' -f1)"
1111
printf 'build-%s' "$sum"
1212
}
1313

0 commit comments

Comments
 (0)