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

Base.find_source_file fails in out-of-tree builds #21921

Open
mortenpi opened this issue May 17, 2017 · 1 comment
Open

Base.find_source_file fails in out-of-tree builds #21921

mortenpi opened this issue May 17, 2017 · 1 comment

Comments

@mortenpi
Copy link
Contributor

E.g. something like Base.find_source_file("array.jl") would normally return something like /home/mortenpi/Julia/julia-oot-test/usr/bin/../share/julia/base/array.jl, but in an out-of-tree build (no make install) it simply returns a nothing. Should it perhaps still return a path to the original source directory even in that case?

@RalphAS
Copy link

RalphAS commented Oct 12, 2018

Some of the files in base are generated, i.e. are only in the build tree, which complicates things. A fix for this issue is to symlink (or copy where necessary) the content of the distribution base into $BUILDROOT/usr/share/julia/base.

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