Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
c4e70f3c
Unverified
Commit
c4e70f3c
authored
Jun 21, 2024
by
James Lamb
Committed by
GitHub
Jun 21, 2024
Browse files
[ci] remove OpenMP / MKL workaround in CI jobs (#6496)
parent
6fa5dc8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
.ci/test.sh
.ci/test.sh
+0
-5
No files found.
.ci/test.sh
View file @
c4e70f3c
...
...
@@ -163,11 +163,6 @@ source activate $CONDA_ENV
cd
$BUILD_DIRECTORY
if
[[
$OS_NAME
==
"macos"
]]
&&
[[
$COMPILER
==
"clang"
]]
;
then
# fix "OMP: Error #15: Initializing libiomp5.dylib, but found libomp.dylib already initialized." (OpenMP library conflict due to conda's MKL)
for
LIBOMP_ALIAS
in
libgomp.dylib libiomp5.dylib libomp.dylib
;
do
sudo ln
-sf
"
$(
brew
--cellar
libomp
)
"
/
*
/lib/libomp.dylib
$CONDA_PREFIX
/lib/
$LIBOMP_ALIAS
||
exit
1
;
done
fi
if
[[
$TASK
==
"sdist"
]]
;
then
cd
$BUILD_DIRECTORY
&&
sh ./build-python.sh sdist
||
exit
1
sh
$BUILD_DIRECTORY
/.ci/check_python_dists.sh
$BUILD_DIRECTORY
/dist
||
exit
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment