Skip to content

Commit f712cf0

Browse files
authored
fix ci (#1282)
1 parent 0dff0fb commit f712cf0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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

7373
sql-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

7879
clean:
7980
find ./common -maxdepth 10 -type d \

0 commit comments

Comments
 (0)