Skip to content

Commit 8aba364

Browse files
Allow make test_apps to work with ASAN (#6659)
* Allow `make test_apps` to work with ASAN With asan or tsan in the target, there is a space in the OPTIMIZE var, so it needs to be quoted. * tickle buildbots * tickle buildbots * tickle buildbots
1 parent ed3f4a7 commit 8aba364

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -2087,7 +2087,7 @@ build_python_bindings: distrib $(BIN_DIR)/host/runtime.a
20872087
HALIDE_DISTRIB_PATH=$(CURDIR)/$(DISTRIB_DIR) \
20882088
BIN=$(CURDIR)/$(BIN_DIR)/python3_bindings \
20892089
PYTHON=$(PYTHON) \
2090-
OPTIMIZE=$(OPTIMIZE)
2090+
OPTIMIZE="$(OPTIMIZE)"
20912091

20922092
.PHONY: test_python
20932093
test_python: distrib $(BIN_DIR)/host/runtime.a build_python_bindings
@@ -2097,7 +2097,7 @@ test_python: distrib $(BIN_DIR)/host/runtime.a build_python_bindings
20972097
HALIDE_DISTRIB_PATH=$(CURDIR)/$(DISTRIB_DIR) \
20982098
BIN=$(CURDIR)/$(BIN_DIR)/python3_bindings \
20992099
PYTHON=$(PYTHON) \
2100-
OPTIMIZE=$(OPTIMIZE)
2100+
OPTIMIZE="$(OPTIMIZE)"
21012101

21022102
# It's just for compiling the runtime, so earlier clangs *might* work,
21032103
# but best to peg it to the minimum llvm version.

0 commit comments

Comments
 (0)