Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed tree-sitter-norg parser builds on MacOS. #1587

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pcekm
Copy link

@pcekm pcekm commented Sep 29, 2024

  • Added use_makefile, which is how nvim-treesitter builds the norg parser by default and which correctly adds the required compiler flags
  • Removed a macOS build kludge that is no longer needed (and seems not to work anymore)
  • Removed branch specification which is ignored when setting revision.

Tested on an Apple silicon machine running macOS 14.7, and an Intel machine running macOS running macOS 13.7.

Fixes nvim-neorg/tree-sitter-norg#45

 - Added use_makefile, which is how nvim-treesitter builds the norg
   parser by default and correctly adds the required flags
 - Removed a MacOS build kludge that is no longer needed (and seems not
   to work anymore)
 - Removed branch specification which is ignored when setting revision.
@satanx016
Copy link

Hey I think you're changes are already covered in this PR

@benlubas
Copy link
Contributor

benlubas commented Oct 5, 2024

#1020 is stalled though, I could see merging this in the meantime.

@wjyoung65
Copy link

FWIW, I got a clean build with this PR on an M3 MacBook running MacOS 15, and also on an x86_64 laptop running Linux Mint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error during compilation
4 participants