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
2ce94266
Unverified
Commit
2ce94266
authored
Jul 18, 2024
by
James Lamb
Committed by
GitHub
Jul 18, 2024
Browse files
[ci] [R-package] help linker find libstdc++.so.1 in clang18 job (fixes #6553) (#6554)
parent
f8ec57b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
.github/workflows/r_package.yml
.github/workflows/r_package.yml
+5
-0
No files found.
.github/workflows/r_package.yml
View file @
2ce94266
...
@@ -316,6 +316,11 @@ jobs:
...
@@ -316,6 +316,11 @@ jobs:
-
name
:
Install packages and run tests
-
name
:
Install packages and run tests
shell
:
bash
shell
:
bash
run
:
|
run
:
|
# patch around library-loading issues in clang18 image
# ref: https://github.com/microsoft/LightGBM/issues/6553
if [[ "${{ matrix.image }}" == "clang18" ]]; then
export LD_LIBRARY_PATH="/usr/lib/llvm-18/lib:${LD_LIBRARY_PATH}"
fi
Rscript -e "install.packages(c('R6', 'data.table', 'jsonlite', 'knitr', 'markdown', 'Matrix', 'RhpcBLASctl', 'testthat'), repos = 'https://cran.rstudio.com', Ncpus = parallel::detectCores())"
Rscript -e "install.packages(c('R6', 'data.table', 'jsonlite', 'knitr', 'markdown', 'Matrix', 'RhpcBLASctl', 'testthat'), repos = 'https://cran.rstudio.com', Ncpus = parallel::detectCores())"
sh build-cran-package.sh
sh build-cran-package.sh
if [[ "${{ matrix.image }}" =~ "clang" ]]; then
if [[ "${{ matrix.image }}" =~ "clang" ]]; then
...
...
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