Skip to content

Use Julia BinaryBuilder to automate installing the GAMS programs via Yggdrasil vs. downloading manually and adding to PATH? #29

@bdklahn

Description

@bdklahn

Hello! Thanks for supporting Julia!

We purchased the license for some data files which come in gdx format. I wanted to convert to Apache Arrow tables, on the way to provide a more "normalized" form for ad-hoc use in a project.

My thinking was to convert via gdxdump or gdx2sqlite (to maybe preserve any helpful type information).
After manually downloading the linux version, I was able to do that. Then I was going to have a Julia function to set the PATH and use that. But I wondered if a more portable and easy way of getting the code via Julia might be to use Artifacts.toml, via BinaryBuider by contributing a build_tarballs.jl file to Yggdrasil.

The following is a crude minimal starter (GNU/Linux only, right now) I had been working on, when someone pointed out this project and that possibly the GAMS license might not permit this.
https://github.com/bdklahn/Yggdrasil/blob/master/G/GAMS/build_tarballs.jl

So I don't know if it's even possible, in terms of license, but . . .

Could this work by having users first download a license file to a standard location, then the Artifact could be "lazy" installed such that a prompt would show, if the license file was not found or usable?

Thanks for your time and consideration.

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