pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/libLLVM



Module Name:    pkgsrc
Committed By:   joerg
Date:           Fri Mar 24 11:43:52 UTC 2017

Modified Files:
        pkgsrc/lang/libLLVM: Makefile

Log Message:
Link llvm-lto2 and the other tools dynamically against libLLVM to avoid
the size penalty. The primary intention of this package is to provide a
standalone library for other consumers of LLVM and the size difference
doesn't justify the small performance penalty. Bump revision.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/lang/libLLVM/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/libLLVM/Makefile
diff -u pkgsrc/lang/libLLVM/Makefile:1.19 pkgsrc/lang/libLLVM/Makefile:1.20
--- pkgsrc/lang/libLLVM/Makefile:1.19   Fri Mar 17 22:38:18 2017
+++ pkgsrc/lang/libLLVM/Makefile        Fri Mar 24 11:43:52 2017
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2017/03/17 22:38:18 adam Exp $
+# $NetBSD: Makefile,v 1.20 2017/03/24 11:43:52 joerg Exp $
 
 DISTNAME=      llvm-4.0.0.src
 PKGNAME=       ${DISTNAME:S/llvm/libLLVM/:S/.src//}
+PKGREVISION=   1
 CATEGORIES=    lang devel
 MASTER_SITES=  http://llvm.org/releases/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.xz
@@ -23,7 +24,9 @@ CMAKE_ARGS+=  -DCMAKE_BUILD_TYPE=Release
 CMAKE_ARGS+=   -DCMAKE_C_COMPILER=gcc
 CMAKE_ARGS+=   -DCMAKE_CXX_COMPILER=g++
 CMAKE_ARGS+=   -DLLVM_BUILD_LLVM_DYLIB=ON
+CMAKE_ARGS+=   -DLLVM_LINK_LLVM_DYLIB=ON
 CMAKE_ARGS+=   -DLLVM_INCLUDE_TESTS=OFF
+CMAKE_ARGS+=   -DCMAKE_EXE_LINKER_FLAGS=${COMPILER_RPATH_FLAG}${PREFIX}/lib/libLLVM
 
 CMAKE_ARGS.Darwin+=    -DCMAKE_LIBTOOL=/usr/bin/libtool
 



Home | Main Index | Thread Index | Old Index