From ad62afd9ca28febe112e05a1a19742b40bfdc3a6 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Tue, 23 Feb 2016 12:58:08 -0800 Subject: [PATCH 1/3] Add zscale to regression submodule list --- regression/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/regression/Makefile b/regression/Makefile index 8f630efc..877d944d 100644 --- a/regression/Makefile +++ b/regression/Makefile @@ -76,6 +76,7 @@ stamps/other-submodules.stamp: git -C $(abspath $(TOP)) submodule update --init --recursive rocket git -C $(abspath $(TOP)) submodule update --init --recursive torture git -C $(abspath $(TOP)) submodule update --init --recursive uncore + git -C $(abspath $(TOP)) submodule update --init --recursive zscale date > $@ $(RISCV)/install.stamp: From c263c636b375f9e7607144286c41fea4bcff6bff Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Tue, 23 Feb 2016 16:05:27 -0800 Subject: [PATCH 2/3] Actually reference all the tests from RISCV --- src/main/scala/Testing.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/Testing.scala b/src/main/scala/Testing.scala index cc2df3c4..8a0d33d0 100644 --- a/src/main/scala/Testing.scala +++ b/src/main/scala/Testing.scala @@ -49,7 +49,7 @@ run-$makeTargetName-debug: $$(addprefix $$(output_dir)/, $$(addsuffix .vpd, $$($ } class AssemblyTestSuite(makePrefix: String, toolsPrefix: String, val names: LinkedHashSet[String])(envName: String) extends RocketTestSuite { - val dir = "$(base_dir)/riscv-tools/riscv-tests/isa" + val dir = "$(RISCV)/riscv64-unknown-elf/share/riscv-tests/isa" val makeTargetName = makePrefix + "-" + envName + "-asm-tests" override def toString = s"$makeTargetName = \\\n" + names.map(n => s"\t$toolsPrefix-$envName-$n").mkString(" \\\n") + postScript } From 58d6af207fef348078522f10ff7d3e24b72da0f7 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Tue, 23 Feb 2016 16:47:48 -0800 Subject: [PATCH 3/3] Cache all the Scala build directories I hope this will result in Travis building our stuff a lot faster, since this currently takes about half the time. --- .travis.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.travis.yml b/.travis.yml index 493238da..eabe540a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,17 @@ cache: directories: $HOME/.ivy2 regression/install + chisel/target + context-dependent-environments/target + groundtest/target + hardfloat/target + junctions/target + project/project/target + project/target + rocket/target + target + uncore/target + zscale/target # packages needed to build riscv-tools addons: