inexorgame-obsolete / deprecated-cube-engine-inexor

UNMAINTAINED: Please have a look at the vulkan-renderer
https://inexor.org
zlib License
11 stars 1 forks source link

Nodegit compiles only for very few configurations #515

Closed Fohlen closed 6 years ago

Fohlen commented 6 years ago

Nodegit currently only compiles for https://github.com/nodegit/nodegit/blob/master/.travis.yml This is bad because

Maybe we can do a PR at their repo including

Edit (Croydon): Node.js 6, 7 and 8 are targeted now

MartinMuzatko commented 6 years ago

Maybe I do not understand Docker correctly, but can't we use docker to make the software that depends on nodegit run in an environment where nodegit installs?

Croydon commented 6 years ago

This would require to run flex completely within Docker which adds a complexity which isn't justified for this problem.

They are targetting now Node.js 6, 7 and 8 https://github.com/nodegit/nodegit/commit/b9831415618b84e25ed053a86bbadcd5ae86da78

a-teammate commented 6 years ago

The problem is that nodegit is a native c module The Bindings for native node modules are not ABI stable, which means that with every new version of node, the native module needs to be recompiled. even for minor versions

Croydon commented 6 years ago

https://github.com/nodegit/nodegit/pull/1444

Croydon commented 6 years ago

Done with:

at least for now. This will be an ongoing effort.

Building for different Ubuntu versions shouldn't be required as the (ABI) compatibility should depend only on nodegit/nan/Node.js.

Croydon commented 6 years ago

(Wily is default on Travis)

@Fohlen FYI, with some Travis configurations you still get Ubuntu Precise (12.04) as default, in most configurations you are getting Ubunu Trusty (14.04) right now. Wily is not available.