libllvm: should be no need to set up llvm-config in build.sh

It is done in termux_step_override_config_scripts instead.

%ci:no-build
This commit is contained in:
Henrik Grimler 2021-12-04 16:06:17 +01:00
parent a5cf5ef9d5
commit 845c2c79a9
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
1 changed files with 0 additions and 11 deletions

View File

@ -141,14 +141,3 @@ termux_step_post_make_install() {
done
fi
}
termux_step_post_massage() {
# Not added to the package but kept around on the host for other packages like rust,
# which relies on LLVM, to use for configuration.
sed $TERMUX_PKG_BUILDER_DIR/llvm-config.in \
-e "s|@TERMUX_PKG_VERSION@|$TERMUX_PKG_VERSION|g" \
-e "s|@TERMUX_PKG_SRCDIR@|$TERMUX_PKG_SRCDIR|g" \
-e "s|@LLVM_DEFAULT_TARGET_TRIPLE@|$LLVM_DEFAULT_TARGET_TRIPLE|g" \
-e "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|g" > $TERMUX_PREFIX/bin/llvm-config
chmod 755 $TERMUX_PREFIX/bin/llvm-config
}