Skip to content

Commit

Permalink
Fix llvm-utils dir
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Sep 21, 2019
1 parent 4302653 commit 43b6479
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ cmake -DCMAKE_INSTALL_PREFIX="${PREFIX}" \
-DLLVM_INCLUDE_GO_TESTS=OFF \
-DLLVM_INCLUDE_UTILS=ON \
-DLLVM_INSTALL_UTILS=ON \
-DLLVM_UTILS_INSTALL_DIR=$SRC_DIR/install-utils \
-DLLVM_UTILS_INSTALL_DIR=$PREFIX/libexec/llvm \
-DLLVM_INCLUDE_DOCS=OFF \
-DLLVM_INCLUDE_EXAMPLES=OFF \
-DLLVM_ENABLE_TERMINFO=OFF \
Expand Down
4 changes: 2 additions & 2 deletions recipe/install_llvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ if [[ "${PKG_NAME}" == libllvm* ]]; then
rm -rf $PREFIX/bin
rm -rf $PREFIX/include
rm -rf $PREFIX/share
rm -rf $PREFIX/libexec
mv $PREFIX/lib $PREFIX/lib2
mkdir -p $PREFIX/lib
mv $PREFIX/lib2/libLLVM-${VER_ARR[0]}${SHLIB_EXT} $PREFIX/lib
Expand All @@ -17,7 +18,6 @@ elif [[ "${PKG_NAME}" == "llvm-tools" ]]; then
rm -rf $PREFIX/lib
rm -rf $PREFIX/include
rm $PREFIX/bin/llvm-config
elif [[ "${PKG_NAME}" == "llvm-utils" ]]; then
mv $SRC_DIR/install-utils/* $PREFIX/bin/
rm -rf $PREFIX/libexec
fi

2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% set version = "9.0.0" %}
{% set sha256 = "d6a0565cf21f22e9b4353b2eb92622e8365000a9e90a16b09b56f8157eabfe84" %}

{% set build_number = 0 %}
{% set build_number = 1 %}
{% set major_ver = version.split(".")[0] %}

package:
Expand Down

0 comments on commit 43b6479

Please sign in to comment.