Skip to content

Commit

Permalink
revert(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 62ad811 commit 6a10790
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build-macosx-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,12 @@ 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 LIBFLAG="-bundle -undefined dynamic_lookup -all_load -std=c++11"
luarocks --verbose --local --lua-version=5.1 install tree-sitter-norg
luarocks --verbose pack tree-sitter-norg
- name: Install `tree-sitter-norg-meta` Package
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/build-macosx-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,12 @@ 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 LIBFLAG="-bundle -undefined dynamic_lookup -all_load -std=c++11"
luarocks --verbose --local --lua-version=5.1 install tree-sitter-norg
luarocks --verbose pack tree-sitter-norg
- name: Install `tree-sitter-norg-meta` Package
run: |
Expand Down

0 comments on commit 6a10790

Please sign in to comment.