mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
llvm-3.4.2: fix RPATH, and fix up paths used in llvm-config, etc.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
SUMMARY="Modular and reuseable compiler and toolchain technologies."
|
||||
SUMMARY="Modular and reuseable compiler and toolchain technologies."
|
||||
DESCRIPTION="
|
||||
LLVM is a collection of modular and reuseable compiler and and toolchain \
|
||||
technologies.
|
||||
@@ -8,7 +8,7 @@ LICENSE="UIUC"
|
||||
COPYRIGHT="2003-2014 University of Illinois at Urbana-Champaign"
|
||||
SRC_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.gz"
|
||||
CHECKSUM_SHA256="17038d47069ad0700c063caed76f0c7259628b0e79651ce2b540d506f2f1efd7"
|
||||
REVISION="1"
|
||||
REVISION="4"
|
||||
ARCHITECTURES="x86 x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
@@ -47,7 +47,7 @@ PROVIDES="
|
||||
lib:BugpointPasses$secondaryArchSuffix
|
||||
lib:LLVMHello$secondaryArchSuffix
|
||||
lib:libLTO$secondaryArchSuffix
|
||||
|
||||
|
||||
devel:libLLVMAArch64AsmParser$secondaryArchSuffix
|
||||
devel:libLLVMAArch64AsmPrinter$secondaryArchSuffix
|
||||
devel:libLLVMAArch64CodeGen$secondaryArchSuffix
|
||||
@@ -172,7 +172,7 @@ BUILD_PREREQUIRES="
|
||||
cmd:grep
|
||||
"
|
||||
|
||||
PATCHES="llvm-3.4.1.patchset"
|
||||
PATCHES="llvm-3.4.2.patchset"
|
||||
|
||||
SOURCE_DIR="llvm-$portVersion.src"
|
||||
|
||||
@@ -181,7 +181,7 @@ BUILD()
|
||||
# Haiku C++ requires rtti in a lot of central system components
|
||||
# such as Mesa
|
||||
export REQUIRES_RTTI=1
|
||||
runConfigure ./configure --enable-optimized
|
||||
runConfigure --omit-dirs binDir ./configure --bindir=$prefix/bin --enable-optimized
|
||||
make $jobArgs PROJ_datadir=$dataDir PROJ_docsdir=$docDir \
|
||||
PROJ_mandir=$manDir PROJ_includedir=$includeDir PROJ_libdir=$libDir
|
||||
}
|
||||
@@ -199,7 +199,7 @@ INSTALL()
|
||||
prepareInstalledDevelLibs libLLVMSystemZAsmParser libLLVMSystemZDisassembler
|
||||
prepareInstalledDevelLibs libLLVMX86AsmParser libLLVMX86Disassembler libLLVMX86Utils
|
||||
prepareInstalledDevelLibs libLLVMXCoreDisassembler
|
||||
|
||||
|
||||
prepareInstalledDevelLibs libLLVMSparcCodeGen libLLVMSparcDesc libLLVMSparcInfo
|
||||
|
||||
for arch in AArch64 ARM Hexagon Mips MSP430 NVPTX PowerPC R600 SystemZ X86 XCore
|
||||
@@ -207,7 +207,7 @@ INSTALL()
|
||||
prepareInstalledDevelLibs libLLVM${arch}AsmPrinter \
|
||||
libLLVM${arch}CodeGen libLLVM${arch}Desc libLLVM${arch}Info
|
||||
done
|
||||
|
||||
|
||||
prepareInstalledDevelLibs libLLVMAnalysis libLLVMAsmParser \
|
||||
libLLVMAsmPrinter libLLVMBitReader libLLVMBitWriter libLLVMCodeGen \
|
||||
libLLVMCore libLLVMCppBackendCodeGen libLLVMCppBackendInfo \
|
||||
|
||||
Reference in New Issue
Block a user