-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[ci] [python-package] build macOS x86_64 wheels on macOS 13 (Ventura) #6669
base: master
Are you sure you want to change the base?
Changes from all commits
18aeb61
a72bdb9
70fb7e7
c113f90
9a83af6
43db19b
b14086b
5d4c27e
be588af
e52719c
6b5af3c
449dc09
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,20 @@ env: | |
CMAKE_BUILD_PARALLEL_LEVEL: 4 | ||
# on Debian-based images, avoid interactive prompts | ||
DEBIAN_FRONTEND: noninteractive | ||
# Fix issues like the following that can show up running 'R CMD check' on | ||
# specific clang versions: | ||
# | ||
# * checking for detritus in the temp directory ... NOTE | ||
# Found the following files/directories: | ||
# ‘dsymutil-63923a’ ‘dsymutil-9aa721’ ‘dsymutil-b7e1bb’ | ||
# | ||
# These are unlikely to show up in CRAN's checks. They come from | ||
# 'dsymutil ---gen-reproducer' being run (not something LightGBM explicitly does). | ||
# | ||
# ref: | ||
# - https://github.com/llvm/llvm-project/issues/61920 | ||
# - https://github.com/golang/go/issues/59026#issuecomment-1520487072 | ||
DSYMUTIL_REPRODUCER_PATH: /dev/null | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When In some versions of clang, those are not cleaned up correctly (llvm/llvm-project#61920).
Redirecting these files to anywhere else avoids the I think this is all fine for CI. If this kind of thing was a problem on CRAN, it'd affect every project on CRAN building with |
||
# parallelize compilation (extra important for Linux, where CRAN doesn't supply pre-compiled binaries) | ||
MAKEFLAGS: "-j4" | ||
# hack to get around this: | ||
|
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.
Chose the oldest included versions of XCode from here:
And while doing this, proposing this more-direct approach for selecting the version... depending on the actual macOS version instead of things that indirectly select it from this project's CI configs, like
$AZURE
and$COMPILER
.