File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
CONFIGURATION ?= debug
2
+ SWIFT_BUILD_FLAGS ?=
2
3
3
4
FORCE :
4
5
TestSuites/.build/$(CONFIGURATION ) /% .wasm : FORCE
5
6
swift build --package-path TestSuites \
6
7
--product $(basename $(notdir $@ ) ) \
7
8
--triple wasm32-unknown-wasi \
8
- --configuration $(CONFIGURATION )
9
+ --configuration $(CONFIGURATION ) \
10
+ $(SWIFT_BUILD_FLAGS )
9
11
10
12
dist/% .wasm : TestSuites/.build/$(CONFIGURATION ) /% .wasm
11
13
mkdir -p dist
Original file line number Diff line number Diff line change 14
14
test :
15
15
cd IntegrationTests && \
16
16
CONFIGURATION=debug make test && \
17
- CONFIGURATION=release make test
17
+ CONFIGURATION=debug SWIFT_BUILD_FLAGS=" -Xswiftc -DJAVASCRIPTKIT_WITHOUT_WEAKREFS" make test && \
18
+ CONFIGURATION=release make test && \
19
+ CONFIGURATION=release SWIFT_BUILD_FLAGS=" -Xswiftc -DJAVASCRIPTKIT_WITHOUT_WEAKREFS" make test
18
20
19
21
.PHONY : benchmark_setup
20
22
benchmark_setup :
You can’t perform that action at this time.
0 commit comments