Skip to content

Commit

Permalink
chore(macos): pass LIBFLAG to luarocks install command
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Apr 15, 2024
1 parent 66ae77e commit f4f145f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build-macosx-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,9 @@ jobs:
run: |
luarocks --verbose --local --lua-version=5.1 install tree-sitter-orgmode
luarocks --verbose pack tree-sitter-orgmode
- name: "[HACK]: Set default compiler flags for MacOS systems"
run: |
luarocks config --lua-version=5.1 --scope=system -- variables.LIBFLAG "-bundle -undefined dynamic_lookup -all_load -std=c++11"
- name: Install `tree-sitter-norg` Package
run: |
luarocks --verbose --local --lua-version=5.1 install tree-sitter-norg
luarocks --verbose --local --lua-version=5.1 install tree-sitter-norg LIBFLAG="-bundle -undefined dynamic_lookup -all_load -std=c++11"
luarocks --verbose pack tree-sitter-norg
- name: Install `tree-sitter-norg-meta` Package
run: |
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/build-macosx-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,9 @@ jobs:
run: |
luarocks --verbose --local --lua-version=5.1 install tree-sitter-orgmode
luarocks --verbose pack tree-sitter-orgmode
- name: "[HACK]: Set default compiler flags for MacOS systems"
run: |
luarocks config --lua-version=5.1 --scope=system -- variables.LIBFLAG "-bundle -undefined dynamic_lookup -all_load -std=c++11"
- name: Install `tree-sitter-norg` Package
run: |
luarocks --verbose --local --lua-version=5.1 install tree-sitter-norg
luarocks --verbose --local --lua-version=5.1 install tree-sitter-norg LIBFLAG="-bundle -undefined dynamic_lookup -all_load -std=c++11"
luarocks --verbose pack tree-sitter-norg
- name: Install `tree-sitter-norg-meta` Package
run: |
Expand Down

0 comments on commit f4f145f

Please sign in to comment.