Skip to content

Conversation

@cschanaj
Copy link
Contributor

@cschanaj cschanaj commented Aug 8, 2021

Move to GCC 9 to build on Travis (it is the default GCC version bundled with the LTS version of Ubuntu 20.04).

This resolves the error from the Travis log https://app.travis-ci.com/github/TulipCharts/tulipnode/jobs/529812363#L330 as the command is not available before g++ version 4.9 .

g++-4.8: error: unrecognized command line option ‘-std=gnu++14’

References:
nodejs/node#37935
https://stackoverflow.com/questions/39871129/c-error-unrecognized-command-line-option-std-gnu14

@codeplea codeplea merged commit b47171f into TulipCharts:master Aug 8, 2021
@cschanaj cschanaj deleted the travis-switch-to-modern-compiler branch August 9, 2021 11:16
@cschanaj
Copy link
Contributor Author

cschanaj commented Aug 9, 2021

@codeplea would you consider to publish the binary again?

@codeplea
Copy link
Member

codeplea commented Aug 9, 2021

Yeah, I can do that.

Why do you need it though? Are the current binaries not compatible? Or do you just need one of the 2 that didn't compile before? I'm trying to better understand the use-case.

@cschanaj
Copy link
Contributor Author

cschanaj commented Aug 9, 2021

The project I am working on need to work on both the active LTS (v14) and next active LTS (v16) Node version. It can help to reduce the compilation time needed for CI if prebuilt binary are available. As v16 is going to enter the active LTS on 2021-10-26, it is something nice but not urgent to have.

@codeplea
Copy link
Member

codeplea commented Aug 9, 2021

Here you go: https://travis-ci.com/github/TulipCharts/tulipnode/builds/234895143

@cschanaj
Copy link
Contributor Author

cschanaj commented Aug 9, 2021

thank you!

deman4ik pushed a commit to deman4ik/tulipnode that referenced this pull request Oct 5, 2021
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