mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 21:34:23 +00:00
Make this script not care where it is run from by getting the llvm src
root from the llvm-config script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29632 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c9f8f41680
commit
8312657fc3
@ -19,7 +19,7 @@
|
|||||||
# details.
|
# details.
|
||||||
##===----------------------------------------------------------------------===##
|
##===----------------------------------------------------------------------===##
|
||||||
|
|
||||||
TOPDIR=`pwd | sed -e 's#\(.*/llvm\).*#\1#'`
|
TOPDIR=`llvm-config --src-root`
|
||||||
if test -d "$TOPDIR" ; then
|
if test -d "$TOPDIR" ; then
|
||||||
cd $TOPDIR
|
cd $TOPDIR
|
||||||
./utils/llvmdo -dirs "include lib tools test utils examples" wc -l | awk '\
|
./utils/llvmdo -dirs "include lib tools test utils examples" wc -l | awk '\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user