[packages/hhvm/cotire] disable cotire

glen glen at pld-linux.org
Thu Jan 1 15:09:20 CET 2015


commit 77f9ff022cb71bdb4426a7d838b3367f8cbd4c63
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jan 1 16:08:52 2015 +0200

    disable cotire
    
    breaks on builders: https://github.com/facebook/hhvm/issues/4524

 hhvm.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/hhvm.spec b/hhvm.spec
index c7a8a10..0db52f3 100644
--- a/hhvm.spec
+++ b/hhvm.spec
@@ -6,6 +6,8 @@
 %bcond_without	system_fastlz	# system fastlz
 %bcond_without	system_libafdt	# system libafdt
 %bcond_without	system_libzip	# system libzip
+# cotire breaks sqlite3 on builders: https://github.com/facebook/hhvm/issues/4524
+%bcond_without	cotire			# cotire (compile time reducer): Speed up the build by precompiling headers
 
 # TODO
 # - system xhp
@@ -310,7 +312,7 @@ fi
 	%{?with_system_fastlz:-DSYSTEM_FASTLZ=ON} \
 	%{?with_system_libafdt:-DSYSTEM_LIBAFDT=ON} \
 	%{?with_system_libzip:-DSYSTEM_LIBZIP=ON} \
-	-DENABLE_COTIRE=ON \
+	-DENABLE_COTIRE=%{!?with_cotire:OFF}%{?with_cotire:ON} \
 	.
 
 # setup COMPILER_ID/HHVM_REPO_SCHEMA so it doesn't look it up from our package git repo
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hhvm.git/commitdiff/77f9ff022cb71bdb4426a7d838b3367f8cbd4c63



More information about the pld-cvs-commit mailing list