Skip to content

Commit

Permalink
[Makefile] Remove redundant test dataset rule.
Browse files Browse the repository at this point in the history
We no longer require running compiler_gym.bin.datasets to download a
dataset for testing.

Issue facebookresearch#45.
  • Loading branch information
ChrisCummins authored and bwasti committed Aug 3, 2021
1 parent 87f02b5 commit b7c36be
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,7 @@ test:
itest:
$(IBAZEL) $(BAZEL_OPTS) test $(BAZEL_TEST_OPTS) //...

install-test-datasets:
cd .. && $(PYTHON) -m compiler_gym.bin.datasets --env=llvm-v0 --download=cBench-v1 >/dev/null

install-test: install-test-datasets
install-test:
mkdir -p /tmp/compiler_gym/wheel_tests
rm -f /tmp/compiler_gym/wheel_tests/tests /tmp/compiler_gym/wheel_tests/tox.ini
ln -s $(ROOT)/tests /tmp/compiler_gym/wheel_tests
Expand All @@ -229,7 +226,7 @@ install-test: install-test-datasets
# this at the commandline, e.g. `FUZZ_SECONDS=1800 make fuzz`.
FUZZ_SECONDS ?= 300

install-fuzz: install-test-datasets
install-fuzz:
mkdir -p /tmp/compiler_gym/wheel_fuzz_tests
rm -f /tmp/compiler_gym/wheel_fuzz_tests/tests
ln -s $(ROOT)/tests /tmp/compiler_gym/wheel_fuzz_tests
Expand Down

0 comments on commit b7c36be

Please sign in to comment.