Comments (8)
Happy to add it on this end, if someone figures out what exact Julia expression we should run.
Also, just FYI: at the moment we can't release new builds to everyone because we are in the middle of changing the code signing for Windows. Or rather, I switched everything over already, but then it turned out that the new cert is not the right one, so we now have to wait until this is resolved...
from juliaup.
Maybe:
julia --startup-file=no -e 'import Base64; foreach(p -> @eval(import $(Symbol(p))), readdir(pkgdir(Base64, "..")))'
Base64 isn't special here, just a zero dep stdlib to find the stdlib source directory.
Probably only worth doing this on 1.10+ where stdlibs can have pkgimages.
from juliaup.
In terms of timing, on my M2 macbook on a reasonable internet connection this would add 16s to install time.
(I see Statistics
and its ext is getting precompiled, which it shouldn't.. so that's a julia bug to fix)
% time julia +nightly --startup-file=no -e 'import Base64; foreach(p -> @eval(import $(Symbol(p))), readdir(pkgdir(Base64, "..")))'
Precompiling Statistics...
1 dependency successfully precompiled in 1 seconds
Precompiling SparseArraysExt...
1 dependency successfully precompiled in 1 seconds. 4 already precompiled.
julia +nightly --startup-file=no -e 2.88s user 1.38s system 25% cpu 16.538 total
% time julia +nightly --startup-file=no -e 'import Base64; foreach(p -> @eval(import $(Symbol(p))), readdir(pkgdir(Base64, "..")))'
julia +nightly --startup-file=no -e 1.36s user 0.84s system 223% cpu 0.985 total
Personally I think that's quite excessive, and I would've thought it would be worse for a Windows user?
from juliaup.
We don't have to wait into it finished, right? I could just launch a detached process that runs that and forget about it?
from juliaup.
True
from juliaup.
The Statistics issue above was because of a custom Statistics version being reachable in my default env. So we need to
JULIA_LOAD_PATH=@stdlib julia +nightly --startup-file=no -e 'import Base64; foreach(p -> @eval(import $(Symbol(p))), readdir(pkgdir(Base64, "..")))'
from juliaup.
From a little testing this is more robust
JULIA_LOAD_PATH=@stdlib julia +nightly --startup-file=no -e 'foreach(p -> @eval(import $(Symbol(p))), filter!(x -> isfile(joinpath(Sys.STDLIB, x, "src", "$(x).jl")), readdir(Sys.STDLIB)))'
from juliaup.
@davidanthoff can we get this in before the final 1.11 rc so that we can test it in the wild?
from juliaup.
Related Issues (20)
- Warn user and get opt-in for +pr mode
- Scope of Rewrite: rewriting juliaup in Julia language itself HOT 2
- Juliainstaller Crash Report HOT 1
- Juliainstaller Crash Report HOT 1
- guideline to remove previous julia installations completely HOT 1
- Crash report HOT 3
- Use dmg on Mac HOT 7
- Hope to display the percentage of progress
- Nonexistent linked channels silently fail
- Crash report
- Juliainstaller Crash Report
- Installation attempt crash report HOT 1
- Crash report (unwrap error on timeout?) HOT 1
- Allow overriding an override HOT 3
- pre releases inflation HOT 1
- Juliainstallercrashreport HOT 1
- `nightly` channel can be updated message is too verbose
- Throws "Invalid Juliaup channel `pr55132`" despite channel being valid HOT 3
- `juliaup list` does not list the architecture variants of PR channels
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from juliaup.