-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
backport matrix alignment fixes to 1.8 #47276
Closed
oscardssmith
wants to merge
32
commits into
backports-release-1.8
from
oscardssmith-backport-allignment-fixes
Closed
backport matrix alignment fixes to 1.8 #47276
oscardssmith
wants to merge
32
commits into
backports-release-1.8
from
oscardssmith-backport-allignment-fixes
Conversation
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
(cherry picked from commit e6d9979)
(cherry picked from commit d5cde86)
(cherry picked from commit 8003563)
(cherry picked from commit 6c0aa6d)
(cherry picked from commit 757f21e)
* Build/win: Build with MSYS2 (#46140) * Makefile: MSYS2: close path conversion for `DEP_LIBS` Automatic path conversion will replace `:` with `;` * Makefile: MSYS2: use `cygpath` for path convert ref: https://www.msys2.org/docs/filesystem-paths/#manual-unix-windows-path-conversion * devdoc/win/msys2: add build steps * devdoc/win/msys2: Add x86/x64 build notes * devdoc/win/msys2: apply sugestions Co-Authored-By: Elliot Saba <[email protected]> * Instead of `CC_WITH_ENV`, scope environment variables to targets * Fix whitespace Co-authored-by: Elliot Saba <[email protected]> * Disable MSYS2's path munging for `stringreplace` (#46803) This was causing our rewriting of the loader's RPATH emulation to fail after running `make install`, as MSYS2 was rewriting our list that looks like: ``` ../bin/libgcc_s_seh-1.dll:../bin/libopenlibm.dll:@../bin/libjulia-internal.dll:@../bin/libjulia-codegen.dll: ``` Into one that looked like: ``` ..\bin\libgcc_s_seh-1.dll;..\bin\libopenlibm.dll;@..\bin\libjulia-internal.dll;@..\bin\libjulia-codegen.dll; ``` By exporting `MSYS2_ARG_CONV_EXCL='*'` for all `stringreplace` invocations, we dodge this issue, as documented by MSYS2 [0]. [0] https://www.msys2.org/wiki/Porting/#filesystem-namespaces * [win] Disable MSYS2 path munging when calling `is.exe` (#46867) Tragically, I believe MSYS2 is messing with options such as `/VERYSILENT` turning them instead into `C:\msys2\VERYSILENT` or similar. Co-authored-by: Elliot Saba <[email protected]>
oscardssmith
added
unicode
Related to unicode characters and encodings
display and printing
Aesthetics and correctness of printed representations of objects.
labels
Oct 21, 2022
Without this, alignment would count characters rather than textwidth as well as counting inline escape sequences in colored output. Fix that by using uncolored printing for alignment and textwidth rather than number of codepoints. (cherry picked from commit 626acd4)
(cherry picked from commit 7085703)
Co-authored-by: Viral B. Shah <[email protected]> (cherry picked from commit 5811825)
Co-authored-by: Jameson Nash <[email protected]> (cherry picked from commit 45b96c4)
(cherry picked from commit 25e3809)
(cherry picked from commit 7beeaf7)
(cherry picked from commit 0dada17)
Fixes issued mentioned in #47075 (comment) (cherry picked from commit a68235c)
(cherry picked from commit dc3a2e8)
As reported [here](https://discourse.julialang.org/t/test-failures-for-sockets-base-runtests-sockets/88898). My guess on the original issue reported is that, for some reason, the host where the tests are run is unable to listen on any ports, so we end up cycling through the entire UInt16 range (the test starts at port 11011), but when we fail on port 65535, we do `addr.port + 1` and instead of wrapping around as I believe this function intends to happen (as noted by the `addr.port == default_port` check before we error), it gets promoted to `Int(65536)` which then throws an (unexpected) error in the `InetAddr` constructor. I'm not quite sure how to test this exactly though, because we'd need to simulate not being able to listen on any ports? If anyone has any ideas, I'm all ears. (cherry picked from commit a311f4d)
When trying to dlopen a file with non-standard extension (e.g. `foo.so` instead of `foo.dylib` when running on macOS), if this failed (e.g. because of a reference to an undefined symbol), then instead of printing the error message returned by `dlerror` with a helpful notice what went wrong, a message indicating something to the effect that "foo.so.dylib was not found" was shown, which was not helpful at all. To get the actual helpful error message, add a check so that when dlopen fails for a file that actually exists, we don't retry loading from a file with the standard extension attached, which might not even exist; instead we just give up. This matches what is already being done for relative paths. This patch simply copies the relevant check to also be applied to the case dealing with absolute paths. (cherry picked from commit a490197)
We disallow union as the direct type, so perhaps we should disallow it as a field-type also, but since we do allow references in those cases typically, we will allow this also. Also DRY the emit_global code, since it had bit-rotted relative to the usual code path through emit_globalref (and apparently could still be run though for handling the first argument to cfunction). Fix #46786 (cherry picked from commit ed01ee0)
) No functional changes intended here. (cherry picked from commit 45623a8)
Co-authored-by: Sukera <[email protected]> (cherry picked from commit 45fd204)
* Fix GC assertion on array of derived pointers * Add test (cherry picked from commit d885fc7)
Appears to reduce the data size from about 165MB to 147MB! (cherry picked from commit 94736a4)
Bump. The test failure seems unrelated. |
giordano
changed the title
backport allignment fixes to 1.8
backport matrix alignment fixes to 1.8
Oct 27, 2022
DilumAluthge
force-pushed
the
oscardssmith-backport-allignment-fixes
branch
from
October 27, 2022 21:17
0d28d0b
to
060324e
Compare
KristofferC
force-pushed
the
backports-release-1.8
branch
2 times, most recently
from
October 28, 2022 06:36
345ce31
to
e78a9d2
Compare
PR got backport label added to it so it was automatically added to #46984 so this can be closed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
display and printing
Aesthetics and correctness of printed representations of objects.
unicode
Related to unicode characters and encodings
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
backport of #45751 at request of @YingboMa