From 88c4a665ebba54b46b1d72a3d294f9ab27b96bbc Mon Sep 17 00:00:00 2001 From: Schuyler Eldridge Date: Fri, 1 Feb 2019 14:52:32 -0500 Subject: Fork all sbt test and run tasks (#1002) This avoids an apparent problem somewhere in sbt and/or scalatest where the JVM runs out of metaspace if you repeatedly run tasks. This is an annoyance for FIRRTL developers or users that keep an sbt session open. This kludges around that by forking all tasks into a separate JVM. Signed-off-by: Schuyler Eldridge --- build.sbt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.sbt b/build.sbt index 0f387275..216ecd19 100644 --- a/build.sbt +++ b/build.sbt @@ -161,3 +161,6 @@ scalacOptions in Compile in doc ++= Seq( "-doc-title", name.value, "-doc-root-content", baseDirectory.value+"/root-doc.txt" ) ++ scalacOptionsVersion(scalaVersion.value) + +fork := true +Test / testForkedParallel := true -- cgit v1.2.3