New commits:
commit 9161a21c2af94910747b5b13c3f44a8db7a7de4e
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
devel/llvm: reenabled staged installation + some refactoring
diff --git a/devel/llvm/DETAILS b/devel/llvm/DETAILS
index 51e8bb1..ad7e87a 100755
--- a/devel/llvm/DETAILS
+++ b/devel/llvm/DETAILS
@@ -81,7 +81,6 @@
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}.src"
ENTERED=20081115
SHORT="A novel compiler infrastructure for the optimization of
programs."
TMPFS=off # Well, needs about 5G space, plus actual RAM for
compiling.
- STAGED_INSTALL=off # chmod issues with castfs
cat << EOF
Low-Level Virtual Machine (LLVM) is a compiler infrastructure designed for
compile-time, link-time, run-time, and "idle-time" optimization of programs
diff --git a/devel/llvm/FINAL b/devel/llvm/FINAL
new file mode 100755
index 0000000..355801c
--- /dev/null
+++ b/devel/llvm/FINAL
@@ -0,0 +1,27 @@
+if [[ "$LLVM_WITH_ANALYZER" == "y" ]]; then
+ target="${INSTALL_ROOT}/usr/share/llvm" &&
+
+ chown "root:root" "${target}/scan-build" &&
+ chmod 0755 "${target}/scan-build" &&
+
+ chown "root:root" "${target}/scan-view" &&
+ chmod 0755 "${target}/scan-view" &&
+
+ for i in ccc-analyzer c++-analyzer scan-build scan-view; do
+ chown "root:root" "${INSTALL_ROOT}/usr/bin/${i}" &&
+ chmod 0755 "${INSTALL_ROOT}/usr/bin/${i}"
+ done &&
+
+ for i in scanview.css sorttable.js;; do
+ chown "root:root" "${target}/scan-build/${i}" &&
+ chmod 0644 "${target}/scan-build/${i}"
+ done &&
+
+ for i in Reporter.py ScanView.py startfile.py; do
+ chown "root:root" "${target}/scan-view/${i}" &&
+ chmod 0644 "${target}/scan-view/${i}"
+ done &&
+
+ chown "root:root" "${INSTALL_ROOT}/usr/share/man/man1/scan-build.1" &&
+ chmod 0644 "${INSTALL_ROOT}/usr/share/man/man1/scan-build.1"
+fi
diff --git a/devel/llvm/HISTORY b/devel/llvm/HISTORY
index 2938e53..4173c41 100644
--- a/devel/llvm/HISTORY
+++ b/devel/llvm/HISTORY
@@ -1,5 +1,7 @@
2022-09-20 Pavel Vinogradov <public AT sourcemage.org>
- * DETAILS: version 15.0.1
+ * DETAILS: version 15.0.1, reenabled staged installation
+ * INSTALL, FINAL: moved the ownership and permissions setting code to
FINAL,
+ refactored installation of analyzer files and python3 bindings
2022-09-06 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS, PRE_BUILD: version 15.0.0, added cmake modules archive for
all
diff --git a/devel/llvm/INSTALL b/devel/llvm/INSTALL
index ed9e2f5..c5691fc 100755
--- a/devel/llvm/INSTALL
+++ b/devel/llvm/INSTALL
@@ -8,28 +8,32 @@ then