Add CentOS 7 + Devtoolset 7 image#8
Conversation
|
To be sure: the binaries are forward compatible as well, right? So they can replace the ones we currently build on Travis Ubuntu. |
yep, like magic. The RHEL folks put in a ton of work to make the devtoolsets work on their older base systems (libc mainly), which involves shipping a delta library that contains the new stuff that can be statically linked in where it's used. We use this method for building Node binary releases. Of course it would be worth producing a test prebuild if possible to have complete confidence in it. |
* Remove prebuild settings from standard "linux" job * Add centos7 job with prebuild settings * Add centos7-devtoolset7 docker image prebuild script Ref: prebuild/docker-images#8
* Remove prebuild settings from standard "linux" job * Add centos7 job with prebuild settings * Add centos7-devtoolset7 docker image prebuild script Ref: prebuild/docker-images#8 Ref: #672
vweevers
left a comment
There was a problem hiding this comment.
LGTM! I'll add it to Docker Hub, and do some tests, later this week.
|
@rvagg Invited you to prebuild org. Join if you like 😄 |
|
Added to Docker Hub, it's building now. |
|
Build completed. But it seems |
|
After
Symbols: Click to expand |
|
Also works in Debian 8! At least when tested with: As well as on Node.js 13 (using a nightly build from a few days ago, same one I used to test the current |
|
Awesome, that means it'll even run on Ubuntu 14.04 (I'm ashamed to say I still maintain a 14.04 system), RHEL 7, and of course CentOS 7. So, all major still-supported Linux distro versions are supported by these binaries. |
|
Agree, see #1. AFAIK there are no other consumers yet. That can change if we invest some time in documentation (and perhaps additional tooling) for native addon authors. The platform support of leveldown is quite good and its setup can serve as an inspiration, ultimately benefiting end users. |
* Remove prebuild settings from standard "linux" job * Add centos7 job with prebuild settings * Add centos7-devtoolset7 docker image prebuild script Ref: prebuild/docker-images#8 Ref: #672
|
Some docs now available here: https://github.com/prebuild/prebuildify-cross#images. I'll move that to |
Ref: Level/leveldown#672
The neat thing about this is that you get to compile with gcc 7 but glibc 2.17, so binaries are compatible for Ubuntu 14.04 and Debian 8.