Package Details: clang-trunk 9.0.0svn_r360728-3

Git Clone URL: https://aur.archlinux.org/clang-trunk.git (read-only)
Package Base: clang-trunk
Description: A collection of LLVM-based C++ dev tools
Upstream URL: https://llvm.org/
Licenses: custom:University of Illinois
Conflicts: clang, clang-analyzer, compiler-rt, libc++, libc++abi, libc++experimental, lld, lldb, llvm, llvm-libs
Provides: clang, clang-analyzer, compiler-rt, libc++, libc++abi, libc++experimental, lld, lldb, llvm, llvm-libs
Submitter: mikezackles
Maintainer: mikezackles
Last Packager: mikezackles
Votes: 0
Popularity: 0.000000
First Submitted: 2018-08-27 22:14
Last Updated: 2019-10-17 16:57

Required by (811)

Sources (10)

Pinned Comments

mikezackles commented on 2018-08-27 22:17

This package is an attempt to facilitate C++ development against clang trunk. It's based on the llvm-svn package, but the split package has been removed in favor of a single fat package.

Latest Comments

mikezackles commented on 2019-10-17 16:58

Ah, I think I see. The newer change has been applied. Thanks again.

eschulte commented on 2019-10-17 16:33

Sorry to spam these comments.

This is a better fix (generalize to support Python 3.7):

From 263bcd489e273a76a956291fad1539193eb4b5e3 Mon Sep 17 00:00:00 2001
From: Eric Schulte
Date: Thu, 17 Oct 2019 12:04:40 -0400
Subject: [PATCH] Generalize python-six file rm for python 3.7

---
 PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index b6417a5..559b490 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -170,7 +170,7 @@ check() {
 package() {
     cd "${srcdir}/build"
     DESTDIR=${pkgdir} ninja install
-    rm "${pkgdir}/usr/lib/python2.7/site-packages/six.py"
+    rm -f ${pkgdir}/usr/lib/python{2.7,3.7}/site-packages/six.py
 }

 # vim:set ts=4 sts=4 sw=4 et:
-- 
2.23.0

mikezackles commented on 2019-10-17 16:32

Thanks! I don't have time to test this, but I went ahead and rolled your change into the PKGBUILD. Happy clanging :)

eschulte commented on 2019-10-17 16:03

The following change to the install target in the PKGBUILD (simply removing this call to rm) fixed this for me:

-    rm "${pkgdir}/usr/lib/python2.7/site-packages/six.py"

eschulte commented on 2019-10-15 23:54

The build is failing for me during the package stage with the following:

...
-- Installing: /media/other/home/eschulte/.cache/yay/clang-trunk/pkg/clang-trunk/usr/lib/cmake/llvm/./GenerateVersionFromVCS.cmake    
-- Installing: /media/other/home/eschulte/.cache/yay/clang-trunk/pkg/clang-trunk/usr/lib/cmake/llvm/./HandleLLVMOptions.cmake         
-- Installing: /media/other/home/eschulte/.cache/yay/clang-trunk/pkg/clang-trunk/usr/lib/cmake/llvm/./LLVMExternalProjectUtils.cmake  
rm: cannot remove '/media/other/home/eschulte/.cache/yay/clang-trunk/pkg/clang-trunk/usr/lib/python2.7/site-packages/six.py': No such file or directory
==> ERROR: A failure occurred in package().                                                                             
    Aborting...
Error making: clang-trunk

mikezackles commented on 2018-08-27 22:17

This package is an attempt to facilitate C++ development against clang trunk. It's based on the llvm-svn package, but the split package has been removed in favor of a single fat package.