Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to devel-xorg-modular grimoire by Treeve Jelbert (70b402e1b5b35d82399cba7d143bbb0ab7b17df3)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Treeve Jelbert <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to devel-xorg-modular grimoire by Treeve Jelbert (70b402e1b5b35d82399cba7d143bbb0ab7b17df3)
  • Date: Thu, 20 Jun 2013 08:24:43 -0500

GIT changes to devel-xorg-modular grimoire by Treeve Jelbert
<treeve AT sourcemage.org>:

devel/llvm/DEPENDS | 8 +++-----
devel/llvm/HISTORY | 4 ++++
devel/llvm/PRE_BUILD | 4 ++++
3 files changed, 11 insertions(+), 5 deletions(-)

New commits:
commit 70b402e1b5b35d82399cba7d143bbb0ab7b17df3
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>

llvm - fix build with python3

diff --git a/devel/llvm/DEPENDS b/devel/llvm/DEPENDS
index 4d89c8f..cfabd67 100755
--- a/devel/llvm/DEPENDS
+++ b/devel/llvm/DEPENDS
@@ -2,14 +2,12 @@ depends libtool &&
depends -sub CXX gcc &&
depends cmake &&
depends pkgconfig &&
+depends zlib '-DLLVM_ENABLE_ZLIB=1' &&
+depends PYTHON &&
if [[ "$LLVM_WITH_ANALYZER" == "y" ]]
then
# perl is required for scan-build, which is the analyzer itself
- runtime_depends perl &&
-
- # python is needed for scan-review, the results viewer, but the results can
- # also be viewed via any web browser so it isn't strictly necessary
- suggest_depends python
+ runtime_depends perl
fi &&

optional_depends ocaml '' '' 'build bindings for OCaml' &&
diff --git a/devel/llvm/HISTORY b/devel/llvm/HISTORY
index be05de9..f0e25b0 100644
--- a/devel/llvm/HISTORY
+++ b/devel/llvm/HISTORY
@@ -1,3 +1,7 @@
+2013-06-20 Treeve Jelbert <treeve AT sourcemage.org>
+ * DEPENDS: add PYTHON, zlib
+ * PRE_BUILD: fix build with python3
+
2013-06-18 Pol Vinogradov <vin.public AT gmail.com>
* DETAILS, PRE_BUILD: adapted clang build with current version
* Tools.cpp.patch: removed
diff --git a/devel/llvm/PRE_BUILD b/devel/llvm/PRE_BUILD
index f21c54e..714b5d3 100755
--- a/devel/llvm/PRE_BUILD
+++ b/devel/llvm/PRE_BUILD
@@ -12,5 +12,9 @@ if spell_ok libffi;then
FFI=${FFI//-I/} &&
FFI=${FFI//\ */} &&
sed -i "/FFI_I/s|\"\"|\"$FFI\"|" CMakeLists.txt
+fi &&
+if is_depends_enabled $SPELL python3;then
+ cd utils/llvm-build/llvmbuild &&
+ 2to3 --no-diffs -wn .
fi




  • [SM-Commit] GIT changes to devel-xorg-modular grimoire by Treeve Jelbert (70b402e1b5b35d82399cba7d143bbb0ab7b17df3), Treeve Jelbert, 06/20/2013

Archive powered by MHonArc 2.6.24.

Top of Page