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

Merge upstream 909c57f #14

Merged
merged 852 commits into from
May 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
852 commits
Select commit Hold shift + click to select a range
b864999
enable loading Profile in listener even if it is not in project (#49429)
KristofferC Apr 20, 2023
a6df43e
remove Serialization from being stated as being a dependency of Rando…
KristofferC Apr 20, 2023
dcdac1e
Revert "move Pkg out of the sysimage" (#49432)
KristofferC Apr 20, 2023
c068048
Allow conversion of `AbstractQ` to `AbstractArray` (#49424)
dkarrasch Apr 20, 2023
bb118c9
prevent `display` in REPL from erroring on non standard prompts (#49383)
KristofferC Apr 20, 2023
ca50706
fix regression in methods lookup (#49416)
vtjnash Apr 20, 2023
d8fb5e7
Merge pull request #49349 from JuliaLang/jn/morespecific-bottom
vtjnash Apr 20, 2023
c237c0a
subtype: replace leaf-bound typevars if they would result in Tuple{Un…
vtjnash Apr 20, 2023
02b7b04
simplify Broadcast object computations (#49395)
vtjnash Apr 20, 2023
b27c87e
avoid some more invalidations that are not necessary (#49418)
vtjnash Apr 20, 2023
499647e
inference: fix some of the edges, being created from the wrong signat…
vtjnash Apr 20, 2023
4f035fa
Make clang happy about prototype (#49443)
gbaraldi Apr 20, 2023
1f94d2e
Only add big objarray to remset once (#49315)
gbaraldi Apr 20, 2023
f84fb5b
Save a couple loads/stores in sweep pages (#49263)
gbaraldi Apr 20, 2023
186634e
Fix inference of one-arg `return_type` method (#49407)
Keno Apr 21, 2023
ecc3751
Add ITTAPI hooks to jl_mutex_wait (#49434)
pchintalapudi Apr 21, 2023
bb83df1
Make generic cholesky throw on non-psd input (#49417)
dkarrasch Apr 21, 2023
23a5b04
Add missing entry to invalidation log (#49449)
timholy Apr 21, 2023
81ae8a3
Revert "add morespecific rule for Type{Union{}}"
DilumAluthge Apr 21, 2023
9c4724b
Support and use two argument at-irrational (#46054)
LilithHafner Apr 22, 2023
57b68f2
Merge pull request #49457 from JuliaLang/revert-49349-jn/morespecific…
DilumAluthge Apr 22, 2023
357bcdd
annotate the signature type of the first argument of `kwcall` method …
aviatesk Apr 22, 2023
4044096
Adjoint for diagonal should be lazy (#48443)
jishnub Apr 22, 2023
6b79e8c
Subtype: Improve `simple_meet` resolution for `Union` inputs (#49376)
N5N3 Apr 22, 2023
b1c0eac
make extension not load twice on workers (#49441)
KristofferC Apr 22, 2023
3198159
Remove unnecessary definition of `eltype(::Type{BitSet})` (#49462)
LilithHafner Apr 22, 2023
5ea1a41
Remove unnecessary allocation in `BitSet()` (#49461)
LilithHafner Apr 22, 2023
a34261f
Add ITTAPI timing functions to JL_TIMING (#49448)
pchintalapudi Apr 22, 2023
7560dea
update Statistics.jl
vtjnash Apr 18, 2023
44b3d2c
morespecific: add rule for Type{Union{}}
vtjnash Apr 12, 2023
67aa462
add typemap filtering option for Union{}
vtjnash Apr 12, 2023
7f4e129
also optimize {Type{T},T} lookup
vtjnash Apr 14, 2023
a3cda94
Remove redundant definitions of `push!(::AbstractDict, elements...)` …
LilithHafner Apr 24, 2023
fa21589
Avoid usage of `jl_error()` in `check_cmdline()`
staticfloat Apr 24, 2023
8419b50
Merge pull request #49483 from JuliaLang/sf/win_hang_fix
staticfloat Apr 24, 2023
2180db1
ensure sub-bitfield bits are always defined (#49471)
vtjnash Apr 24, 2023
cb1cc27
Merge pull request #49470 from JuliaLang/jn/morespecific-bottom
vtjnash Apr 24, 2023
2768ec5
staticdata: ensure lookup is for a Type narrower than the Method sign…
vtjnash Apr 24, 2023
c70e0fa
remove SIGABRT from sigwait list (#49445)
vtjnash Apr 24, 2023
86b819c
improve effects of `objectid` and `getindex(::Dict)` (#49447)
oscardssmith Apr 25, 2023
b291522
Subtype: minor optimization for `simple_intersect` (#49477)
N5N3 Apr 25, 2023
3db036e
[Inference] limit inference timing recording to `NativeInterpreter` o…
vchuravy Apr 25, 2023
e1de57f
[BinaryPlatforms] Change "shortest match" algorithm to "best match"
staticfloat Apr 25, 2023
bc5dd53
Rearrange allocation profiling in Julia manual (#48713)
simonbyrne Apr 25, 2023
7fc3e35
Merge pull request #49502 from JuliaLang/sf/fix_artifacts
staticfloat Apr 25, 2023
b12ddca
doc: manual: constructors: xref "plain data" to isbits (#49492)
nsajko Apr 25, 2023
2fa6970
fix in GC chunking code (#49505)
d-netto Apr 26, 2023
e6b707c
show the root module in tracing for __init__ as well (#49480)
KristofferC Apr 26, 2023
960870e
instrument `jl_load_dynamic_library` to the profiler (#49496)
KristofferC Apr 26, 2023
3f7ae8b
Add more profiling events (#49493)
pchintalapudi Apr 26, 2023
a152d11
Nospecialize close(c::Channel, excp::Exception) on excp. (#49508)
NHDaly Apr 26, 2023
2cd0149
Lookup metadata for inlined frames for stack traces (#41099)
BioTurboNick Apr 26, 2023
04cb800
add some very basic documentaton about supported tracing profilers (#…
KristofferC Apr 26, 2023
15663e6
Install `libTracyClient` when `WITH_TRACY` is enabled.
staticfloat Apr 26, 2023
b3bbd5b
Intersect: fix `intersect_tuple` for inputs with bad normalization. (…
N5N3 Apr 26, 2023
5c39e44
Merge pull request #49526 from JuliaLang/sf/fix_tracy_install
staticfloat Apr 26, 2023
3b993a9
AbstractInterpreter: account for overlay possibility in unanalyzed ca…
aviatesk Apr 27, 2023
bc2fa50
show line info + module in `ADD_METHOD` profiling (#49495)
KristofferC Apr 27, 2023
75e979b
fix `compilesig_invokes=false` inlining option
aviatesk Apr 27, 2023
bf7bd3f
remove debug print from loading test (#49534)
KristofferC Apr 27, 2023
527117e
Fix attributes and opaque pointer usage for LLVM15 (#49528)
vchuravy Apr 27, 2023
d54566f
add dark and light images for README.md
cormullion Apr 27, 2023
2f0fe58
add a root profile zone for julia initialization (#49536)
KristofferC Apr 27, 2023
68ed6f7
Merge pull request #49419 from oscardssmith/fix-multiinv-test
staticfloat Apr 27, 2023
1303cc7
Merge pull request #49539 from JuliaLang/avi/compilesig_invokes
staticfloat Apr 27, 2023
8a16d2f
Merge pull request #49544 from cormullion/cormullion/readmeimages
aviks Apr 27, 2023
09a0f34
add two more explicit precompile statements (#49537)
KristofferC Apr 27, 2023
959902f
Support both Float16 ABIs depending on LLVM and platform (#49527)
vchuravy Apr 27, 2023
f11bfc6
Use NewPM for ASAN/MSAN (#49530)
vchuravy Apr 27, 2023
1dcac5e
Update current stable version in README.md (#49543)
christiangnrd Apr 28, 2023
ced696d
color compilation with red in tracy during recompilation (#49524)
KristofferC Apr 28, 2023
ee7538e
annotate global non-const variables in bundled jlls with types (#49542)
KristofferC Apr 28, 2023
4289264
Preserve LLVM function attributes during address space removal pass. …
maleadt Apr 28, 2023
cc7fec7
add the package name to the `LOAD_Pkgimage` zone (#49538)
KristofferC Apr 28, 2023
4158640
Document Float64 return type of Base.time (#49519)
fonsp Apr 28, 2023
abeecee
Implement parallel marking (#48600)
d-netto Apr 28, 2023
645f7af
Fix starting range in REPLCompletions (#49547)
Keno Apr 28, 2023
219dc10
Clarify Vararg/UnionAll deprecation warning (#49558)
timholy Apr 29, 2023
faced27
Export offsets necessary for external codegen (#49548)
vchuravy Apr 29, 2023
b4d1530
Fix dyld lock not getting unlocked on invalid threads. (#49446)
gbaraldi Apr 29, 2023
c83dff9
add `__init__()` calls to `time_imports` macro (#49529)
IanButterworth May 1, 2023
d22ca94
Merge branch 'master' into dlvsym-ccall
staticfloat May 1, 2023
d82ae9e
Merge pull request #49010 from topolarity/dlvsym-ccall
staticfloat May 1, 2023
0b0ae1a
Ensure that new GC tests actually succeed (#49579)
vchuravy May 2, 2023
70ebadb
Specialized codegen for opaque closure calls (#49337)
Keno May 2, 2023
1a973c7
NFC: some cleanup in gc.c (#49577)
d-netto May 2, 2023
f77ad0a
Ensure LLVM function attributes are preserved by always calling Clone…
maleadt May 2, 2023
b815bb1
Don't explicitly remap the personality function.
maleadt May 2, 2023
a8474dc
Merge pull request #49597 from JuliaLang/tb/llvm_attributes_bis
vtjnash May 2, 2023
82f76e8
ml-matches: skip intersection by world-bounds (#49590)
vtjnash May 2, 2023
6052e44
Improve llvmpasses test quality (#49594)
pchintalapudi May 2, 2023
0419054
Allow toplevel-ish MethodInstances in va_process_argtypes (#49592)
Keno May 2, 2023
e9d678e
fix #48870, normalize U+210F to U+0127 (#49559)
JeffBezanson May 2, 2023
404bb1f
Mark up optimization passes with remarks and debug prints (#49588)
pchintalapudi May 3, 2023
b66f63c
Ensure length(ipiv)==n before calling LAPACK.getrs! to avoid segfault…
aravindh-krishnamoorthy May 3, 2023
5039d8a
shield `Base.require` from invalidations when loading Symbolics.jl (#…
KristofferC May 3, 2023
43c9202
minimal changes to avoid Artifacts to get invalidated by some common …
KristofferC May 3, 2023
5304baa
Extend stacktrace for failed tests not directly under testset (#49451)
serenity4 May 3, 2023
0fa8f4f
Restore `modname == NULL` behavior for `jl_load_dynamic_library` (#49…
topolarity May 3, 2023
252883c
correct comment about type of `method` in a `LineInfoNode` (#49608)
KristofferC May 3, 2023
a35db92
Use isb for normal cpu pause on aarch64 (#49481)
gbaraldi May 3, 2023
4bb3a55
elide precompilation in Profile.jl (#49613)
sjkelly May 3, 2023
827d34a
make `IRShow.method_name` inferrable (#49607)
KristofferC May 3, 2023
dfc74c3
Revise `jl_timing` prints for `dlopen` (#49560)
topolarity May 4, 2023
4e70da2
Update HISTORY.md for `DelimitedFiles` (#49582)
inkydragon May 4, 2023
425389e
Various precompile fixes (#49585)
IanButterworth May 4, 2023
e4622b4
Remove unused definition of `_shorthash7` for wrong size UInt (#49498)
LilithHafner May 4, 2023
59e47b4
adding docu to sum! explain target should not alias with the source (…
josemanuel22 May 4, 2023
2a1fa43
Fix method show with kwarg and optional arguments (#49475)
Liozou May 4, 2023
37e5aed
doc: manual: command-line interface: fix cross-reference error (#49459)
nsajko May 4, 2023
e6616fb
Markdown: Reset underline style when wrapping text. (#49454)
Pangoraw May 4, 2023
acb2d2d
Add missing documentation (#49377)
pbouffard May 4, 2023
9a6af18
Add fence to avoid JL_CALLABLE being parsed as MarkdownAST.Emph (#49360)
lucifer1004 May 4, 2023
2e80c0d
Inline StepRange construction (#49270)
Zentrik May 4, 2023
a632def
speed up variable lookups in lowering to help #48990 (#49213)
JeffBezanson May 4, 2023
b03e8ab
replace tabs with spaces and fix indentation
Feb 17, 2023
36f6826
Prohibit tabs in whitespace check
Feb 17, 2023
b0db500
Hash values are not stable across different Julia invokations (#48408)
eschnett May 4, 2023
ce2c3ae
Base: TwicePrecision: improve constructors (#49616)
nsajko May 4, 2023
c90aa77
Base: twiceprecision: optimize mul12 (#49568)
nsajko May 4, 2023
705bfd3
Remove unneeded allocations in `ldiv!(::QRPivoted, ...)` (#49282)
kamesy May 4, 2023
daea3c3
character literals are delimited with single quotes (#48998)
grasshoppermouse May 4, 2023
0e8c0ea
Base.Threads: copy `__source__` LineInfo into closure for @spawn/@async
topolarity Apr 23, 2023
99e194f
refactor: add `jl_timing_init_task`
topolarity Apr 24, 2023
bb31772
make `map` on tuples accept different lengths (#49336)
JeffBezanson May 4, 2023
724c93d
Objects.md modified to include outdation warning (#49013)
TakshDhabalia May 4, 2023
ebc6776
(re-factor) gc: Remove redundant `since_sweep` field (#49195)
topolarity May 4, 2023
1d361c0
Remove redundant and unused _extrema in sorting (#48641)
LilithHafner May 4, 2023
5e7d7c3
Remove last references to gc_num.since_sweep (#49628)
jakobnissen May 4, 2023
e95416f
Close channel task doesn't need to be sticky
kpamnany May 1, 2023
9dbfc05
Set task tid before scheduling task in `_wait2`
kpamnany May 3, 2023
93ce36c
Merge pull request #48709 from JuliaLang/prohibit-tabs-in-whitespace-…
LilithHafner May 4, 2023
5032a1a
Initialize hoisted object allocations (#49584)
pchintalapudi May 4, 2023
c0e12cd
inference: enable `:call` inference in irinterp (#49191)
aviatesk May 4, 2023
ad939df
Add U+297A (`⥺`) and U+2977 (`⥷`) to binary operators (recreated) (#4…
KristofferC May 5, 2023
ee95843
Allow showing of StepRangLen{T} with generic T (#49516)
SamuelBadr May 5, 2023
356c746
Merge pull request #49488 from topolarity/smuggle-task-lineinfo
KristofferC May 5, 2023
ef359e3
don't add cross-compile prefix for CC twice (#49575)
benlorenz May 5, 2023
08945aa
Prettify printing of a small number of completions (#49284)
JamesWrigley May 5, 2023
dffb9f0
optimizer: allow inlining of constant `::TypeName` object (#49225)
aviatesk May 5, 2023
16e10a1
🤖 [master] Bump the LibCURL stdlib from fd8af64 to a65b64f (#49091)
DilumAluthgeBot May 5, 2023
6b8ebb3
annotate type of Task.queue field (#48420)
JeffBezanson May 5, 2023
68cdf29
Fix infinite loop on macOS with TIMING enabled (#49632)
topolarity May 5, 2023
1729d40
add another entry to the git ignore blame file (#49638)
KristofferC May 5, 2023
e70354d
Fix for #48911: Bugfix for the generic left-divide (ldiv!) algorithm …
aravindh-krishnamoorthy May 5, 2023
9c6cfc6
silence compiler warning when not building with ITTAPI (#49630)
KristofferC May 5, 2023
0c83a23
Don't assume macro expansion info is present in stacktrace (#49633)
serenity4 May 5, 2023
6adea08
Merge code that handles `Adjoint` and `Transpose` (#49521)
dkarrasch May 5, 2023
6bcdd00
Fix type comparison printing in `MethodError`s from convert. (#49645)
fredrikekre May 5, 2023
9201414
fix whitespace in test/ranges.jl (#49648)
IanButterworth May 5, 2023
f4d9416
`widenconst` before type check in SROA (#49642)
Keno May 5, 2023
b8c347a
Thread lattice through tuple_tail_elem (#49643)
Keno May 5, 2023
9b7d88b
subtype: more conservative intersection of triangular variables (#49591)
vtjnash May 5, 2023
6296f57
Test: improve robustness of stacktrace scrubbing (#49646)
serenity4 May 6, 2023
7ea902c
Extend NamedTuple special case to PartialStruct (#49641)
Keno May 6, 2023
67dd21c
codegen: move union optimizations into emit_exactly_isa where emit_f_…
vtjnash May 6, 2023
9bb0731
fix some SCC cycle mistakes (#49654)
vtjnash May 6, 2023
633d1ae
Define a method for `hash(::Type, ::UInt)` (#49636)
ararslan May 6, 2023
7cf01e5
Merge pull request #49601 from JuliaLang/kp/channel-task-fix
vtjnash May 6, 2023
e26b63c
convert some typeof tags to small integers
vtjnash May 5, 2023
160d261
move simple (isbits) objects into the constdata section
vtjnash Apr 21, 2023
4be81cd
change CodeInfo compression from Array to String
vtjnash Jan 27, 2023
83225c5
Remove at_time from GC test (#49662)
vchuravy May 6, 2023
b69a417
Reduce `mul!` methods related to "banded" matrices (#49666)
dkarrasch May 6, 2023
bdb3ded
add reference to online tracy profile viewer (#49626)
KristofferC May 7, 2023
09adbe3
Remove mention of TwicePrecision from the docs (#49665)
Seelengrab May 7, 2023
ed12565
Count invalidations
pchintalapudi Apr 27, 2023
0ee0571
add tracy support for inc/dec plots
KristofferC May 3, 2023
1d089b7
Add heap size stat
pchintalapudi May 4, 2023
7a3cbd0
Alter USE_TIMING_COUNTS implementation
pchintalapudi May 4, 2023
0e8adb7
Move heap plot config to timing.c, remove old heap plot code
pchintalapudi May 8, 2023
4e782bf
Bump LBT to v5.8.0 (#49658)
staticfloat May 8, 2023
1ae70ec
test: fix TypeCompareError conflict (#49663)
vtjnash May 8, 2023
43079cf
🤖 [master] Bump the Pkg stdlib from 7ebf98b43 to c8249204b (#49678)
DilumAluthgeBot May 8, 2023
2cad2a7
avoid allocating a GC frame on the alt stack (#49650)
vtjnash May 8, 2023
8bcea42
Merge pull request #49556 from JuliaLang/jn/small-typeof
vtjnash May 8, 2023
0a696a3
Remove unnecessary `Base.` prefix (#49668)
LilithHafner May 8, 2023
a2d9c00
Some touchups to Task docs (#49682)
kshyatt May 8, 2023
33a2a9d
🤖 [master] Bump the Pkg stdlib from c8249204b to 94f668cee (#49687)
DilumAluthgeBot May 8, 2023
493a16a
Micro-optimization in WeakKeyDict constructor (#49690)
LilithHafner May 9, 2023
7ef78e4
Add some more Effects system docs (#49652)
sjkelly May 9, 2023
89b47cf
Tweak `donotdelete` effects (#49691)
Keno May 9, 2023
61f6082
Explicitly note that :consistent includes no-ub (#49693)
Keno May 9, 2023
e7425d5
TimeType subtraction using promote (#49700)
baumgold May 9, 2023
d10d90c
Do not reallocate on sizehint to same size (#49703)
jakobnissen May 9, 2023
b9b8b38
Move test of stackoverflow with close(::Channel) to stack_overflow.jl…
NHDaly May 9, 2023
e204e20
irinterp: Consider cfg information from discovered errors (#49692)
Keno May 10, 2023
921f1b9
Fix remarks emissions from simdloop pass
pchintalapudi May 10, 2023
286b371
Update MemorySSA correctly when sinking gc_preserve_end
pchintalapudi May 10, 2023
b2273d3
Do not yet mandate opaque pointers for LLVM 15
vchuravy May 1, 2023
190f841
Upgrade Julia to LLVM 15.0.7+5
vchuravy Apr 27, 2023
9e3da19
Activate NewPM support
pchintalapudi May 4, 2023
2ddbb5a
Fix tests and static analyzer for LLVM 15
vchuravy Apr 27, 2023
77c13ad
Reenable NonTrivial Loop Unswitch
vchuravy May 10, 2023
24a5dc4
Add `@eval using REPL` to the `atreplinit` do block in REPL documenta…
kdheepak May 10, 2023
056112e
make better use of visibility attributes (#49600)
vtjnash May 10, 2023
21d4c2f
Merge pull request #48700 from JuliaLang/vc/upgrade_llvm15
vchuravy May 10, 2023
7757e46
Excise support for LLVM 13 (#49722)
vchuravy May 10, 2023
0b5ec1f
irinterp: Fix accidentally introduced deletion of effectful statement…
Keno May 11, 2023
6618d44
minor follow up on #49692 (#49752)
aviatesk May 11, 2023
e3e5eaa
🤖 [master] Bump the Pkg stdlib from 94f668cee to daf02a458 (#49764)
DilumAluthgeBot May 11, 2023
e4633e0
add note about references in `Out` (#49729)
MasonProtter May 11, 2023
c714e2e
Add JITLink ELF debugger support (#47037)
pchintalapudi May 11, 2023
528949f
macOS: avoid deadlock inside dyld4 deadlock workaround (#49740)
vtjnash May 11, 2023
65c3b41
Initialize `last_alloc`
topolarity May 11, 2023
e642cb9
Enable `TRACY_TIMER_FALLBACK` for libTracyClient
topolarity May 11, 2023
a09f426
Fix visibility of `timing.h` exports
topolarity May 11, 2023
b21f100
Make `*Triangular` handle units (#43972)
dkarrasch May 11, 2023
8d0282c
Merge pull request #49770 from topolarity/fix-timing-warnings
topolarity May 12, 2023
6a2e50d
add docs for `Base.return_types` (#49744)
sjkelly May 12, 2023
1d58f24
adopt `Core.Compiler.get_max_methods` changes from #46810 (#49781)
aviatesk May 12, 2023
9002d16
abstractarray: fix `append!(::AbstractVector, ...)` interface (#49754)
aviatesk May 12, 2023
021015d
Remove 1.9 package extension news item from NEWS.md (#49786)
lassepe May 12, 2023
6733197
Artifacts: pull out a recursive function from a closure to a stand al…
KristofferC May 12, 2023
ae6484d
Update toolchain requirements and LLVM build docs (#49742)
vchuravy May 12, 2023
2f6941f
Update stable version in README.md to 1.9.0 (#49767)
christiangnrd May 12, 2023
46b8a35
remove duplicate gc_try_claim_and_push (#49780)
d-netto May 12, 2023
7bd3977
Update NEWS.md for grammar (#49759)
PallHaraldsson May 12, 2023
e365e57
Add LibTracyClient checksums
topolarity May 12, 2023
c6fc12c
fix build failure with dyld4 deadlock workaround (#49776)
vtjnash May 12, 2023
d55314c
allow loading extensions when a trigger is loaded from below the pare…
KristofferC May 12, 2023
6a5f51b
reorder ml-matches to avoid catastrophic performance case
vtjnash May 4, 2023
ac1cb1c
optimize reordering of ml-matches to avoid unnecessary computations
vtjnash May 9, 2023
0a05a5b
improve type inference of `Base.aligned_sizeof` (#49801)
aviatesk May 13, 2023
e10dbd0
Address reviews
pchintalapudi May 13, 2023
60273a5
Add JIT memory counters
pchintalapudi May 13, 2023
6fbb9b7
Track loaded image size
pchintalapudi May 13, 2023
ee86c06
orc::MemProt -> jitlink::MemProt
pchintalapudi May 13, 2023
7e1431f
irinterp: Don't introduce invalid CFGs (#49797)
Keno May 13, 2023
4ed4195
Merge pull request #49790 from topolarity/tracy-checksums
staticfloat May 14, 2023
344f1f5
Fixups for the `reinterpret` docstring (#49807)
LilithHafner May 14, 2023
e4924c5
add devdocs how to profile package precompilation with tracy (#49784)
KristofferC May 15, 2023
be33e66
Core.Compiler: remove unused variable `phi_ssas` (#49816)
KristofferC May 15, 2023
f7b0cf2
fix cross-reference link in variables.md (#49779)
stevengj May 15, 2023
9dd3090
Fix thread safety in `atexit(f)`: Lock access to atexit_hooks (#49774)
NHDaly May 15, 2023
fbbe9ed
Merge pull request #49664 from JuliaLang/jn/ml-matches-rewritten
vtjnash May 15, 2023
15d7bd8
Simplify `mul!` dispatch (#49806)
dkarrasch May 15, 2023
1f161b4
only time inference if any work is actually done (#49817)
KristofferC May 15, 2023
76fbd61
jitlayers: move the local dylibs ahead of the global one
vtjnash May 15, 2023
d489203
Merge pull request #49822 from JuliaLang/jn/jit-dylib-order
pchintalapudi May 15, 2023
b9806d6
irinterp: Don't try to rekill fall-through terminators (#49815)
Keno May 15, 2023
909c57f
Merge pull request #49535 from JuliaLang/pc/ittapi-invalidations
pchintalapudi May 15, 2023
54234be
Merge remote-tracking branch 'upstream/master' into merge-upstream-90…
qinsoon May 16, 2023
ed8580a
WIP
qinsoon May 17, 2023
6f23a06
Merge branch 'master' into merge-upstream-909c57f
qinsoon May 17, 2023
ec37ebe
Minor fix
qinsoon May 18, 2023
34930e5
Use JL_DLLIMPORT for MMTk functions. Update uses of MMTk functions with
qinsoon May 18, 2023
1af2dd0
Pass n_gcthreads to mmtk_gc_init. Avoid spawning GC threads in Julia.
qinsoon May 18, 2023
da45bf7
Set ngcthreads=0 in jl_start_threads
qinsoon May 19, 2023
8194356
Fix stock Julia build
qinsoon May 25, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
e66bfa5dd32f93e76068c00ad882c1fc839c5af8
# whitespace: replace non-breaking space => space
100a741e7ab38c91d48cc929bb001afc8e09261f
# whitespace: replace tabs => space
b03e8ab9c7bd3e001add519571858fa04d6a249b
31 changes: 16 additions & 15 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,9 @@ Standard library changes
* The contextual module which is active in the REPL can be changed (it is `Main` by default),
via the `REPL.activate(::Module)` function or via typing the module in the REPL and pressing
the keybinding Alt-m ([#33872]).
* An "IPython mode" which mimics the behaviour of the prompts and storing the evaluated result in `Out` can be
activated with `REPL.ipython_mode!()`. See the manual for how to enable this at startup ([#46474]).
* A "numbered prompt" mode which prints numbers for each input and output and stores evaluated results in `Out` can be
activated with `REPL.numbered_prompt!()`. See the manual for how to enable this at startup ([#46474]).
* Tab completion displays available keyword arguments ([#43536])

#### SuiteSparse

Expand Down Expand Up @@ -176,7 +177,7 @@ Standard library changes

#### DelimitedFiles

* DelimitedFiles has been moved out as a separate package. It now has to be explicitly installed to be used.
* DelimitedFiles has been moved out as a separate package.

Deprecated or removed
---------------------
Expand Down Expand Up @@ -5563,18 +5564,18 @@ Deprecated or removed

* several syntax whitespace insensitivities have been deprecated ([#11891]).
```julia
# function call
f (x)

# getindex
x [17]
rand(2) [1]

# function definition
f (x) = x^2
function foo (x)
x^2
end
# function call
f (x)

# getindex
x [17]
rand(2) [1]

# function definition
f (x) = x^2
function foo (x)
x^2
end
```

* indexing with `Real`s that are not subtypes of `Integer` (`Rational`, `AbstractFloat`, etc.) has been deprecated ([#10458]).
Expand Down
66 changes: 56 additions & 10 deletions Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,16 @@ WITH_MMTK ?= 0
# Enable DTrace support
WITH_DTRACE := 0

# Enable ITTAPI integration
WITH_ITTAPI := 0

# Enable Tracy support
WITH_TRACY := 0
WITH_TRACY_CALLSTACKS := 0

# Enable Timing Counts support
WITH_TIMING_COUNTS := 0

# Prevent picking up $ARCH from the environment variables
ARCH:=

Expand Down Expand Up @@ -178,7 +188,7 @@ endif
JULIA_VERSION := $(shell cat $(JULIAHOME)/VERSION)
JULIA_MAJOR_VERSION := $(shell echo $(JULIA_VERSION) | cut -d'-' -f 1 | cut -d'.' -f 1)
JULIA_MINOR_VERSION := $(shell echo $(JULIA_VERSION) | cut -d'-' -f 1 | cut -d'.' -f 2)
JULIA_PATCH_VERSION := $(shell echo $(JULIA_VERSION) | cut -d'-' -f 1 | cut -d'.' -f 3)
JULIA_PATCH_VERSION := $(shell echo $(JULIA_VERSION) | cut -d'-' -f 1 | cut -d'+' -f 1 | cut -d'.' -f 3)

# libjulia's SONAME will follow the format libjulia.so.$(SOMAJOR). Before v1.0.0,
# SOMAJOR will be a two-decimal value, e.g. libjulia.so.0.5, whereas at and beyond
Expand Down Expand Up @@ -289,6 +299,9 @@ private_libdir := $(libdir)/julia
endif
build_private_libdir := $(build_libdir)/julia

private_libexecdir := $(libexecdir)/julia
build_private_libexecdir := $(build_libexecdir)/julia

# A helper functions for dealing with lazily-evaluated, expensive operations.. Spinning
# up a python process to, for exaxmple, parse a TOML file is expensive, and we must wait
# until the TOML files are on-disk before we can parse them. This means that we cannot
Expand All @@ -313,7 +326,7 @@ define cache_rel_path
$(1)_rel_eval = $(call rel_path,$(2),$($(1)))
$(1)_rel = $$(call hit_cache,$(1)_rel_eval)
endef
$(foreach D,libdir private_libdir datarootdir libexecdir docdir sysconfdir includedir,$(eval $(call cache_rel_path,$(D),$(bindir))))
$(foreach D,libdir private_libdir datarootdir libexecdir private_libexecdir docdir sysconfdir includedir,$(eval $(call cache_rel_path,$(D),$(bindir))))
$(foreach D,build_libdir build_private_libdir,$(eval $(call cache_rel_path,$(D),$(build_bindir))))

# Save a special one: reverse_private_libdir_rel: usually just `../`, but good to be general:
Expand Down Expand Up @@ -449,7 +462,13 @@ endif

# Compiler specific stuff

CC_VERSION_STRING = $(shell $(CC) --version)
ifeq (default,$(origin CC))
CC := $(CROSS_COMPILE)$(CC) # attempt to add cross-compiler prefix, if the user
# is not overriding the default, to form target-triple-cc (which
# may not exist), and use that to decide what compiler the user
# is using for the target build (or default to gcc)
endif
CC_VERSION_STRING = $(shell $(CC) --version 2>/dev/null)
ifneq (,$(findstring clang,$(CC_VERSION_STRING)))
USECLANG := 1
USEGCC := 0
Expand All @@ -464,7 +483,7 @@ FC := $(CROSS_COMPILE)gfortran
ifeq ($(OS), Darwin)
APPLE_ARCH := $(shell uname -m)
ifneq ($(APPLE_ARCH),arm64)
MACOSX_VERSION_MIN := 10.10
MACOSX_VERSION_MIN := 10.14
else
MACOSX_VERSION_MIN := 11.0
endif
Expand Down Expand Up @@ -536,8 +555,8 @@ CC_BASE := $(shell echo $(CC) | cut -d' ' -f1)
CC_ARG := $(shell echo $(CC) | cut -s -d' ' -f2-)
CXX_BASE := $(shell echo $(CXX) | cut -d' ' -f1)
CXX_ARG := $(shell echo $(CXX) | cut -s -d' ' -f2-)
FC_BASE := $(shell echo $(FC) | cut -d' ' -f1)
FC_ARG := $(shell echo $(FC) | cut -s -d' ' -f2-)
FC_BASE := $(shell echo $(FC) 2>/dev/null | cut -d' ' -f1)
FC_ARG := $(shell echo $(FC) 2>/dev/null | cut -s -d' ' -f2-)
endif

JFFLAGS := -O2 $(fPIC)
Expand Down Expand Up @@ -677,7 +696,10 @@ SANITIZE_LDFLAGS :=
ifeq ($(SANITIZE_MEMORY),1)
SANITIZE_OPTS += -fsanitize=memory -fsanitize-memory-track-origins -fno-omit-frame-pointer
SANITIZE_LDFLAGS += $(SANITIZE_OPTS)
endif
ifneq ($(findstring $(OS),Linux FreeBSD),)
SANITIZE_LDFLAGS += -Wl,--warn-unresolved-symbols
endif # OS Linux or FreeBSD
endif # SANITIZE_MEMORY=1
ifeq ($(SANITIZE_ADDRESS),1)
SANITIZE_OPTS += -fsanitize=address
SANITIZE_LDFLAGS += -fsanitize=address
Expand Down Expand Up @@ -739,7 +761,28 @@ ifeq ($(WITH_DTRACE), 1)
JCXXFLAGS += -DUSE_DTRACE
JCFLAGS += -DUSE_DTRACE
DTRACE := dtrace
else
endif

ifeq ($(WITH_ITTAPI), 1)
JCXXFLAGS += -DUSE_ITTAPI
JCFLAGS += -DUSE_ITTAPI
LIBITTAPI:=-littnotify
endif

ifeq ($(WITH_TRACY), 1)
JCXXFLAGS += -DUSE_TRACY -DTRACY_ENABLE -DTRACY_FIBERS
JCFLAGS += -DUSE_TRACY -DTRACY_ENABLE -DTRACY_FIBERS
LIBTRACYCLIENT:=-lTracyClient
endif
ifeq ($(WITH_TRACY_CALLSTACKS), 1)
JCXXFLAGS += -DTRACY_CALLSTACK=32
JCFLAGS += -DTRACY_CALLSTACK=32
LIBTRACYCLIENT:=-lTracyClient
endif

ifeq ($(WITH_TIMING_COUNTS), 1)
JCXXFLAGS += -DUSE_TIMING_COUNTS
JCFLAGS += -DUSE_TIMING_COUNTS
endif

# ===========================================================================
Expand Down Expand Up @@ -857,7 +900,6 @@ endif
# If we are running on powerpc64le or ppc64le, set certain options automatically
ifneq (,$(filter $(ARCH), powerpc64le ppc64le))
JCFLAGS += -fsigned-char
OPENBLAS_DYNAMIC_ARCH:=0
OPENBLAS_TARGET_ARCH:=POWER8
BINARY:=64
# GCC doesn't do -march= on ppc64le
Expand Down Expand Up @@ -1045,6 +1087,10 @@ PATCHELF := patchelf
else
PATCHELF := $(build_depsbindir)/patchelf
endif
# In the standard build system we want to patch files with `--set-rpath`, but downstream
# packagers like Spack may want to use `--add-rpath` instead, leave them the possibility to
# choose the command.
PATCHELF_SET_RPATH_ARG := --set-rpath

ifeq ($(USE_SYSTEM_LIBWHICH), 1)
LIBWHICH := libwhich
Expand Down Expand Up @@ -1190,7 +1236,7 @@ CSL_NEXT_GLIBCXX_VERSION=GLIBCXX_3\.4\.31|GLIBCXX_3\.5\.|GLIBCXX_4\.
# Note: we explicitly _do not_ define `CSL` here, since it requires some more
# advanced techniques to decide whether it should be installed from a BB source
# or not. See `deps/csl.mk` for more detail.
BB_PROJECTS := BLASTRAMPOLINE OPENBLAS LLVM LIBSUITESPARSE OPENLIBM GMP MBEDTLS LIBSSH2 NGHTTP2 MPFR CURL LIBGIT2 PCRE LIBUV LIBUNWIND DSFMT OBJCONV ZLIB P7ZIP LLD
BB_PROJECTS := BLASTRAMPOLINE OPENBLAS LLVM LIBSUITESPARSE OPENLIBM GMP MBEDTLS LIBSSH2 NGHTTP2 MPFR CURL LIBGIT2 PCRE LIBUV LIBUNWIND DSFMT OBJCONV ZLIB P7ZIP LLD LIBTRACYCLIENT
define SET_BB_DEFAULT
# First, check to see if BB is disabled on a global setting
ifeq ($$(USE_BINARYBUILDER),0)
Expand Down
62 changes: 27 additions & 35 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ all: debug release
DIRS := $(sort $(build_bindir) $(build_depsbindir) $(build_libdir) $(build_private_libdir) $(build_libexecdir) $(build_includedir) $(build_includedir)/julia $(build_sysconfdir)/julia $(build_datarootdir)/julia $(build_datarootdir)/julia/stdlib $(build_man1dir))
ifneq ($(BUILDROOT),$(JULIAHOME))
BUILDDIRS := $(BUILDROOT) $(addprefix $(BUILDROOT)/,base src src/flisp src/support src/clangsa cli doc deps stdlib test test/clangsa test/embedding test/gcext test/llvmpasses)
BUILDDIRMAKE := $(addsuffix /Makefile,$(BUILDDIRS)) $(BUILDROOT)/sysimage.mk
BUILDDIRMAKE := $(addsuffix /Makefile,$(BUILDDIRS)) $(BUILDROOT)/sysimage.mk $(BUILDROOT)/pkgimage.mk
DIRS += $(BUILDDIRS)
$(BUILDDIRMAKE): | $(BUILDDIRS)
@# add Makefiles to the build directories for convenience (pointing back to the source location of each)
Expand Down Expand Up @@ -104,7 +104,10 @@ julia-sysimg-release julia-sysimg-debug : julia-sysimg-% : julia-sysimg-ji julia

julia-debug julia-release : julia-% : julia-sysimg-% julia-src-% julia-symlink julia-libccalltest julia-libllvmcalltest julia-base-cache

debug release : % : julia-%
stdlibs-cache-release stdlibs-cache-debug : stdlibs-cache-% : julia-%
@$(MAKE) $(QUIET_MAKE) -C $(BUILDROOT) -f pkgimage.mk all-$*

debug release : % : julia-% stdlibs-cache-%

docs: julia-sysimg-$(JULIA_BUILD_MODE)
@$(MAKE) $(QUIET_MAKE) -C $(BUILDROOT)/doc JULIA_EXECUTABLE='$(call spawn,$(JULIA_EXECUTABLE_$(JULIA_BUILD_MODE))) --startup-file=no'
Expand All @@ -116,7 +119,7 @@ check-whitespace:
ifneq ($(NO_GIT), 1)
@# Append the directory containing the julia we just built to the end of `PATH`,
@# to give us the best chance of being able to run this check.
@PATH="$(PATH):$(dir $(JULIA_EXECUTABLE))" $(JULIAHOME)/contrib/check-whitespace.jl
@PATH="$(PATH):$(dir $(JULIA_EXECUTABLE))" julia $(call cygpath_w,$(JULIAHOME)/contrib/check-whitespace.jl)
else
$(warn "Skipping whitespace check because git is unavailable")
endif
Expand Down Expand Up @@ -152,7 +155,7 @@ release-candidate: release testall
@echo 10. Follow packaging instructions in doc/build/distributing.md to create binary packages for all platforms
@echo 11. Upload to AWS, update https://julialang.org/downloads and http://status.julialang.org/stable links
@echo 12. Update checksums on AWS for tarball and packaged binaries
@echo 13. Update versions.json
@echo 13. Update versions.json. Wait at least 60 minutes before proceeding to step 14.
@echo 14. Push to Juliaup (https://github.com/JuliaLang/juliaup/wiki/Adding-a-Julia-version)
@echo 15. Announce on mailing lists
@echo 16. Change master to release-0.X in base/version.jl and base/version_git.sh as in 4cb1e20
Expand Down Expand Up @@ -234,6 +237,9 @@ JL_PRIVATE_LIBS-$(USE_SYSTEM_CSL) += libwinpthread
else
JL_PRIVATE_LIBS-$(USE_SYSTEM_CSL) += libpthread
endif
ifeq ($(WITH_TRACY),1)
JL_PRIVATE_LIBS-0 += libTracyClient
endif


ifeq ($(OS),Darwin)
Expand All @@ -253,7 +259,7 @@ endef

install: $(build_depsbindir)/stringreplace docs
@$(MAKE) $(QUIET_MAKE) $(JULIA_BUILD_MODE)
@for subdir in $(bindir) $(datarootdir)/julia/stdlib/$(VERSDIR) $(docdir) $(man1dir) $(includedir)/julia $(libdir) $(private_libdir) $(sysconfdir) $(libexecdir); do \
@for subdir in $(bindir) $(datarootdir)/julia/stdlib/$(VERSDIR) $(docdir) $(man1dir) $(includedir)/julia $(libdir) $(private_libdir) $(sysconfdir) $(private_libexecdir); do \
mkdir -p $(DESTDIR)$$subdir; \
done

Expand All @@ -268,8 +274,8 @@ else ifeq ($(JULIA_BUILD_MODE),debug)
-$(INSTALL_M) $(build_libdir)/libjulia-internal-debug.dll.a $(DESTDIR)$(libdir)/
endif

# We have a single exception; we want 7z.dll to live in libexec, not bin, so that 7z.exe can find it.
-mv $(DESTDIR)$(bindir)/7z.dll $(DESTDIR)$(libexecdir)/
# We have a single exception; we want 7z.dll to live in private_libexecdir, not bindir, so that 7z.exe can find it.
-mv $(DESTDIR)$(bindir)/7z.dll $(DESTDIR)$(private_libexecdir)/
-$(INSTALL_M) $(build_bindir)/libopenlibm.dll.a $(DESTDIR)$(libdir)/
-$(INSTALL_M) $(build_libdir)/libssp.dll.a $(DESTDIR)$(libdir)/
# The rest are compiler dependencies, as an example memcpy is exported by msvcrt
Expand Down Expand Up @@ -331,11 +337,14 @@ endif
done \
done
endif
# Install `7z` into libexec/
$(INSTALL_M) $(build_bindir)/7z$(EXE) $(DESTDIR)$(libexecdir)/
# Install `7z` into private_libexecdir
$(INSTALL_M) $(build_bindir)/7z$(EXE) $(DESTDIR)$(private_libexecdir)/

# Install `lld` into private_libexecdir
$(INSTALL_M) $(build_depsbindir)/lld$(EXE) $(DESTDIR)$(private_libexecdir)/

# Install `lld` into libexec/
$(INSTALL_M) $(build_depsbindir)/lld$(EXE) $(DESTDIR)$(libexecdir)/
# Install `dsymutil` into private_libexecdir/
$(INSTALL_M) $(build_depsbindir)/dsymutil$(EXE) $(DESTDIR)$(private_libexecdir)/

# Copy public headers
cp -R -L $(build_includedir)/julia/* $(DESTDIR)$(includedir)/julia
Expand All @@ -346,11 +355,6 @@ else ifeq ($(JULIA_BUILD_MODE),debug)
$(INSTALL_M) $(build_private_libdir)/sys-debug.$(SHLIB_EXT) $(DESTDIR)$(private_libdir)
endif

# Cache stdlibs
@$(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE)) --startup-file=no $(JULIAHOME)/contrib/cache_stdlibs.jl)
# CI uses `--check-bounds=yes` which impacts the cache flags
@$(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE)) --startup-file=no --check-bounds=yes $(JULIAHOME)/contrib/cache_stdlibs.jl)

# Copy in all .jl sources as well
mkdir -p $(DESTDIR)$(datarootdir)/julia/base $(DESTDIR)$(datarootdir)/julia/test
cp -R -L $(JULIAHOME)/base/* $(DESTDIR)$(datarootdir)/julia/base
Expand Down Expand Up @@ -385,7 +389,7 @@ ifneq ($(DARWIN_FRAMEWORK),1)
endif
else ifneq (,$(findstring $(OS),Linux FreeBSD))
for j in $(JL_TARGETS) ; do \
$(PATCHELF) --set-rpath '$$ORIGIN/$(private_libdir_rel):$$ORIGIN/$(libdir_rel)' $(DESTDIR)$(bindir)/$$j; \
$(PATCHELF) $(PATCHELF_SET_RPATH_ARG) '$$ORIGIN/$(private_libdir_rel):$$ORIGIN/$(libdir_rel)' $(DESTDIR)$(bindir)/$$j; \
done
endif

Expand Down Expand Up @@ -417,17 +421,17 @@ endif
endif
else ifneq (,$(findstring $(OS),Linux FreeBSD))
ifeq ($(JULIA_BUILD_MODE),release)
$(PATCHELF) --set-rpath '$$ORIGIN:$$ORIGIN/$(reverse_private_libdir_rel)' $(DESTDIR)$(private_libdir)/libjulia-internal.$(SHLIB_EXT)
$(PATCHELF) --set-rpath '$$ORIGIN:$$ORIGIN/$(reverse_private_libdir_rel)' $(DESTDIR)$(private_libdir)/libjulia-codegen.$(SHLIB_EXT)
$(PATCHELF) $(PATCHELF_SET_RPATH_ARG) '$$ORIGIN:$$ORIGIN/$(reverse_private_libdir_rel)' $(DESTDIR)$(private_libdir)/libjulia-internal.$(SHLIB_EXT)
$(PATCHELF) $(PATCHELF_SET_RPATH_ARG) '$$ORIGIN:$$ORIGIN/$(reverse_private_libdir_rel)' $(DESTDIR)$(private_libdir)/libjulia-codegen.$(SHLIB_EXT)
else ifeq ($(JULIA_BUILD_MODE),debug)
$(PATCHELF) --set-rpath '$$ORIGIN:$$ORIGIN/$(reverse_private_libdir_rel)' $(DESTDIR)$(private_libdir)/libjulia-internal-debug.$(SHLIB_EXT)
$(PATCHELF) --set-rpath '$$ORIGIN:$$ORIGIN/$(reverse_private_libdir_rel)' $(DESTDIR)$(private_libdir)/libjulia-codegen-debug.$(SHLIB_EXT)
$(PATCHELF) $(PATCHELF_SET_RPATH_ARG) '$$ORIGIN:$$ORIGIN/$(reverse_private_libdir_rel)' $(DESTDIR)$(private_libdir)/libjulia-internal-debug.$(SHLIB_EXT)
$(PATCHELF) $(PATCHELF_SET_RPATH_ARG) '$$ORIGIN:$$ORIGIN/$(reverse_private_libdir_rel)' $(DESTDIR)$(private_libdir)/libjulia-codegen-debug.$(SHLIB_EXT)
endif
endif

# Fix rpaths for dependencies. This should be fixed in BinaryBuilder later.
ifeq ($(OS), Linux)
-$(PATCHELF) --set-rpath '$$ORIGIN' $(DESTDIR)$(private_shlibdir)/libLLVM.$(SHLIB_EXT)
-$(PATCHELF) $(PATCHELF_SET_RPATH_ARG) '$$ORIGIN' $(DESTDIR)$(private_shlibdir)/libLLVM.$(SHLIB_EXT)
endif

ifneq ($(LOADER_BUILD_DEP_LIBS),$(LOADER_INSTALL_DEP_LIBS))
Expand All @@ -437,14 +441,6 @@ ifeq ($(JULIA_BUILD_MODE),release)
else ifeq ($(JULIA_BUILD_MODE),debug)
$(call stringreplace,$(DESTDIR)$(shlibdir)/libjulia-debug.$(JL_MAJOR_MINOR_SHLIB_EXT),$(LOADER_DEBUG_BUILD_DEP_LIBS)$$,$(LOADER_DEBUG_INSTALL_DEP_LIBS))
endif
ifeq ($(OS),Darwin)
# Codesign the libjulia we just modified
ifeq ($(JULIA_BUILD_MODE),release)
$(JULIAHOME)/contrib/codesign.sh "$(MACOS_CODESIGN_IDENTITY)" "$(DESTDIR)$(shlibdir)/libjulia.$(JL_MAJOR_MINOR_SHLIB_EXT)"
else ifeq ($(JULIA_BUILD_MODE),debug)
$(JULIAHOME)/contrib/codesign.sh "$(MACOS_CODESIGN_IDENTITY)" "$(DESTDIR)$(shlibdir)/libjulia-debug.$(JL_MAJOR_MINOR_SHLIB_EXT)"
endif
endif
endif

ifeq ($(OS),FreeBSD)
Expand All @@ -457,7 +453,7 @@ ifeq ($(OS),FreeBSD)
# don't set libgfortran's RPATH, it won't be able to find its friends on systems
# that don't have the exact GCC port installed used for the build.
for lib in $(DESTDIR)$(private_libdir)/libgfortran*$(SHLIB_EXT)*; do \
$(PATCHELF) --set-rpath '$$ORIGIN' $$lib; \
$(PATCHELF) $(PATCHELF_SET_RPATH_ARG) '$$ORIGIN' $$lib; \
done
endif

Expand Down Expand Up @@ -500,10 +496,6 @@ ifeq ($(OS), Linux)
endif
ifeq ($(OS), WINNT)
cd $(BUILDROOT)/julia-$(JULIA_COMMIT)/bin && rm -f llvm* llc.exe lli.exe opt.exe LTO.dll bugpoint.exe macho-dump.exe
endif
ifeq ($(OS),Darwin)
# If we're on macOS, and we have a codesigning identity, then codesign the binary-dist tarball!
$(JULIAHOME)/contrib/codesign.sh "$(MACOS_CODESIGN_IDENTITY)" "$(BUILDROOT)/julia-$(JULIA_COMMIT)"
endif
cd $(BUILDROOT) && $(TAR) zcvf $(JULIA_BINARYDIST_FILENAME).tar.gz julia-$(JULIA_COMMIT)

Expand Down
Loading