Skip to content

Commit 34193da

Browse files
committed
add more env variable for missing cache files.
1 parent f365460 commit 34193da

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

make-msys2-installer

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,11 @@ install_sdkman(){
9494
}
9595

9696
install_spinalhdl(){
97-
export COURSIER_CACHE=${_newmsys}/cache
98-
echo "export COURSIER_CACHE=/cache" >> ${_newmsys}/etc/skel/.bashrc
97+
export COURSIER_CACHE=${_newmsys}/cache/.coursier
98+
echo "export COURSIER_CACHE=/cache/.coursier" >> ${_newmsys}/etc/skel/.bashrc
99+
export SBT_OPTS="-Dsbt.boot.directory=${_newmsys}/cache/.sbt/boot -Dsbt.global.base=${_newmsys}/cache/.sbt/1.0 -Dsbt.ivy.home=${_newmsys}/cache/.ivy2"
100+
echo "export SBT_OPTS=\"-Dsbt.boot.directory=/cache/.sbt/boot -Dsbt.global.base=/cache/.sbt/1.0 -Dsbt.ivy.home=/cache/.ivy2\"" >> ${_newmsys}/etc/skel/.bashrc
101+
99102
git clone https://github.com/SpinalHDL/SpinalWorkshop.git
100103
cd SpinalWorkshop
101104

0 commit comments

Comments
 (0)