Merge pull request #422 from dicej/clean

expand clean target and disable jdk tests when alternative arch specified
This commit is contained in:
Joshua Warner 2015-03-16 08:59:37 -06:00
commit 8b20e89a3d
2 changed files with 6 additions and 5 deletions

View File

@ -1623,8 +1623,9 @@ jdk-test: $(test-dep) $(build)/classpath.jar $(build)/jdk-run-tests.sh $(build)/
tarball:
@echo "creating build/avian-$(version).tar.bz2"
@mkdir -p build
(cd .. && tar --exclude=build --exclude='.*' --exclude='*~' -cjf \
avian/build/avian-$(version).tar.bz2 avian)
(cd .. && tar --exclude=build --exclude=cmake-build --exclude=distrib \
--exclude='.*' --exclude='*~' \
-cjf avian/build/avian-$(version).tar.bz2 avian)
.PHONY: clean-current
clean-current:
@ -1634,7 +1635,7 @@ clean-current:
.PHONY: clean
clean:
@echo "removing build"
rm -rf build
rm -rf build cmake-build distrib
ifeq ($(continuations),true)
$(build)/compile-x86-asm.o: $(src)/continuations-x86.$(asm-format)

View File

@ -86,7 +86,7 @@ else
make_target=test
run make jdk-test
(! has_flag arch) && run make ${flags} jdk-test
run make ${flags} ${make_target}
run make ${flags} mode=debug ${make_target}
run make ${flags} process=interpret ${make_target}
@ -95,7 +95,7 @@ else
run make ${flags} mode=debug bootimage=true ${make_target} && \
run make ${flags} bootimage=true ${make_target}
(! has_flag openjdk && ! has_flag android) && \
(! has_flag openjdk && ! has_flag android && ! has_flag arch) && \
run make ${flags} openjdk=$JAVA_HOME ${make_target}
run make ${flags} tails=true continuations=true heapdump=true ${make_target}