Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.02 KB

README.md

File metadata and controls

23 lines (19 loc) · 1.02 KB

BinaryWrappers

Build Status

This package provides a scratchspace with wrappers for the binaries and scripts from JLL packages like lib4ti2_jll. The wrappers allow non-julia code (like in polymake_jll or Singular_jll) to execute those directly without having to adjust LIBPATH environment variables.

Usage

The wrapper generation should be triggered during precompilation with

    using BinaryWrappers
    const lib4ti2_binpath = @generate_wrappers(lib4ti2_jll)

and the corresponding path might be used in __init__() as follows:

    ENV["PATH"] = lib4ti2_binpath * ":" * ENV["PATH"]

Warnings

  • Only Linux and macOS are supported.
  • This was primarily written to provide wrappers for lib4ti2_jll which comes with a bunch of shell scripts that need special care, but it might work for other JLL packages as well.