mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:39:47 +00:00
[docker] Fix LLVM_EXTERNAL_PROJECTS cmake variable value
Summary: LLVM_ENABLE_PROJECTS expects a semicolon separated project list. Fixes PR38158. Reviewers: ilya-biryukov Reviewed By: ilya-biryukov Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D49712 llvm-svn: 337842
This commit is contained in:
parent
edf551b3f6
commit
964ca0d2f0
@ -117,7 +117,7 @@ while [[ $# -gt 0 ]]; do
|
||||
|
||||
CHECKOUT_ARGS="$CHECKOUT_ARGS $1 $PROJ"
|
||||
if [ "$PROJ" != "clang-tools-extra" ]; then
|
||||
CMAKE_ENABLED_PROJECTS="$CMAKE_ENABLED_PROJECTS:$PROJ"
|
||||
CMAKE_ENABLED_PROJECTS="$CMAKE_ENABLED_PROJECTS;$PROJ"
|
||||
fi
|
||||
|
||||
shift 2
|
||||
@ -142,7 +142,7 @@ done
|
||||
|
||||
|
||||
if [ "$CMAKE_ENABLED_PROJECTS" != "" ]; then
|
||||
# Remove the leading ':' character.
|
||||
# Remove the leading ';' character.
|
||||
CMAKE_ENABLED_PROJECTS="${CMAKE_ENABLED_PROJECTS:1}"
|
||||
|
||||
if [[ $SEEN_CMAKE_ARGS -eq 0 ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user