-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
julia: 1.1 -> 1.3 #79174
julia: 1.1 -> 1.3 #79174
Conversation
Hm, what happenned to |
Added all-packages.nix
Short answer, I looked for the place where top-level packages are defined but could not find it. So thanks for pointing that out. I have added it now to all-packages.nix. Also this might possibly be a very beginner question but how do I actually test the package definition in all-packages.nix? |
Hm, your file misses the Darwin-only arguments, as revealed by ofBorg failure. To test that your checkout where you prepare the PR has a usable Julia 1.3 package, do In general, I guess the Nix manual could be useful (note that Nix, Nixpkgs and NixOS have their own different manuals) |
I'll look into this. Thanks for the pointers. |
Added all-packages.nix
julia: 1.1 -> 1.3 (cherry picked from commit 2a52e5e)
julia test failed
│ %5 = Test.Expr(:comparison, %2, ==, %4) [20/1955]
│ %6 = Test.Expr(:comparison,
), 0x0000000000000001) … Ptr{Nothing} @0x00007fffc9b84b25, Ptr{Nothing} @0x00007ffff7aeb8a1, Ptr{Nothing} @0x00007fffc9b849d8, Ptr{Nothing} @0x00007ffff7aeb8a1, Ptr{Nothing} @0x00007fffc9b8487e, Ptr{Nothing} @0x00007ffff7aeb8a1, Ptr{Nothing} @0x00007fffc9b846f8, Ptr{Nothing} @0x00007fffc9b81c35, Ptr{Nothing} @0x00007ffff7af78ee, Ptr{Nothing} @0x0000000000000000] == Base.StackTraces.StackFrame[] Error in testset stress: ERROR: LoadError: Test run finished with errors |
This looks like it this issue: JuliaLang/julia#32377 EDIT: Grammar |
I didn't change the default setting of julia_1.3. So I guess the default thread number was one. Do I need |
Parallel builds are enabled for julia_1.3. Can you check the environment variable And I unfortunately do not know how to skip tests. |
before building LLVM(it did my cup core number), when compiling Julia that did a single thread.
|
I just overrode the argument of checkTarget ="testall" to none
it passed the build. |
I believe the issue is that the test system doesn't truly isolate tests. Specifically, the What is screwing up this particular test is that I tried to see if this issue could be worked around by wrapping A horrible hack to resolve the issue is to just change |
Sorry for the last post. Had intended to post that on the julia issue tracker. Didn't realize I had jumped repositories when clicking links. As it happens though, I have been actually working on this in order to get Julia 1.3 compiling under Nix. The other issue I've ran into is the My personal recommendation would be to just disable both this one test and the core module test (test12806). |
Forgot to mention, you will want to set USER (why is this set to HOME=$NIX_BUILD_TOP
USER=$(whoami) |
@twhitehead How do I selectively disable tests for julia? |
You either have to do some text substitution on the test file (e.g., use sed to put a # in front of the line that runs the test) or remove or zero the test file itself. I'll submit my suggested cleanups when I get the chance (currently just having problems with one more test that I'm tracking down). |
This updates
julia
to version 1.3.1. I couldn't get some of the dependencies as defined in the original build script to work, so this is building the source binary that includes all dependencies as provided by upstream. Over time I guess it would make sense to work on replacing the bundled dependencies with native ones.Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)