Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Conditionally disable probe_platform_engines! and probe_symlink_creation #188

Open
peteristhegreat opened this issue Jan 24, 2020 · 0 comments

Comments

@peteristhegreat
Copy link

The functions to disable or bypass are found here:

function probe_platform_engines!(;verbose::Bool = false)

and

function probe_symlink_creation(dest::AbstractString)

Both are noisy when using a precompiled binary version of Julia, a la PackageCompiler. There should be an environment variable or some other flag that could go in the precompile file or a top level global that can suppress these checks for setups where the correct package has already been downloaded and hooked in with BinaryProvider.

On a slim and secure docker container that doesn't have any downloader executables on it intentionally, BinaryProvider crashes when it can't find a binary for wget or curl or similar. Again the use case is a stripped, lightweight julia project that has just enough to run, but no longer needs to download or make new files.

And when deploying to Windows and running as non-admin, the symlink warning should have an override to not be visible, especially if in use with something like PackageCompiler.

Thank you for the excellent package. And keep up the great work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant