diff options
| author | Schuyler Eldridge | 2019-02-01 14:52:32 -0500 |
|---|---|---|
| committer | GitHub | 2019-02-01 14:52:32 -0500 |
| commit | 88c4a665ebba54b46b1d72a3d294f9ab27b96bbc (patch) | |
| tree | 75bef5fc596aff3f51c4ebb7ed18bd8be40e7d7e | |
| parent | 6b59614462ae8591db999fef9ba0d451e56d1c24 (diff) | |
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 <schuyler.eldridge@ibm.com>
| -rw-r--r-- | build.sbt | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |
