-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplify interaction between new JITs and codegen
this treats the new JITs (MCJIT, ORCJIT) much like the old JIT, but using Module as the atomic unit instead of Function this gets codegen closer to being separable (cachable) at the module level, with the remerging happening in the JIT after object file emission fix #15533
- Loading branch information
Showing
15 changed files
with
1,144 additions
and
1,503 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
1 comment
on commit a727e16
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.
This broke the JULIA_THEADS=1
build. After fixing the number of arguments for jl_generate_fptr
in threading.c
I get
/Users/andreasnoack/julia-dev/base/precompile.jl
LINK usr/lib/julia/sys.dylib
ld: warning: object file (/Users/andreasnoack/julia-dev/usr/lib/julia/sys.o) was built for newer OSX version (15.3) than being linked (10.7)
Undefined symbols for architecture x86_64:
"_jl_get_ptls_states.ptr", referenced from:
_jl_sysimg_gvars in sys.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [/Users/andreasnoack/julia-dev/usr/lib/julia/sys.dylib] Error 1
make: *** [julia-sysimg-release] Error 2
Removing this defeats the entire point here