Skip to content

Commit d0ce14a

Browse files
authored
Merge pull request #1251 from ucb-bar/javasbt
Revert to using sbt-launch.jar to run SBT
2 parents 537bce8 + 4beaad2 commit d0ce14a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

variables.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ SBT_CLIENT_FLAG = --client
192192
endif
193193

194194
# passes $(JAVA_TOOL_OPTIONS) from env to java
195-
SBT_BIN ?= sbt
195+
# Use java -jar approach by default so that SBT thin-client sees the JAVA flags
196+
# Workaround for behavior reported here: https://github.com/sbt/sbt/issues/6468
197+
SBT_BIN ?= java -jar $(ROCKETCHIP_DIR)/sbt-launch.jar
196198
SBT = $(SBT_BIN) $(SBT_CLIENT_FLAG)
197199
SBT_NON_THIN = $(subst $(SBT_CLIENT_FLAG),,$(SBT))
198200

0 commit comments

Comments
 (0)