-
Notifications
You must be signed in to change notification settings - Fork 101
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
Allow specifying the dev directory #866
base: master
Are you sure you want to change the base?
Conversation
How about we combine this with Thoughts? |
In my case I am actually setting it to a relative path ( Also, aren't the dev. dir /
Ah, yes indeed. |
Yes, I agree, I was going to offer this counter-argument.
I don't think there is any specific reason apart from convenience. Actually, writing to a temporary directory would make the test for the JLL packages a little bit easier and not polluting the global |
No, no reason not to use a temporary directory. I think the reason it used the I think the
IMO, we should make this as consistent as possible; right now, binaries are always created and are plopped into the current directory, JLLs are created only sometimes, and are plopped into Proposed new flags:
|
Is Also, this is possibly a very silly question: is there also a step where the artifacts get copied from |
Yes, my proposal is that
Hilariously, it's actually the other way around:
This means that everything that is a tarball in your |
I updated the PR to the |
out_path = joinpath(dir, "products") | ||
try mkpath(out_path) catch; end | ||
# Our build products will go into products_dir (usually ./products) | ||
try mkpath(products_dir) catch; end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know you didn't introduce this line, but I don't think we want to wrap mkpath
with a try
/catch
block 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going back in Git blame, it looks like it used to be a very common pattern 3 years ago, but it looks like this is the last remaining relic. I can remove the try ... catch
.
So that you could deploy the jll package to somewhere other than just the the global
~/.julia/dev
directory, by passing--devdir=...
on the command line. Related to #861 in that I find it useful when I work locally.If this looks reasonable, I'd be happy to look into adding tests and docs. Or if you want to steal it for #861, you're also more than welcome 😛