aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorJiuyang Liu2020-11-07 08:42:51 +0000
committerGitHub2020-11-07 08:42:51 +0000
commit1d0b1138c479b5b414362bbce43aebe70ac4eeb5 (patch)
treef7e2a43f436a869fca8fc7c697d5392c739aeb06 /src/main
parent8d765c981063b6e44b4473aba2121217e6466f02 (diff)
-full64 is required to detect VCS. (#1930)
Diffstat (limited to 'src/main')
-rw-r--r--src/main/scala/firrtl/FileUtils.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/scala/firrtl/FileUtils.scala b/src/main/scala/firrtl/FileUtils.scala
index ff997168..2cc2961e 100644
--- a/src/main/scala/firrtl/FileUtils.scala
+++ b/src/main/scala/firrtl/FileUtils.scala
@@ -91,7 +91,8 @@ object FileUtils {
* Instead we try to run the executable itself (with innocuous arguments) and interpret any errors/exceptions
* as an indication that the executable is unavailable.
*/
- lazy val isVCSAvailable: Boolean = isCommandAvailable(Seq("vcs", "-platform"))
+ lazy val isVCSAvailable: Boolean =
+ isCommandAvailable(Seq("vcs", "-platform")) || isCommandAvailable(Seq("vcs", "-full64", "-platform"))
/** Read a text file and return it as a Seq of strings
* Closes the file after read to avoid dangling file handles