From 1d0b1138c479b5b414362bbce43aebe70ac4eeb5 Mon Sep 17 00:00:00 2001 From: Jiuyang Liu Date: Sat, 7 Nov 2020 08:42:51 +0000 Subject: -full64 is required to detect VCS. (#1930) --- src/main/scala/firrtl/FileUtils.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3