Re: ports-clang & powerpc

2017-11-22 Thread Jeremie Courreges-Anglas
On Wed, Nov 22 2017, Landry Breuil  wrote:
> On Wed, Nov 22, 2017 at 08:54:21PM +0100, Jeremie Courreges-Anglas wrote:
>> 
>> devel/llvm doesn't build on powerpc and has now been marked broken.
>> IIUC, skipping ports-clang would unlock a bunch of ports:
>> 
>> sqlite> select count(1) from ports where compiler like 
>> '%ports-gcc%ports-clang%';
>> 10
>> sqlite> select count(1) from ports where compiler like 
>> '%ports-clang%ports-gcc%';
>> 235
>> 
>> While here, tweak the comment, as the list should now be accurate.
>> 
>> ok?
>
> I'd second this, and i'd even remove all the archs but the ones where we
> know llvm is *working* (ie, not only builds itself, but is actually
> capable of building other code...) i have doubts about sparc64 and
> mips64*.

I'd rather unplug ports-clang on powerpc as a first step.

Regarding other archs, it would be good to know how ports clang fails at
runtime before disabling it.  Do you have specific failures in mind?

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: ports-clang & powerpc

2017-11-22 Thread Landry Breuil
On Wed, Nov 22, 2017 at 08:54:21PM +0100, Jeremie Courreges-Anglas wrote:
> 
> devel/llvm doesn't build on powerpc and has now been marked broken.
> IIUC, skipping ports-clang would unlock a bunch of ports:
> 
> sqlite> select count(1) from ports where compiler like 
> '%ports-gcc%ports-clang%';
> 10
> sqlite> select count(1) from ports where compiler like 
> '%ports-clang%ports-gcc%';
> 235
> 
> While here, tweak the comment, as the list should now be accurate.
> 
> ok?

I'd second this, and i'd even remove all the archs but the ones where we
know llvm is *working* (ie, not only builds itself, but is actually
capable of building other code...) i have doubts about sparc64 and
mips64*.

Landry



ports-clang & powerpc

2017-11-22 Thread Jeremie Courreges-Anglas

devel/llvm doesn't build on powerpc and has now been marked broken.
IIUC, skipping ports-clang would unlock a bunch of ports:

sqlite> select count(1) from ports where compiler like 
'%ports-gcc%ports-clang%';
10
sqlite> select count(1) from ports where compiler like 
'%ports-clang%ports-gcc%';
235

While here, tweak the comment, as the list should now be accurate.

ok?


Index: arch-defines.mk
===
RCS file: /d/cvs/ports/infrastructure/mk/arch-defines.mk,v
retrieving revision 1.45
diff -u -p -p -u -r1.45 arch-defines.mk
--- arch-defines.mk 26 Oct 2017 19:40:32 -  1.45
+++ arch-defines.mk 22 Nov 2017 19:20:45 -
@@ -32,8 +32,8 @@ CLANG_ARCHS = aarch64 amd64 i386
 LLD_ARCHS = aarch64
 
 # arches where ports devel/llvm builds - populates llvm ONLY_FOR_ARCHS
-# as well as available for PROPERTIES checks.  XXX list currently inaccurate
-LLVM_ARCHS = aarch64 amd64 arm i386 powerpc mips64 mips64el sparc64
+# as well as available for PROPERTIES checks.
+LLVM_ARCHS = aarch64 amd64 arm i386 mips64 mips64el sparc64
 # arches where gcc4.9 exists.  To be used again for modules
 GCC49_ARCHS =amd64 arm hppa i386 mips64 mips64el powerpc sparc64
 

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE