hwacha depends on esp-tools | support java args

This commit is contained in:
abejgonzalez
2019-05-13 17:17:32 -07:00
parent 59acd688e6
commit deccae4959
2 changed files with 10 additions and 3 deletions

View File

@@ -439,7 +439,8 @@ workflows:
- prepare-hwacha-verilog-only:
requires:
- install-riscv-toolchain
- install-riscv-toolchain # TODO: Remove when esp-tools is used
- install-esp-toolchain
- install-verilator
# Run the respective tests
@@ -467,5 +468,6 @@ workflows:
# - hwacha-run-benchmark-tests:
# requires:
# - install-riscv-toolchain
# - install-riscv-toolchain # TODO: Remove when esp-tools is used
# - install-esp-toolchain
# - prepare-hwacha

View File

@@ -122,13 +122,18 @@ sim_dotf ?= $(build_dir)/sim_files.f
sim_harness_blackboxes ?= $(build_dir)/firrtl_black_box_resource_files.harness.f
sim_top_blackboxes ?= $(build_dir)/firrtl_black_box_resource_files.top.f
#########################################################################################
# java arguments used in sbt
#########################################################################################
JAVA_ARGS ?= -Xmx8G -Xss8M -XX:MaxPermSize=256M
#########################################################################################
# default sbt launch command
#########################################################################################
SCALA_VERSION=2.12.4
SCALA_VERSION_MAJOR=$(basename $(SCALA_VERSION))
SBT ?= java -Xmx2G -Xss8M -XX:MaxPermSize=256M -jar $(ROCKETCHIP_DIR)/sbt-launch.jar ++$(SCALA_VERSION)
SBT ?= java $(JAVA_ARGS) -jar $(ROCKETCHIP_DIR)/sbt-launch.jar ++$(SCALA_VERSION)
#########################################################################################
# output directory for tests