Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with Julia forking #54

Closed
fingolfin opened this issue Oct 9, 2018 · 2 comments
Closed

Issues with Julia forking #54

fingolfin opened this issue Oct 9, 2018 · 2 comments

Comments

@fingolfin
Copy link
Member

Right now, JuliaInterface contains this hack in JuliaImportPackage:

        #Try to compile package by loading it into external Julia
        #Get Julia path
        julia_path := ConvertedFromJulia( JuliaEvalString( "Sys.BINDIR" ) );
        Exec( Concatenation( julia_path, "/../bin/julia -e \"", callstring,
                  "\"" ) );

The reason for this (as I just learned from @sebasguts ) is that otherwise, Julia tries to compile the given package itself, which requires a fork; but that fails with some error (apparently in libuv)

For now, this workaround is good enough, but it'd be useful to figure out what exactly the problem is, and how to fix it properly.

@sebasguts
Copy link
Contributor

This bug seems to be gone. I think we could savely remove this whole Exec stuff. This also applies to #38

sebasguts added a commit to sebasguts/GAP.jl that referenced this issue Oct 9, 2018
since precompilation now works in 1.0. Closes oscar-system#38,oscar-system#54
fingolfin pushed a commit that referenced this issue Oct 9, 2018
since precompilation now works in 1.0. Closes #38,#54
@fingolfin
Copy link
Member Author

Resolved by PR #55

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

No branches or pull requests

2 participants