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
3d386be2
Unverified
Commit
3d386be2
authored
Jul 14, 2024
by
James Lamb
Committed by
GitHub
Jul 14, 2024
Browse files
[ci] [R-package] use --no-xattrs when re-tarring CRAN-style package (#6540)
parent
830763d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
build-cran-package.sh
build-cran-package.sh
+4
-0
No files found.
build-cran-package.sh
View file @
3d386be2
...
...
@@ -202,8 +202,12 @@ if ${BUILD_VIGNETTES} ; then
rm
-f
./lightgbm/src/utils/
*
.o
echo
"re-tarring
${
TARBALL_NAME
}
"
# --no-xattrs is the default in GNU tar but not some distributions of BSD tar.
# Enable it here to avoid errors on macOS.
# ref: https://stackoverflow.com/a/74373784/3986677
tar
\
-cz
\
--no-xattrs
\
-f
"
${
TARBALL_NAME
}
"
\
lightgbm
\
>
/dev/null 2>&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