llvm.org GIT mirror llvm / f75308f
test-release.sh: Fix clang-tools-extra symlink for CMake build The CMake and Autoconf builds want the symlink set up differently. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257905 91177308-0d34-0410-b5e6-96231b3b80d8 Hans Wennborg 4 years ago
1 changed file(s) with 14 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
287287 if [ ! -h clang ]; then
288288 ln -s ../../cfe.src clang
289289 fi
290 cd $BuildDir/llvm.src/tools/clang/tools
291 if [ ! -h extra ]; then
292 ln -s ../../../../clang-tools-extra.src extra
293 fi
290
291 # The autoconf and CMake builds want different symlinks here:
292 if [ "$use_autoconf" = "yes" ]; then
293 cd $BuildDir/llvm.src/tools/clang/tools
294 if [ ! -h extra ]; then
295 ln -s ../../../../clang-tools-extra.src extra
296 fi
297 else
298 cd $BuildDir/cfe.src/tools
299 if [ ! -h extra ]; then
300 ln -s ../../clang-tools-extra.src extra
301 fi
302 fi
303
294304 cd $BuildDir/llvm.src/projects
295305 if [ -d $BuildDir/test-suite.src ] && [ ! -h test-suite ]; then
296306 ln -s ../../test-suite.src test-suite