Repository navigation
Use clang for linux travis builds - #50
Merged
Merged
Conversation
This was referenced Jun 13, 2019
Member
|
👍 |
tmiland
pushed a commit
to atomeditor-io/node-tree-sitter
that referenced
this pull request
Sep 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Linux binaries that are created on Travis are causing problems for the Atom build. For the last two releases, I've had to delete the prebuilt Linux binaries in order to get the Atom Travis builds to pass.
I think the problem may be that these binaries are compiled with gcc. Atom uses clang, and so does
node-keytar, Atom's other native dependency withprebuildsupport. Clang and gcc create binaries with dependencies on two different C++ standard library implementations.For now, I'm going to switch the
node-tree-sitterbuilds to also use clang on Linux. Hopefully this ends up working for all Linux users. If it ends up breaking people with gcc, we're going to have to just stop using prebuild at all on Linux./cc @wingrunr21 @rafeca @nathansobo