-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
sources: | ||
"3.3.2": | ||
url: "https://github.com/microsoft/LightGBM/archive/refs/tags/v3.3.2.tar.gz" | ||
sha256: "d7c0f842e94165578d5a0c046ca942838d1574149f98c84400ce511239d17b9f" | ||
"3.3.5": | ||
url: "https://github.com/microsoft/LightGBM/archive/refs/tags/v3.3.5.tar.gz" | ||
sha256: "16fb9e299ced37be5ac69dd510e7323337e623019c9c578628c43b285f764be7" | ||
patches: | ||
"3.3.5": | ||
"3.3.2": | ||
- patch_file: "patches/0001-fix-includes.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/0002-fix-openmp-clang.patch" | ||
base_path: "source_subfolder" | ||
"3.3.5": | ||
- patch_file: "patches/0001-fix-includes.patch" | ||
base_path: "source_subfolder" | ||
- patch_file: "patches/0003-fix-openmp-clang.patch" | ||
base_path: "source_subfolder" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 95610d55..2b48507d 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -444,7 +444,7 @@ if(USE_MPI) | ||
endif(USE_MPI) | ||
|
||
if(USE_OPENMP) | ||
- if(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") | ||
+ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang|AppleClang") | ||
TARGET_LINK_LIBRARIES(lightgbm OpenMP::OpenMP_CXX) | ||
TARGET_LINK_LIBRARIES(_lightgbm OpenMP::OpenMP_CXX) | ||
endif() |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
versions: | ||
"3.3.2": | ||
folder: all | ||
"3.3.5": | ||
folder: all |