diff options
author | Ismael Luceno | 2019-05-23 20:33:23 +0200 |
---|---|---|
committer | Ismael Luceno | 2019-05-23 20:33:23 +0200 |
commit | ea05d55437e14ef9d12bb546bb510088cd5bcad7 (patch) | |
tree | 79b44f92a1d60ed72ebcd8671f66f9445367a781 | |
parent | 5ceb29ed8e710a9272312a0b855d041aee930858 (diff) |
llvm: Now only builds with python3
-rwxr-xr-x | devel/llvm/DEPENDS | 2 | ||||
-rw-r--r-- | devel/llvm/HISTORY | 3 | ||||
-rwxr-xr-x | devel/llvm/PRE_BUILD | 4 |
3 files changed, 4 insertions, 5 deletions
diff --git a/devel/llvm/DEPENDS b/devel/llvm/DEPENDS index 5efaadd5cc..2778627cce 100755 --- a/devel/llvm/DEPENDS +++ b/devel/llvm/DEPENDS @@ -3,7 +3,7 @@ depends libtool && depends -sub CXX gcc && depends pkgconfig && depends zlib '-DLLVM_ENABLE_ZLIB=1' && -depends PYTHON && +depends python3 && if [[ "$LLVM_WITH_ANALYZER" == "y" ]] then # perl is required for scan-build, which is the analyzer itself diff --git a/devel/llvm/HISTORY b/devel/llvm/HISTORY index 8e5e947010..f8f311c57c 100644 --- a/devel/llvm/HISTORY +++ b/devel/llvm/HISTORY @@ -1,3 +1,6 @@ +2019-05-23 Ismael Luceno <ismael@sourcemage.org> + * DEPENDS, PRE_BUILD: Remove python, builds only with python3 now + 2019-05-05 Pavel Vinogradov <public@sourcemage.org> * 0001-fix-compile-error{,-clang}.patch: fixed building without clang diff --git a/devel/llvm/PRE_BUILD b/devel/llvm/PRE_BUILD index 4d277f8775..225dc801a7 100755 --- a/devel/llvm/PRE_BUILD +++ b/devel/llvm/PRE_BUILD @@ -47,10 +47,6 @@ if spell_ok libffi;then sed -i "/FFI_I/s|\"\"|\"$FFI\"|" "${SOURCE_DIRECTORY}/CMakeLists.txt" fi && -if is_depends_enabled $SPELL python3;then - cd utils/llvm-build/llvmbuild && - 2to3 --no-diffs -wn . -fi && # do not build all backends sed -i "/^set.*all\"$/s/all//" "${SOURCE_DIRECTORY}/CMakeLists.txt" && |