mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
test-release.sh: Fix clang-tools-extra symlink for CMake build
The CMake and Autoconf builds want the symlink set up differently. llvm-svn: 257905
This commit is contained in:
parent
28c80c9c7f
commit
adee52f242
@ -288,10 +288,20 @@ function export_sources() {
|
||||
if [ ! -h clang ]; then
|
||||
ln -s ../../cfe.src clang
|
||||
fi
|
||||
cd $BuildDir/llvm.src/tools/clang/tools
|
||||
if [ ! -h extra ]; then
|
||||
ln -s ../../../../clang-tools-extra.src extra
|
||||
|
||||
# The autoconf and CMake builds want different symlinks here:
|
||||
if [ "$use_autoconf" = "yes" ]; then
|
||||
cd $BuildDir/llvm.src/tools/clang/tools
|
||||
if [ ! -h extra ]; then
|
||||
ln -s ../../../../clang-tools-extra.src extra
|
||||
fi
|
||||
else
|
||||
cd $BuildDir/cfe.src/tools
|
||||
if [ ! -h extra ]; then
|
||||
ln -s ../../clang-tools-extra.src extra
|
||||
fi
|
||||
fi
|
||||
|
||||
cd $BuildDir/llvm.src/projects
|
||||
if [ -d $BuildDir/test-suite.src ] && [ ! -h test-suite ]; then
|
||||
ln -s ../../test-suite.src test-suite
|
||||
|
Loading…
Reference in New Issue
Block a user