Skip to content

Windows Binaries Path #756

@flippmoke

Description

@flippmoke

Currently, the path for windows binaries seems to vary at times in ways that I did not expect. Depending on the settings at times it seems that the requested could be:

https://mapbox-node-binary.s3.amazonaws.com/mapnik/v3.6.0/node-v11-win32-x64-Releasev140.tar.gz

or

https://mapbox-node-binary.s3.amazonaws.com/mapnik/v3.6.0/node-v11-win32-x64-Release.tar.gz

I have not "nailed down" why this is happening, but notice the v140 that appears on the end. Currently our build system seems to be adding v140 on the end, however, some client requests do not seem to be requesting this path.

In our package.json this is set by the following line:

"package_name": "{node_abi}-{platform}-{arch}-{configuration}{toolset}.tar.gz"

Therefore, it seems that sometimes we are having a toolset set and other times we are not. In order to support both, I have simply copied on s3 our binaries so that we have both filepaths. I am not sure this is optimal or even correct.

/cc @springmeyer @BergWerkGIS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions