mapbox / windows-builds

DEPRECATED! build scripts for mapnik dependencies, mapnik, node-mapnik, node, libosmiom, osmium-tool
38 stars 22 forks source link

Building versions and arches for node-mapnik #9

Closed springmeyer closed 9 years ago

springmeyer commented 9 years ago

Instead of nodist we instead can do, for example, to build against 32 bit node v0.10.x:

node-pre-gyp build|publish|etc --target_arch=ia32 --target=0.10.32

Without nodist (or some way of actually running different node versions) we can't test then of course, but if we assume the binaries will work then this way is faster and easier to push out the variety of binaries needed.

wilhelmberg commented 9 years ago

Oh, somehow I missed that this possible with node-pre-gyp.

Maybe we create two build_node_mapnik.bat?. One with nodist to include testing (local) and one for faster publishing (AppVeyor).

What do you think?

springmeyer commented 9 years ago

Being able to test the binaries is great so let's stick with current approach for now. But just wanted to let you know this could be done!