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

[CI] Improve CI for Mac M1 #9748

Merged
merged 4 commits into from
Nov 1, 2023
Merged

[CI] Improve CI for Mac M1 #9748

merged 4 commits into from
Nov 1, 2023

Conversation

hcho3
Copy link
Collaborator

@hcho3 hcho3 commented Nov 1, 2023

  • Don't create Conda env
  • Build XGBoost4J lib

@hcho3 hcho3 merged commit 1b9ed4a into dmlc:master Nov 1, 2023
23 of 26 checks passed
@hcho3 hcho3 deleted the fix_macos_ci branch November 1, 2023 17:04
@@ -32,6 +32,9 @@ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
message(FATAL_ERROR "Need Clang 9.0 or newer to build XGBoost")
endif()
endif()
if(APPLE)
set(CMAKE_MACOSX_DEPLOYMENT_TARGET 10.15)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to use this as an independent command line argument in CI instead of hardcoding it into the source code?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, let me create a PR.

hcho3 added a commit to hcho3/xgboost that referenced this pull request Dec 14, 2023
* [CI] Improve CI for Mac M1

* Add -v flag

* Disable OpenMP in libxgboost4j.dylib

* Target MacOS 10.15+ to use C++17
hcho3 added a commit that referenced this pull request Dec 14, 2023
* [CI] Set up CI for Mac M1 (#9699)

* [CI] Improve CI for Mac M1 (#9748)

* [CI] Build libxgboost4j.dylib with CMAKE_OSX_DEPLOYMENT_TARGET (#9749)

* [CI] Upload libxgboost4j.dylib (M1) to S3 bucket (#9886)
razdoburdin added a commit to IntelPython/xgboost_oneapi that referenced this pull request Dec 19, 2023
* [backport][sklearn] Fix loading model attributes. (dmlc#9808) (dmlc#9880)

* [backport][py] Use the first found native library. (dmlc#9860) (dmlc#9879)

* [backport] [CI] Upload libxgboost4j.dylib (M1) to S3 bucket (dmlc#9887)

* [CI] Set up CI for Mac M1 (dmlc#9699)

* [CI] Improve CI for Mac M1 (dmlc#9748)

* [CI] Build libxgboost4j.dylib with CMAKE_OSX_DEPLOYMENT_TARGET (dmlc#9749)

* [CI] Upload libxgboost4j.dylib (M1) to S3 bucket (dmlc#9886)

* [jvm-packages] Fix POM for xgboost-jvm metapackage (dmlc#9893)

* [jvm-packages] Fix POM for xgboost-jvm metapackage

* Add script for updating the Scala version

* Bump version to 2.0.3 (dmlc#9895)

* Update change_scala_version.py to also change scala.version property (dmlc#9897)

---------

Co-authored-by: Jiaming Yuan <[email protected]>
Co-authored-by: Philip Hyunsu Cho <[email protected]>
razdoburdin added a commit to IntelPython/xgboost_oneapi that referenced this pull request May 15, 2024
* [backport][sklearn] Fix loading model attributes. (dmlc#9808) (dmlc#9880)

* [backport][py] Use the first found native library. (dmlc#9860) (dmlc#9879)

* [backport] [CI] Upload libxgboost4j.dylib (M1) to S3 bucket (dmlc#9887)

* [CI] Set up CI for Mac M1 (dmlc#9699)

* [CI] Improve CI for Mac M1 (dmlc#9748)

* [CI] Build libxgboost4j.dylib with CMAKE_OSX_DEPLOYMENT_TARGET (dmlc#9749)

* [CI] Upload libxgboost4j.dylib (M1) to S3 bucket (dmlc#9886)

* [jvm-packages] Fix POM for xgboost-jvm metapackage (dmlc#9893)

* [jvm-packages] Fix POM for xgboost-jvm metapackage

* Add script for updating the Scala version

* Bump version to 2.0.3 (dmlc#9895)

* Update change_scala_version.py to also change scala.version property (dmlc#9897)

* [backport] Fix compiling with the latest CTX. (dmlc#10263)

---------

Co-authored-by: Jiaming Yuan <[email protected]>
Co-authored-by: Philip Hyunsu Cho <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants