File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,15 @@ patches: [
1313 "gccstd-2a.patch" { (os-family = "opensuse" | os-family = "suse") | (os-distribution = "ubuntu" & os-version <= "20.04") }
1414]
1515build: [
16- [ "export" "PATH=/usr/local/opt/llvm/bin:$PATH"] {os-distribution = "homebrew"}
17- [ "export" "LDFLAGS=-L/usr/local/opt/llvm/lib"] {os-distribution = "homebrew"}
18- [ "export" "CPPFLAGS=-I/usr/local/opt/llvm/include"] {os-distribution = "homebrew"}
19- [ "python3" "scripts/mk_make.py" "--ml" ]
20- [ make "-C" "build" "-j" jobs ]
16+ [ "python3" "scripts/mk_make.py" "--ml" ] {os-distribution <> "homebrew"}
17+ [ make "-C" "build" "-j" jobs ] {os-distribution <> "homebrew"}
18+ [ "sh" "-c" """#!/bin/sh
19+ PATH=/usr/local/opt/llvm/bin:$PATH
20+ LDFLAGS=\"-L/usr/local/opt/llvm/lib $LDFLAGS\"
21+ CPPFLAGS=\"-I/usr/local/opt/llvm/include $CPPFLAGS\"
22+ python3 scripts/mk_make.py --ml
23+ make -C build
24+ """] {os-distribution = "homebrew"}
2125]
2226
2327install: [
You can’t perform that action at this time.
0 commit comments