Skip to content

Use clang for linux travis builds - #50

Merged
maxbrunsfeld merged 1 commit into
masterfrom
clang-for-linux-prebuild
Jun 13, 2019
Merged

maxbrunsfeld merged 1 commit into
masterfrom
clang-for-linux-prebuild

Conversation

@maxbrunsfeld

@maxbrunsfeld maxbrunsfeld commented Jun 13, 2019 •

Copy link
Copy Markdown
Contributor

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 with prebuild support. Clang and gcc create binaries with dependencies on two different C++ standard library implementations.

For now, I'm going to switch the node-tree-sitter builds 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

@maxbrunsfeld
maxbrunsfeld merged commit 1948635 into master Jun 13, 2019
@maxbrunsfeld
maxbrunsfeld deleted the clang-for-linux-prebuild branch June 13, 2019 21:53
@nathansobo

Copy link
Copy Markdown
Member

👍

tmiland pushed a commit to atomeditor-io/node-tree-sitter that referenced this pull request Sep 29, 2026
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.

2 participants