-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a `make tools` to build associated tooling. Namely, just litmus-toml-translator for now. Also adds a `translate-toml-tests` target to run the translator over the litmus-tests-armv8a-system-vmsa repo to produce generated versions of all the tests.
- Loading branch information
Showing
4 changed files
with
71 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
.PHONY: deepclean | ||
deepclean: clean cleanlibs cleantests | ||
deepclean: clean cleanlibs cleantests cleantools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.PHONY: cleantools | ||
|
||
TOOLS_DIR = tools/ | ||
|
||
TOML_TRANSLATOR_ROOT = ./tools/litmus-toml-translator | ||
TOML_TRANSLATOR = $(TOML_TRANSLATOR_ROOT)/target/release/litmus-toml-translator | ||
|
||
$(TOML_TRANSLATOR): | ||
$(call run_cmd,CARGO,tools/litmus-toml-translator,cd tools/litmus-toml-translator && cargo build --profile=release) | ||
TOOLS += $(TOML_TRANSLATOR) | ||
.PHONY: $(TOML_TRANSLATOR) | ||
|
||
cleantools: | ||
$(call run_cmd,CLEAN,tools/litmus-toml-translator,cd tools/litmus-toml-translator && cargo clean) | ||
|
||
tools: $(TOOLS) |