File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -71,9 +71,10 @@ sql:: sql-deps
7171 (cd hstream-sql/gen-sql && mv HStream/SQL/Lex.x.new HStream/SQL/Lex.x && make)
7272
7373sql-deps ::
74- (cd ~ && command -v bnfc || cabal install BNFC --constraint ' BNFC ^>= 2.9' )
75- (cd ~ && command -v alex || cabal install alex --constraint ' alex ^>= 3.2.7.1' )
76- (cd ~ && command -v happy || cabal install happy)
74+ # Change to a temporary dir to avoid create hstream dists.
75+ (cd $( shell mktemp -d) && command -v bnfc || cabal install BNFC --constraint ' BNFC ^>= 2.9' )
76+ (cd $( shell mktemp -d) && command -v alex || cabal install alex --constraint ' alex ^>= 3.2.7.1' )
77+ (cd $( shell mktemp -d) && command -v happy || cabal install happy)
7778
7879clean :
7980 find ./common -maxdepth 10 -type d \
You can’t perform that action at this time.
0 commit comments