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:
parent
a5cf5ef9d5
commit
845c2c79a9
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user