Skip to content

Normalize indices in promote_shape error messages. #40124

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

Closed
wants to merge 471 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
471 commits
Select commit Hold shift + click to select a range
cfc45b4
add `selectdim(A, 2, 3:4)` example (#40456)
PaulSoderlind Apr 19, 2021
0598d13
Added docstring for -> (#40470)
aramirezreyes Apr 19, 2021
83f5786
Add docs for RegexMatch and keys(::RegexMatch) (#40486)
regier21 Apr 19, 2021
3d08f82
Add `get(::Function, ::ImmutableDict, key)` to resolve #40413 (#40471)
murari0 Apr 19, 2021
a4fc56a
LibGit2: branch missing test in last_error (#39033)
kshyatt Apr 19, 2021
f6b47ff
Add scal!(a,X) (#40446)
dbrueg Apr 19, 2021
b67d706
Revert "LibGit2: branch missing test in last_error (#39033)" (#40530)
vtjnash Apr 19, 2021
2435f96
Add many "see also" links to docstrings (#38606)
mcabbott Apr 19, 2021
5784cd3
enable new Float16 methods for sinh and cbrt (#40534)
vtjnash Apr 20, 2021
3428e88
Fix eigvecs(:::SymTridiagonal) with longer off-diagonal vector (#40526)
dkarrasch Apr 20, 2021
b315648
Promote eltype when dividing UniformScaling by matrix (#40528)
sostock Apr 20, 2021
7bbb75d
docs: mention privacy of type fields in style-guide (#40533)
vtjnash Apr 20, 2021
d998c7e
SparseArrays: add Printf to test deps. (#40520)
fredrikekre Apr 20, 2021
ba71161
remove `===` for singleton equality tip (#40517)
simeonschaub Apr 20, 2021
002fc5f
doc: `take!(::IOBuffer)` may make copies (#27442)
mbauman Apr 20, 2021
592db58
Merge pull request #40512 from JuliaLang/inno-signer
musm Apr 20, 2021
8105252
add some docs for Dates formatters
jch8ri Apr 20, 2021
1131876
Document the guarantees that should be provided by `isequal` (#34798)
andyferris Apr 20, 2021
bb5b98e
Document what public API means (#35715)
tkf Apr 20, 2021
6985788
doc: add `@` to help (#33824)
jaideep-seth Apr 21, 2021
ca6df85
unexport cat_shape (#40549)
johnnychen94 Apr 21, 2021
e37e98a
Transpose and Adjoint support for exp, log and sqrt functions (#39373)
DebadityaPal Apr 21, 2021
c6a0748
Merge pull request #40540 from JuliaLang/jn/31979
quinnj Apr 21, 2021
9520c69
at_test_nowarn does not suppress the content of stderr anymore (#39028)
ranocha Apr 21, 2021
d47565e
[LLVM] patch list for LLVM 12
vchuravy Mar 29, 2021
7f7efb1
added docstring for single-quotes pair in basedocs.jl (#39609)
ArunS-tack Apr 21, 2021
2307f80
Fix rational division by zero (#40551)
blegat Apr 21, 2021
f103bb4
logging: redirect closed streams to stderr/stdout (#40423)
vtjnash Apr 21, 2021
e490918
Document splitext() with multiple extensions (#40554)
jmkuhn Apr 21, 2021
d294b25
docs: add FAQ on parametric invariance (#21261)
jamesonquinn Apr 21, 2021
33e9d37
docs: provide more detail on some noteworthy differences with Common …
bobcassels Apr 21, 2021
6492751
allow creating an undef Diagonal (#38282)
Roger-luo Apr 21, 2021
9418acc
Add docstring for keys(::AbstractArray) (#36073)
nalimilan Apr 21, 2021
770faac
fetch is a noop when on the same worker (#19044)
SimonDanisch Apr 21, 2021
ae1aa16
process: make SIGPIPE an always failure (#39574)
vtjnash Apr 21, 2021
7fe05db
remove some exports from Broadcast (#40543)
vtjnash Apr 21, 2021
50400fb
Doc: Mention that dropdims'ed array shares memory (#40544)
dkarrasch Apr 22, 2021
1fbb536
Improve type stability for tryparse VersionNumber (#40557)
rikhuijzer Apr 22, 2021
4f271b1
change some `::AbstractString` fields to `::String` (#40569)
JeffBezanson Apr 22, 2021
2c88fb7
Document assignment destructuring (#30579)
simonbyrne Apr 22, 2021
15a44e9
Fix `llvm-tools` when installing with `LLVM_ASSERTS=1` (#40447)
staticfloat Apr 22, 2021
fc02458
Fix #31368: joinpath works on collections of paths (#38263)
belamenso Apr 22, 2021
d7d2b0c
make \cdot, \interpunct, and \cdotp equivalent (#25157)
iagobaapellaniz Apr 23, 2021
ac7974a
[cli] Provide `.type` and `.size` annotations for symbols (#40575)
staticfloat Apr 23, 2021
1474566
faster Float32 and Float16 pow (#40236)
oscardssmith Apr 24, 2021
e7a6805
avoid excessive inlining of Ryu (#40593)
bicycle1885 Apr 24, 2021
e5da821
Add CHOLMOD error handler (#40589)
sostock Apr 24, 2021
c1b2fe2
Random: cut randstring allocation size in half (#40584)
vtjnash Apr 24, 2021
659bc12
add `inttype`, `floattype` like `uinttype` (#36526)
JeffreySarnoff Apr 24, 2021
3b91a15
Merge pull request #40263 from JuliaLang/vc/llvm12_patches
vchuravy Apr 24, 2021
248c02f
stricter buffer sizes in SparseMatrixCSC (#40523)
abraunst Apr 24, 2021
79920db
implement faster floating-point `isless` (#39090)
stev47 Apr 25, 2021
1425a11
kron for Diagonal uses kron for components (#40596)
jishnub Apr 25, 2021
578d518
Make length type match index type in sparse vectors (#39645)
dkarrasch Apr 25, 2021
f40c4ba
Create README.md (#40603)
ViralBShah Apr 25, 2021
4e176ac
add docstring for Base.load_path() (#40582)
rfourquet Apr 26, 2021
1a12495
REPL: Fix incorrect docstring for .. (#40563) (#40607)
Apr 26, 2021
728aa90
Revert "faster Float32 and Float16 pow (#40236)" (#40610)
simeonschaub Apr 26, 2021
c82c701
remove debug logging for the TOML cache in loading (#40581)
KristofferC Apr 26, 2021
a4e1082
improve inferrabilities by telling the compiler relational invariants…
aviatesk Apr 26, 2021
75c4f55
show(::MersenneTwister) : use module qualification (#40583)
rfourquet Apr 26, 2021
ff001a4
deprecate `getproperty(::Pairs, s)` (#39448)
simeonschaub Apr 27, 2021
cb22c8e
test package completion if already imported (#36552)
simeonschaub Apr 27, 2021
c4fc095
doc: git checkout 1.6.1 in README (#40633)
0xAlexS Apr 27, 2021
bc50abe
add *(::Missing, ::Char) (#40615)
rfourquet Apr 27, 2021
321a3c4
Add some documentation to cli/loaders (#40636)
staticfloat Apr 27, 2021
4b7670d
add some precompile for Artifacts and add a type annotation (#40631)
KristofferC Apr 27, 2021
33f92d6
minor refactor for `Base._which` (#40617)
aviatesk Apr 27, 2021
df27063
Enable REPL to offer to install missing packages if install hooks are…
IanButterworth Apr 27, 2021
907264b
Make cholmod preserve user-specified permutation (#40560)
ettersi Apr 28, 2021
e4fcdf5
Update CSL to eliminate dependence on `clock_gettime()` (#40499)
staticfloat Apr 28, 2021
b5177e7
REPL: fix #27184, ensure macro existence before lowering (#40621)
aviatesk Apr 28, 2021
e9ef280
Fix showindices for IdentityUnitRange (#40608)
jishnub Apr 28, 2021
fb5e04c
add docstring for VecElement (#40019)
bicycle1885 Apr 28, 2021
c31afce
Include all exported functions in Test.jl documentation (#37361)
tkf Apr 28, 2021
e438953
Fix typo in opaque_closure.c (#40647)
eltociear Apr 28, 2021
5162023
[LLVM] Drop support for versions prior to LLVM 11 (#40634)
vchuravy Apr 28, 2021
961642f
mpfr.jl: don't add extra zero when pretty-printing BigFloats (#40513)
waldyrious Apr 28, 2021
0470565
Fix reduced_index for Integer UnitRanges having eltypes other than In…
jishnub Apr 28, 2021
b692d9f
Make opnorm( 1x0 matrix ) zero (#40483)
dbrueg Apr 28, 2021
ebf6b16
Make edit(f) return methods if multiple signatures available (#39481)
MilesCranmer Apr 28, 2021
bbaca9d
more efficient array indexing with AbstractUnitRange (#39896)
sanjibansg Apr 28, 2021
e9b22ce
doc: mentions of addenv seemed lacking (#40539)
vtjnash Apr 28, 2021
3389940
Add tests to make sure that `Base.project_names`, `Base.manifest_name…
DilumAluthge Apr 29, 2021
c556bb9
a bit of cleanup to init/loading (#40637)
JeffBezanson Apr 29, 2021
e1f4f65
make sure sortperm on Vector{Float64} is precompiled (#40645)
KristofferC Apr 29, 2021
37af9ed
add "see also" for `strip`, `lstrip` and `rstrip` docstrings (#40648)
rfourquet Apr 29, 2021
09d6a03
indexing arrays with abstractunitranges retains indices (#40660)
jishnub Apr 29, 2021
7a0ee95
fix typo in "Rejecting cache file" message (#40662)
alhirzel Apr 29, 2021
ca319b4
Added test for promotion of same-sized unsigned and signed integers (…
tuedo2 Apr 30, 2021
d7c6a9b
`@lock` export from Base, closes #36441 (#39588)
sairus7 Apr 30, 2021
eb111b2
[doc] minor change of filename in getting-started.md (#40674)
May 1, 2021
2681a51
Add compat to docstring for single-arg `isapprox` (#40659)
JackDunnNZ May 1, 2021
8fdd137
[automated] Bump the Pkg stdlib from 879c21d9 to ad3d6396 (#40684)
DilumAluthgeBot May 2, 2021
2ceebfd
show sign for NaNs if required
bicycle1885 May 3, 2021
d22c304
Optimisation of getproperty for UmfpackLU object (avoid copying irrel…
May 3, 2021
b3b9aa0
ndims for AbstractArray{<:Any,N} (#40682)
jishnub May 3, 2021
140afc6
update all checksums and pcre rules to generate them (#40688)
IanButterworth May 3, 2021
ef45879
[automated] Bump the Pkg stdlib from ad3d6396 to 1a47f445 (#40687)
DilumAluthgeBot May 3, 2021
e3adc39
Merge pull request #40686 from bicycle1885/nan-sign
quinnj May 3, 2021
6c85c4c
[doc]: fix typo in operators.jl (#40699)
eltociear May 4, 2021
3ed6c1b
Update the Downloads stdlib from 6bb8306 to c0e5cbd (#40701)
DilumAluthgeBot May 4, 2021
0fa39ec
Document UInt return type of objectid (#40669)
fonsp May 4, 2021
ab04170
protocol change from git to https in README.md (#40675)
May 4, 2021
24d9eab
Document UInt return type of hash(x) (#40707)
fonsp May 4, 2021
0f2ad74
codegen: set ModFlag for `Debug Info Version` to Warning (#40653)
vchuravy May 4, 2021
4c78517
Clean-up Bidiagonal code (#40706)
dkarrasch May 4, 2021
44d4842
Fix bug in schur for size zero matrices (#40693)
May 4, 2021
a2d85f6
Replace llvm::sys::fs::F_None with llvm::sys::fs::OF_None (#40666)
MaskRay May 4, 2021
f2eb0fa
Delete CITATION.bib (#40711)
ViralBShah May 4, 2021
fd2061b
doc: fix typos in calling-c-and-fortran-code.md (#40692)
BenPH May 4, 2021
ff213c1
fix consistency of trimtrailingzeros (Ryu) (#40685)
bicycle1885 May 4, 2021
c33877f
make Printf's general format C11 compliant
bicycle1885 May 3, 2021
6f7d07d
Remove eltype check in adjtrans (#40567)
dkarrasch May 4, 2021
f806df6
Meta.parse doc string: clarify that indices are not chars (#40714)
StefanKarpinski May 5, 2021
9f665c1
Remove duplicated line in `NEWS.md` file (#40725)
Suavesito-Olimpiada May 6, 2021
15b5143
Efficiency improvement of exp(::StridedMatrix) with UniformScaling an…
jarlebring May 6, 2021
fbe28e4
Add some bounds checks for `Diagonal([1])` (#40728)
mcabbott May 6, 2021
6726ae8
Five arg mul! for UniformScaling and improvement in exp! (#40731)
jarlebring May 7, 2021
ddeba0b
Make istriu, istril, and pinv more gpu friendly (#39756)
pabloferz May 8, 2021
ccf7824
Docs: What are `min` and `max` actually comparing? (#40713)
mschauer May 8, 2021
87d4e3f
updates documentation for `Test.finish` (#25481)
ssfrr May 8, 2021
27d3931
Fix windows resource FILEVERSION (#40752)
musm May 8, 2021
00f4194
do not trim trailing zeros of integral part
bicycle1885 May 9, 2021
9bceffd
REPL: improve `getfield` type completion (#40624)
aviatesk May 10, 2021
e4f79b7
[CLI] ensure error on not finding symbol (#40748)
vtjnash May 10, 2021
67186f4
show(::String): elide long strings (close #40724) (#40736)
StefanKarpinski May 10, 2021
79b8af2
Merge pull request #40755 from bicycle1885/ryu-trimzeros
quinnj May 11, 2021
35d7571
Merge pull request #40689 from bicycle1885/printf-general
quinnj May 11, 2021
50fa83c
Add logabsdet method for UmfpackLU (#40716)
ElOceanografo May 11, 2021
0105fe4
Fix inference of max_values(::Union) (#40785)
odow May 11, 2021
ad20f0a
REPL: Skip comments when assessing for missing packages, fixes #40776…
IanButterworth May 11, 2021
6cebd28
`@something`: a short-circuiting `something` (#40729)
omus May 11, 2021
d6c092d
Add a few tests for generic LinearAlgebra (#40794)
dkarrasch May 11, 2021
c3a3180
[doc] update documentation for join (#40806)
GlenHertz May 13, 2021
c8c7820
fix typo in manual, section on interfaces (#40811)
daanhb May 13, 2021
58e44a0
Improve docstring for `digits` (#40761)
mcabbott May 13, 2021
feba24f
[Test stdlib] detailed test failure printing of type comparisons with…
awadell1 May 13, 2021
296f77c
[Make] make clangsa work with out of tree builds
vchuravy May 13, 2021
853a936
inference: fix missing `LimitedAccuracy` handling in `conditional_cha…
aviatesk May 13, 2021
55c32b5
Make issparse handle nested wrappers (#34308)
oxinabox May 13, 2021
2688a06
inference: minor refactor for compiler/reflection code (#40745)
aviatesk May 13, 2021
5d84bc0
[CompilerSupportLibraries] Bump to v0.4.3 (#40807)
giordano May 13, 2021
a84485d
Merge pull request #40812 from JuliaLang/vc/oot_clangsa
vchuravy May 13, 2021
7c63647
Enable pasted lines to switch to pkg, shell and help repl modes (#40604)
IanButterworth May 13, 2021
2f400e0
[automated] Bump the Pkg stdlib from 1a47f445 to edfe2943 (#40817)
DilumAluthgeBot May 13, 2021
a0241b9
missing at-static test (#40818)
bramtayl May 13, 2021
be6887f
Handle pastes for other repl modes that don't end in newlines (#40819)
IanButterworth May 14, 2021
d425ca8
move SuiteSparse to an external repository (#40770)
KristofferC May 14, 2021
2dfe8d7
Compat annotations for `@something`/`@coalesce` (#40824)
omus May 14, 2021
9113c01
Exception stack API refinements (#29901)
c42f May 15, 2021
5aca7a3
Make `StepRangeLen` in operations which may produce zero step (#40320)
mcabbott May 15, 2021
b1a4129
RFC: Some degree trigonometric functions, `sind`, `cosd`, `tand`, `as…
AtsushiSakai May 16, 2021
0bae193
Let sparse(x') preserve index type for sparse x (#40836)
dkarrasch May 17, 2021
b054be5
faster `iseven(::BigInt)` (#40850)
rfourquet May 18, 2021
39caf28
Add support for external method tables (#39697)
Keno May 18, 2021
8a0a9a7
Revert "Add support for external method tables (#39697)" (#40862)
vtjnash May 18, 2021
0bd8862
allow `pkgdir` to accept paths (#40839)
Roger-luo May 19, 2021
97209b6
refactor inference code (#40837)
aviatesk May 19, 2021
4211c3f
fix #40855, alignment calculation in `julia_const_to_llvm` (#40864)
JeffBezanson May 19, 2021
5868354
form conditional constraint from non-`Conditional` object
aviatesk May 15, 2021
fd4ca66
Small typo fixes (#40873)
May 19, 2021
1931254
Add `@inbounds` in push! (#40816)
bkamins May 19, 2021
743a378
Add indexing and other array operations to MethodList (#40863)
pazner May 19, 2021
6f867eb
tweak the type of quotes for functions in llvm code output (#40869)
KristofferC May 19, 2021
613de2c
Fix #40846, wrong results from `Float64 .* StepRange` (#40847)
mcabbott May 19, 2021
00b1807
Document Fix1 and Fix2 (#36094)
tkf May 19, 2021
d93a1c8
Move analyzegc pipeline to buildkite (#40826)
vchuravy May 19, 2021
c4ee1fa
restore performance of `hash` for `BigInt` and `Rational{BigInt}` (#4…
rfourquet May 20, 2021
79ee2b4
improve hashing performance for uuid (#40879)
KristofferC May 20, 2021
f77f4fe
Merge pull request #40832 from aviatesk/nonconditional
aviatesk May 20, 2021
605a14a
Update editors and IDEs (#40883)
ViralBShah May 20, 2021
27066a7
Added string literal docs (#40835)
Qfl3x May 20, 2021
9117b4d
Syntax for multidimensional arrays (#33697)
BioTurboNick May 20, 2021
7ba81e8
[LLVM] Upgrade to LLVM 12
vchuravy May 10, 2021
6a81238
[LLVM] fix name of libLLVM on Windows
vchuravy May 11, 2021
72fc1e1
[AARCH64][LLVM] Rename fmi/pa to flagm/pauth
vchuravy May 11, 2021
7df16be
[LLVM] add correlated value propagation after jump threading
vchuravy May 12, 2021
8ae50e0
[LLVM] Set StackProtectorGuard mode to Global
vchuravy May 20, 2021
a0422e3
Correct the error in doc of workers() (#40896)
zhaiyusci May 21, 2021
bd46639
make ssair output consistent with #40869 (#40885)
KristofferC May 21, 2021
a56938c
Make `broadcastable` treat `Char` like `Number` (#40877)
matthias314 May 21, 2021
db8d096
remove separate verbose IRCode lineprinter (#40889)
simeonschaub May 21, 2021
64940ec
Make partition support non-1-indexed vector. (#40830)
N5N3 May 21, 2021
ef67353
faster dropdims (#40895)
mcabbott May 21, 2021
ddbedfa
[LLVM] Tune SimplifyCFG options
vchuravy May 21, 2021
8539c1a
fixup! [LLVM] Tune SimplifyCFG options
vchuravy May 21, 2021
d730fd3
Adjust LQ show to other factorizations (#40897)
dkarrasch May 21, 2021
59a9df1
change setup_stdio default method to support any IO (#40780)
vtjnash May 21, 2021
139aba6
Fix issue with concatenating strings and arrays together (#40900)
BioTurboNick May 21, 2021
a075e9f
Disallow space-separated semicolons in array expression (#40903)
BioTurboNick May 21, 2021
ffce554
add brief cat matrix doctests (#40800)
miguelraz May 21, 2021
d6701bb
LinearAlgebra: Add bareiss det for BigInt Matrices (#40128) :: Take 2…
May 21, 2021
e3dbc99
[NFC] add a space (#40914)
May 22, 2021
a08a3ff
Merge pull request #40774 from JuliaLang/vc/llvm12_upgrade
vchuravy May 22, 2021
7429cb7
Update inference.md
serenity4 May 23, 2021
a8a42e9
ccall docs: Fix type in Indirect Calls section
May 23, 2021
3bbe22e
Set up a few code owners (#40925)
DilumAluthge May 23, 2021
4ecbc16
Pare down the CODEOWNERS [skip ci] [ci skip] (#40929)
DilumAluthge May 23, 2021
e110029
Merge pull request #40928 from killercup/patch-1
quinnj May 24, 2021
0d97578
Merge pull request #40926 from serenity4/patch-1
quinnj May 24, 2021
6f71de4
move some shared properties to TypeName (#40741)
vtjnash May 24, 2021
7c39836
Fix ryu tests from doing @show to @test
quinnj May 25, 2021
ff85419
Add type assertion in deepcopy_internal for Arrays (#40909)
jishnub May 25, 2021
8bc9e78
Merge pull request #40938 from JuliaLang/jq/ryutest
quinnj May 25, 2021
46527ef
remove explicit inline annotation on expm functions (#40939)
KristofferC May 25, 2021
835f65d
Remove confusion between libsuitesparse the C library and SuiteSparse…
ViralBShah May 25, 2021
7bba367
fix `-Inf16 < typemin(Int)` (#40871)
rfourquet May 25, 2021
55be343
Refuse to serialize instances of foreign types (#40852)
fingolfin May 25, 2021
829d7e0
Restore some ABI compatibility with Julia 1.6 (#40851)
fingolfin May 25, 2021
3159a81
docs: Dynamic documentation: clearer example (#40940)
fonsp May 26, 2021
71d3be5
bump SuiteSparse version (#40844)
KristofferC May 26, 2021
2d92749
doc/manual: fix grammar (#40949)
kortschak May 26, 2021
e5d7ef0
put CITATION.bib back with one entry (#40956)
ViralBShah May 26, 2021
d0a6b3a
[automated] Bump the Pkg stdlib from edfe2943 to 9f672535 (#40961)
DilumAluthgeBot May 26, 2021
20dc9e4
inference: Relax constprop recursion detection (#40561)
aviatesk May 26, 2021
2d1f16e
Add expm1(::Float16) (#40867)
oscardssmith May 26, 2021
ed5cc4e
[doc] updated stale links to inference blog posts (#40953)
bsilvereagle May 26, 2021
7edd190
Revert "change setup_stdio default method to support any IO (#40780)"…
vtjnash May 27, 2021
3cdf6a3
make \minus equivalent to - operator #26193 (#40948)
epithet May 27, 2021
c509eff
docs: add `and` docs suggestions (#40545)
vtjnash May 27, 2021
e73a2a0
print LineNumberNode in light_black (#40937)
mcabbott May 27, 2021
d2b2b8c
Fix #39798 by using one(start) rather than 1 for _linrange (#40467)
mkitti May 27, 2021
97d5f6a
Show raw machine code along with disassembled code (#40220)
bicycle1885 May 27, 2021
b89a2c1
Reenable some errorshow tests on FreeBSD
ararslan May 27, 2021
4cdcdb8
add keepat! (the opposite of deleteat!) (#36229)
rfourquet May 27, 2021
559520c
export spawn macro from Threads (#40965)
bicycle1885 May 27, 2021
1913382
fix keepat! doctest (#40976)
vtjnash May 27, 2021
523cc3f
fix unsoundness in fieldtype of Tuple with non-Type params
JeffBezanson Mar 16, 2021
920992c
fix #40742, unset `has_concrete_subtype` for types like `Tuple{:x}`
JeffBezanson May 19, 2021
779188f
Merge pull request #40975 from JuliaLang/aa/i-think-30233-might-be-fixed
Sacha0 May 27, 2021
d692b89
don't mutate lhs while destructuring (#40737)
simeonschaub May 28, 2021
61701d7
Explicit test that `shuffle!` behaves correct on `BitArray`s (#40558)
MasonProtter May 28, 2021
ecea238
more ergonomic stream redirection (#37978)
jw3126 May 28, 2021
e0ecc55
Replace Val-types by singleton types in `lu` and `qr` (#40623)
dkarrasch May 28, 2021
5dbf45a
compute mayinlinealloc more accurately (for ccall) (#40947)
vtjnash May 28, 2021
93d375c
doc: drop colon from "See also" sentences (#40401)
vtjnash May 28, 2021
18df4b5
Merge pull request #40067 from JuliaLang/jb/nonstdtupleinf
vtjnash May 28, 2021
a5889a8
Fix suitesparse checksum refresh naming mismatch (#40943)
staticfloat May 29, 2021
fb42ea5
gcd and lcm fixed for one negative argument (#40968)
KlausC May 29, 2021
6b10500
Test: Add information to passing tests (#36879)
mmiller-max May 29, 2021
8402463
handle kwarg lowering for vararg with default value (#40977)
JeffBezanson May 29, 2021
d6b5bf9
Remove SuiteSparse_wrapper and winclang patch (#40998)
ViralBShah May 29, 2021
2280efe
[automated] Bump the Pkg stdlib from 9f672535 to 6cf6b95e (#41004)
DilumAluthgeBot May 30, 2021
311ff56
TOML: fix converted tabular data printing (#41009)
aviatesk May 30, 2021
acdffeb
Make adjoint and solve work for most factorizations (#40899)
andreasnoack May 30, 2021
100dc38
Normalize indices in promote_shape error messages.
tpapp Mar 21, 2021
edff733
customize error message based on types
tpapp Mar 22, 2021
5ccc4ec
fix ambiguity
tpapp Jun 3, 2021
9bbc0d6
merge
tpapp Jun 3, 2021
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
  •  
  •  
  •  
28 changes: 28 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
steps:
- label: "analyzegc"
commands:
- echo "--- Install apt-get pre-reqs"
- apt-get update
- apt-get install -y build-essential libatomic1 python python3 gfortran perl wget m4 cmake pkg-config curl
- echo "--- Install in-tree LLVM dependencies"
- make -j 6 -C deps install-llvm install-clang install-llvm-tools install-libuv install-utf8proc install-unwind
- echo "+++ run clangsa/analyzegc"
- make -j 6 -C test/clangsa
- make -j 6 -C src analyzegc
agents:
queue: "juliacpu" # this should be julia -- also in pipeline settings
# os: linux # tag missing for juliacpu queue
timeout_in_minutes: 60
- label: "llvmpasses"
commands:
- echo "--- Install apt-get pre-reqs"
- apt-get update
- apt-get install -y build-essential libatomic1 python python3 gfortran perl wget m4 cmake pkg-config curl
- echo "+++ run llvmpasses"
- make -j 6 release
- make -j 6 -C src install-analysis-deps
- make -j 6 -C test/llvmpasses
agents:
queue: "juliacpu" # this should be julia -- also in pipeline settings
# os: linux # tag missing for juliacpu queue
timeout_in_minutes: 60
1 change: 0 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ StatementMacros:
- checked_intrinsic_ctype
- cvt_iintrinsic
- fpiseq_n
- fpislt_n
- ter_fintrinsic
- ter_intrinsic_ctype
- un_fintrinsic
Expand Down
4 changes: 3 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/.github/workflows/ @JuliaLang/github-actions
CODEOWNERS @JuliaLang/github-actions
/.github/ @JuliaLang/github-actions
/.buildkite/ @JuliaLang/github-actions
66 changes: 3 additions & 63 deletions CITATION.bib
Original file line number Diff line number Diff line change
Expand Up @@ -8,68 +8,8 @@ @article{Julia-2017
pages={65--98},
year={2017},
publisher={SIAM},
doi={10.1137/141000671}
doi={10.1137/141000671},
url={https://epubs.siam.org/doi/10.1137/141000671}
}

% The following citations are about specific aspects of Julia.

@article{Julia-2019-a,
author = {Bezanson, Jeff and Chen, Jiahao and Chung, Benjamin and Karpinski, Stefan and Shah, Viral B. and Vitek, Jan and Zoubritzky, Lionel},
title = {Julia: Dynamism and Performance Reconciled by Design},
journal = {Proc. ACM Program. Lang.},
issue_date = {November 2018},
volume = {2},
number = {OOPSLA},
month = oct,
year = {2018},
issn = {2475-1421},
pages = {120:1--120:23},
articleno = {120},
numpages = {23},
url = {https://doi.acm.org/10.1145/3276490},
doi = {10.1145/3276490},
acmid = {3276490},
publisher = {ACM},
address = {New York, NY, USA},
keywords = {dynamic languages, just-in-time compilation, multiple dispatch},
}

@article{Julia-2019-b,
author = {Zappa Nardelli, Francesco and Belyakova, Julia and Pelenitsyn, Artem and Chung, Benjamin and Bezanson, Jeff and Vitek, Jan},
title = {Julia Subtyping: A Rational Reconstruction},
journal = {Proc. ACM Program. Lang.},
issue_date = {November 2018},
volume = {2},
number = {OOPSLA},
month = oct,
year = {2018},
issn = {2475-1421},
pages = {113:1--113:27},
articleno = {113},
numpages = {27},
url = {https://doi.acm.org/10.1145/3276483},
doi = {10.1145/3276483},
acmid = {3276483},
publisher = {ACM},
address = {New York, NY, USA},
keywords = {Multiple Dispatch, Subtyping},
}

@inproceedings{Julia-2014,
author = {Bezanson, Jeff and Chen, Jiahao and Karpinski, Stefan and Shah, Viral and Edelman, Alan},
title = {Array Operators Using Multiple Dispatch: A Design Methodology for Array Implementations in Dynamic Languages},
booktitle = {Proceedings of ACM SIGPLAN International Workshop on Libraries, Languages, and Compilers for Array Programming},
series = {ARRAY'14},
year = {2014},
isbn = {978-1-4503-2937-8},
location = {Edinburgh, United Kingdom},
pages = {56:56--56:61},
articleno = {56},
numpages = {6},
url = {https://doi.acm.org/10.1145/2627373.2627383},
doi = {10.1145/2627373.2627383},
acmid = {2627383},
publisher = {ACM},
address = {New York, NY, USA},
keywords = {Julia, array indexing, dynamic dispatch, multiple dispatch, static analysis, type inference},
}
% For more details on research related to Julia, see https://julialang.org/research
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ If you are already familiar with Julia itself, this blog post by Katharine Hyatt

## Learning Julia

[The learning page](https://julialang.org/learning) has a great list of resources for new and experienced users alike. [This tutorial video](https://www.youtube.com/watch?v=vWkgEddb4-A) is one recommended starting point, as is the "[Invitation to Julia](https://www.youtube.com/watch?v=gQ1y5NUD_RI)" workshop video from JuliaCon 2015 ([slide materials here](https://github.com/dpsanders/invitation_to_julia)). The [Julia documentation](https://docs.julialang.org) covers the language and core library features, and is searchable.
[The learning page](https://julialang.org/learning) has a great list of resources for new and experienced users alike.

## Before filing an issue

Expand Down
61 changes: 43 additions & 18 deletions Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ USE_SYSTEM_BLAS:=0
USE_SYSTEM_LAPACK:=0
USE_SYSTEM_GMP:=0
USE_SYSTEM_MPFR:=0
USE_SYSTEM_SUITESPARSE:=0
USE_SYSTEM_LIBSUITESPARSE:=0
USE_SYSTEM_LIBUV:=0
USE_SYSTEM_UTF8PROC:=0
USE_SYSTEM_MBEDTLS:=0
Expand Down Expand Up @@ -472,13 +472,13 @@ USEGCC := 0
USECLANG := 1
endif

# Note: Supporting only macOS Mavericks and above
# Note: Supporting only macOS Yosemite and above
ifeq ($(OS), Darwin)
APPLE_ARCH := $(shell uname -m)
USEGCC := 0
USECLANG := 1
ifneq ($(APPLE_ARCH),arm64)
MACOSX_VERSION_MIN := 10.9
MACOSX_VERSION_MIN := 10.10
else
MACOSX_VERSION_MIN := 11.0
endif
Expand Down Expand Up @@ -587,6 +587,12 @@ endif #USEMSVC
RANLIB := $(CROSS_COMPILE)ranlib
OBJCOPY := $(CROSS_COMPILE)objcopy

ifneq ($(USEMSVC), 1)
CPP_STDOUT := $(CPP) -P
else
CPP_STDOUT := $(CPP) -E
endif

# file extensions
ifeq ($(OS), WINNT)
SHLIB_EXT := dll
Expand All @@ -596,6 +602,21 @@ else
SHLIB_EXT := so
endif

ifeq ($(OS),WINNT)
define versioned_libname
$$(if $(2),$(1)-$(2).$(SHLIB_EXT),$(1).$(SHLIB_EXT))
endef
else ifeq ($(OS),Darwin)
define versioned_libname
$$(if $(2),$(1).$(2).$(SHLIB_EXT),$(1).$(SHLIB_EXT))
endef
else
define versioned_libname
$$(if $(2),$(1).$(SHLIB_EXT).$(2),$(1).$(SHLIB_EXT))
endef
endif


ifeq ($(SHLIB_EXT), so)
define SONAME_FLAGS
-Wl,-soname=$1
Expand Down Expand Up @@ -898,6 +919,7 @@ ifneq (,$(findstring aarch64,$(ARCH)))
OPENBLAS_DYNAMIC_ARCH:=0
OPENBLAS_TARGET_ARCH:=ARMV8
USE_BLAS64:=1
BINARY:=64
ifeq ($(OS),Darwin)
# Apple Chips are all at least A12Z
MCPU:=apple-a12
Expand Down Expand Up @@ -1008,22 +1030,18 @@ JCPPFLAGS+=-DSYSTEM_LLVM
endif # SYSTEM_LLVM

# Windows builds need a little help finding the LLVM libraries for llvm-config
LLVM_CONFIG_PATH_FIX :=
# use delayed expansion (= not :=) because spawn isn't defined until later
# WINEPATH is only needed for a wine-based cross compile
LLVM_CONFIG_PATH_FIX =
ifeq ($(OS),WINNT)
LLVM_CONFIG_PATH_FIX := PATH="$(build_bindir):$(PATH)"
LLVM_CONFIG_PATH_FIX = PATH="$(build_bindir):$(PATH)" WINEPATH="$(call cygpath_w,$(build_bindir));$(WINEPATH)"
endif

ifeq ($(BUILD_OS),$(OS))
LLVM_CONFIG_HOST := $(LLVM_CONFIG)
LLVM_CONFIG_HOST = $(LLVM_CONFIG_PATH_FIX) $(LLVM_CONFIG)
else
LLVM_CONFIG_HOST := $(basename $(LLVM_CONFIG))-host$(BUILD_EXE)
ifeq (exists, $(shell [ -f '$(LLVM_CONFIG_HOST)' ] && echo exists ))
ifeq ($(shell $(LLVM_CONFIG_PATH_FIX) $(LLVM_CONFIG_HOST) --version),3.3)
# llvm-config-host <= 3.3 is broken, use llvm-config instead (in an emulator)
# use delayed expansion (= not :=) because spawn isn't defined until later
LLVM_CONFIG_HOST = $(LLVM_CONFIG_PATH_FIX) $(call spawn,$(LLVM_CONFIG))
endif
else
ifneq (exists, $(shell [ -f '$(LLVM_CONFIG_HOST)' ] && echo exists ))
# llvm-config-host does not exist (cmake build)
LLVM_CONFIG_HOST = $(LLVM_CONFIG_PATH_FIX) $(call spawn,$(LLVM_CONFIG))
endif
Expand Down Expand Up @@ -1147,8 +1165,10 @@ BB_TRIPLET_LIBGFORTRAN := $(subst $(SPACE),-,$(filter-out cxx%,$(subst -,$(SPACE
BB_TRIPLET_CXXABI := $(subst $(SPACE),-,$(filter-out libgfortran%,$(subst -,$(SPACE),$(BB_TRIPLET_LIBGFORTRAN_CXXABI))))
BB_TRIPLET := $(subst $(SPACE),-,$(filter-out cxx%,$(filter-out libgfortran%,$(subst -,$(SPACE),$(BB_TRIPLET_LIBGFORTRAN_CXXABI)))))

LIBGFORTRAN_VERSION := $(subst libgfortran,,$(filter libgfortran%,$(subst -,$(SPACE),$(BB_TRIPLET_LIBGFORTRAN))))

# This is the set of projects that BinaryBuilder dependencies are hooked up for.
BB_PROJECTS := BLASTRAMPOLINE OPENBLAS LLVM SUITESPARSE OPENLIBM GMP MBEDTLS LIBSSH2 NGHTTP2 MPFR CURL LIBGIT2 PCRE LIBUV LIBUNWIND DSFMT OBJCONV ZLIB P7ZIP CSL
BB_PROJECTS := BLASTRAMPOLINE OPENBLAS LLVM LIBSUITESPARSE OPENLIBM GMP MBEDTLS LIBSSH2 NGHTTP2 MPFR CURL LIBGIT2 PCRE LIBUV LIBUNWIND DSFMT OBJCONV ZLIB P7ZIP CSL
define SET_BB_DEFAULT
# First, check to see if BB is disabled on a global setting
ifeq ($$(USE_BINARYBUILDER),0)
Expand All @@ -1167,7 +1187,7 @@ $(foreach proj,$(BB_PROJECTS),$(eval $(call SET_BB_DEFAULT,$(proj))))

# Warn if the user tries to build something that requires `gfortran` but they don't have it installed.
ifeq ($(FC_VERSION),)
ifneq ($(USE_BINARYBUILDER_OPENBLAS)$(USE_BINARYBUILDER_SUITESPARSE),11)
ifneq ($(USE_BINARYBUILDER_OPENBLAS)$(USE_BINARYBUILDER_LIBSUITESPARSE),11)
$(error "Attempting to build OpenBLAS or SuiteSparse without a functioning fortran compiler!")
endif
endif
Expand Down Expand Up @@ -1354,8 +1374,8 @@ endif
ifeq ($(USE_SYSTEM_BLAS),1)
# Since the names don't line up (`BLAS` vs. `OPENBLAS`), manually gate:
USE_BINARYBUILDER_OPENBLAS := 0
# Disable BB SuiteSparse if we're using system BLAS
USE_BINARYBUILDER_SUITESPARSE := 0
# Disable BB LIBSUITESPARSE if we're using system BLAS
USE_BINARYBUILDER_LIBSUITESPARSE := 0
endif

ifeq ($(USE_SYSTEM_LIBM),1)
Expand Down Expand Up @@ -1479,8 +1499,12 @@ ifneq ($(findstring $(OS),Linux FreeBSD),)
LIBGCC_NAME := libgcc_s.$(SHLIB_EXT).1
endif


# USE_SYSTEM_CSL causes it to get symlinked into build_private_shlibdir
ifeq ($(USE_SYSTEM_CSL),1)
LIBGCC_BUILD_DEPLIB := $(call dep_lib_path,$(build_libdir),$(build_private_shlibdir)/$(LIBGCC_NAME))
else
LIBGCC_BUILD_DEPLIB := $(call dep_lib_path,$(build_libdir),$(build_shlibdir)/$(LIBGCC_NAME))
endif
LIBGCC_INSTALL_DEPLIB := $(call dep_lib_path,$(libdir),$(private_shlibdir)/$(LIBGCC_NAME))

# USE_SYSTEM_LIBM and USE_SYSTEM_OPENLIBM causes it to get symlinked into build_private_shlibdir
Expand Down Expand Up @@ -1548,6 +1572,7 @@ PRINT_FLISP = echo '$(subst ','\'',$(1))'; $(1)
PRINT_JULIA = echo '$(subst ','\'',$(1))'; $(1)

endif

# Makefile debugging trick:
# call print-VARIABLE to see the runtime value of any variable
# (hardened against any special characters appearing in the output)
Expand Down
19 changes: 11 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ $(build_depsbindir)/stringreplace: $(JULIAHOME)/contrib/stringreplace.c | $(buil
@$(call PRINT_CC, $(HOSTCC) -o $(build_depsbindir)/stringreplace $(JULIAHOME)/contrib/stringreplace.c)

julia-base-cache: julia-sysimg-$(JULIA_BUILD_MODE) | $(DIRS) $(build_datarootdir)/julia
@JULIA_BINDIR=$(call cygpath_w,$(build_bindir)) $(call spawn, $(JULIA_EXECUTABLE) --startup-file=no $(call cygpath_w,$(JULIAHOME)/etc/write_base_cache.jl) \
@JULIA_BINDIR=$(call cygpath_w,$(build_bindir)) WINEPATH="$(call cygpath_w,$(build_bindir));$$WINEPATH" \
$(call spawn, $(JULIA_EXECUTABLE) --startup-file=no $(call cygpath_w,$(JULIAHOME)/etc/write_base_cache.jl) \
$(call cygpath_w,$(build_datarootdir)/julia/base.cache))

# public libraries, that are installed in $(prefix)/lib
Expand All @@ -169,8 +170,7 @@ ifeq ($(BUNDLE_DEBUG_LIBS),1)
JL_PRIVATE_LIBS-0 += libjulia-internal-debug
endif
ifeq ($(USE_GPL_LIBS), 1)
JL_PRIVATE_LIBS-0 += libsuitesparse_wrapper
JL_PRIVATE_LIBS-$(USE_SYSTEM_SUITESPARSE) += libamd libbtf libcamd libccolamd libcholmod libcolamd libklu libldl librbio libspqr libsuitesparseconfig libumfpack
JL_PRIVATE_LIBS-$(USE_SYSTEM_LIBSUITESPARSE) += libamd libbtf libcamd libccolamd libcholmod libcolamd libklu libldl librbio libspqr libsuitesparseconfig libumfpack
endif
JL_PRIVATE_LIBS-$(USE_SYSTEM_PCRE) += libpcre2-8
JL_PRIVATE_LIBS-$(USE_SYSTEM_DSFMT) += libdSFMT
Expand All @@ -188,7 +188,7 @@ else
JL_PRIVATE_LIBS-$(USE_SYSTEM_ZLIB) += libz
endif
ifeq ($(USE_LLVM_SHLIB),1)
JL_PRIVATE_LIBS-$(USE_SYSTEM_LLVM) += libLLVM libLLVM-11jl
JL_PRIVATE_LIBS-$(USE_SYSTEM_LLVM) += libLLVM libLLVM-12jl
endif
JL_PRIVATE_LIBS-$(USE_SYSTEM_LIBUNWIND) += libunwind

Expand Down Expand Up @@ -290,8 +290,11 @@ endif
done \
done
for suffix in $(JL_PRIVATE_LIBS-1) ; do \
lib=$(build_private_libdir)/$${suffix}.$(SHLIB_EXT); \
$(INSTALL_M) $$lib $(DESTDIR)$(private_libdir) ; \
for lib in $(build_private_libdir)/$${suffix}.$(SHLIB_EXT)*; do \
if [ "$${lib##*.}" != "dSYM" ]; then \
$(INSTALL_M) $$lib $(DESTDIR)$(private_libdir) ; \
fi \
done \
done
endif
# Install `7z` into libexec/
Expand Down Expand Up @@ -448,7 +451,7 @@ endif
echo "base/version_git.jl" > light-source-dist.tmp

# Download all stdlibs and include the tarball filenames in light-source-dist.tmp
@$(MAKE) -C stdlib getall NO_GIT=1
@$(MAKE) -C stdlib getall DEPS_GIT=0 USE_BINARYBUILDER=0
-ls stdlib/srccache/*.tar.gz >> light-source-dist.tmp
-ls stdlib/*/StdlibArtifacts.toml >> light-source-dist.tmp

Expand All @@ -472,7 +475,7 @@ source-dist:
# Make tarball with Julia code plus all dependencies
full-source-dist: light-source-dist.tmp
# Get all the dependencies downloaded
@$(MAKE) -C deps getall NO_GIT=1
@$(MAKE) -C deps getall DEPS_GIT=0 USE_BINARYBUILDER=0

# Create file full-source-dist.tmp to hold all the filenames that go into the tarball
cp light-source-dist.tmp full-source-dist.tmp
Expand Down
Loading