1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Cotire compilation speedup fails with upcoming libc++ 3.8.0, so disable it.

Reported by:	dim@
This commit is contained in:
Tilman Keskinoz 2016-05-02 12:40:09 +00:00
parent a1c9737410
commit af372bced7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414441
3 changed files with 15 additions and 17 deletions

View File

@ -23,9 +23,10 @@ USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${COMPILER_TYPE} == gcc
EXTRA_PATCHES= ${FILESDIR}/extra-patch-CMakeLists.txt
.endif
post-patch:
${REINPLACE_CMD} "/cotire/d" ${WRKSRC}/src/contrib/CMakeLists.txt \
${WRKSRC}/src/core/CMakeLists.txt \
${WRKSRC}/src/test/CMakeLists.txt
post-install:
cd ${WRKSRC}/include &&${INSTALL_DATA} *.h \

View File

@ -1,11 +0,0 @@
--- CMakeLists.txt.orig 2015-01-30 17:14:22.000000000 +0100
+++ CMakeLists.txt 2015-05-26 18:05:53.000000000 +0200
@@ -20,6 +20,8 @@
####################################
include(cotire)
+set_property(GLOBAL PROPERTY COTIRE_ENABLE_PRECOMPILED_HEADER FALSE)
+
# if setup using the Toolchain-llvm.cmake file, then use llvm...
if(ENABLE_LLVM)
include(Toolchain-llvm)

View File

@ -1,6 +1,14 @@
--- CMakeLists.txt.orig 2015-02-25 13:04:40.000000000 +0100
+++ CMakeLists.txt 2015-02-25 13:05:18.000000000 +0100
@@ -168,7 +168,7 @@
--- CMakeLists.txt.orig 2015-01-30 17:14:22.000000000 +0100
+++ CMakeLists.txt 2016-04-29 17:50:01.000000000 +0200
@@ -18,7 +18,6 @@
####################################
# pre-compiled headers support
####################################
-include(cotire)
# if setup using the Toolchain-llvm.cmake file, then use llvm...
if(ENABLE_LLVM)
@@ -168,7 +167,7 @@
FILES
"${CMAKE_CURRENT_BINARY_DIR}/liblucene++.pc"
"${CMAKE_CURRENT_BINARY_DIR}/liblucene++-contrib.pc"