File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ set -o pipefail
18
18
19
19
MONOREPO_ROOT=" ${MONOREPO_ROOT:= " $( git rev-parse --show-toplevel) " } "
20
20
BUILD_DIR=" ${BUILD_DIR:= ${MONOREPO_ROOT} / build} "
21
- rm -rf ${BUILD_DIR}
21
+ rm -rf " ${BUILD_DIR} "
22
22
23
23
ccache --zero-stats
24
24
@@ -37,8 +37,8 @@ projects="${1}"
37
37
targets=" ${2} "
38
38
39
39
echo " --- cmake"
40
- pip install -q -r ${MONOREPO_ROOT} /mlir/python/requirements.txt
41
- cmake -S ${MONOREPO_ROOT} /llvm -B ${BUILD_DIR} \
40
+ pip install -q -r " ${MONOREPO_ROOT} " /mlir/python/requirements.txt
41
+ cmake -S " ${MONOREPO_ROOT} " /llvm -B " ${BUILD_DIR} " \
42
42
-D LLVM_ENABLE_PROJECTS=" ${projects} " \
43
43
-G Ninja \
44
44
-D CMAKE_BUILD_TYPE=Release \
@@ -54,4 +54,4 @@ cmake -S ${MONOREPO_ROOT}/llvm -B ${BUILD_DIR} \
54
54
55
55
echo " --- ninja"
56
56
# Targets are not escaped as they are passed as separate arguments.
57
- ninja -C " ${BUILD_DIR} " -k 0 ${targets}
57
+ ninja -C " ${BUILD_DIR} " -k 0 " ${targets} "
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ set -o pipefail
19
19
MONOREPO_ROOT=" ${MONOREPO_ROOT:= " $( git rev-parse --show-toplevel) " } "
20
20
BUILD_DIR=" ${BUILD_DIR:= ${MONOREPO_ROOT} / build} "
21
21
22
- rm -rf ${BUILD_DIR}
22
+ rm -rf " ${BUILD_DIR} "
23
23
24
24
if [[ -n " ${CLEAR_CACHE:- } " ]]; then
25
25
echo " clearing sccache"
@@ -37,14 +37,14 @@ projects="${1}"
37
37
targets=" ${2} "
38
38
39
39
echo " --- cmake"
40
- pip install -q -r ${MONOREPO_ROOT} /mlir/python/requirements.txt
40
+ pip install -q -r " ${MONOREPO_ROOT} " /mlir/python/requirements.txt
41
41
42
42
# The CMAKE_*_LINKER_FLAGS to disable the manifest come from research
43
43
# on fixing a build reliability issue on the build server, please
44
44
# see https://github.com/llvm/llvm-project/pull/82393 and
45
45
# https://discourse.llvm.org/t/rfc-future-of-windows-pre-commit-ci/76840/40
46
46
# for further information.
47
- cmake -S ${MONOREPO_ROOT} /llvm -B ${BUILD_DIR} \
47
+ cmake -S " ${MONOREPO_ROOT} " /llvm -B " ${BUILD_DIR} " \
48
48
-D LLVM_ENABLE_PROJECTS=" ${projects} " \
49
49
-G Ninja \
50
50
-D CMAKE_BUILD_TYPE=Release \
@@ -62,4 +62,4 @@ cmake -S ${MONOREPO_ROOT}/llvm -B ${BUILD_DIR} \
62
62
63
63
echo " --- ninja"
64
64
# Targets are not escaped as they are passed as separate arguments.
65
- ninja -C " ${BUILD_DIR} " -k 0 ${targets}
65
+ ninja -C " ${BUILD_DIR} " -k 0 " ${targets} "
You can’t perform that action at this time.
0 commit comments