diff options
author | Renato Golin <renato.golin@linaro.org> | 2017-05-24 14:54:08 +0100 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2017-05-24 14:54:08 +0100 |
commit | 2ea082c1cab77c5ffcd152c7fde90ab12a4f6ec1 (patch) | |
tree | 1d42d02b6d76820419f8443b0ac9496c2094b5fb | |
parent | 3278041bfe14057e3e425677b66b1126dec27418 (diff) |
tcwg-llvm-build.sh: Use llc for target name
Change-Id: If201cb6dcbfb4bbfef6576dcc664d4a26b2107b4
-rwxr-xr-x | tcwg-llvm-build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-llvm-build.sh b/tcwg-llvm-build.sh index 57be537e..3c2f4fb3 100755 --- a/tcwg-llvm-build.sh +++ b/tcwg-llvm-build.sh @@ -254,7 +254,7 @@ cd "$BUILDDIR" && ninja "-j$CPUS" install |& tee "$LOGBASE-install.$LOGEXT" # Pack & Ship PKGTAG="$BUILDID-$REVISION" -TARGET=$("$BUILDDIR/bin/clang" --version | awk '/Target:/ { print $2 }') +TARGET=$("$BUILDDIR/bin/llc" -version | awk '/target:/ { print $3 }') PKGNAME="$(push_binary_name "$PKGTAG" "$TARGET")" PKGDIR="$WORKSPACE/$PKGNAME" PUSHTYPE="binaries" |