[packages/hhvm] add cotire bcond
glen
glen at pld-linux.org
Thu Jan 1 20:35:17 CET 2015
commit 2e505d7041b78c94942950a6f1ee1ae2d91967f4
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Jan 1 16:08:52 2015 +0200
add cotire bcond
hhvm.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/hhvm.spec b/hhvm.spec
index c7a8a10..17e4a56 100644
--- a/hhvm.spec
+++ b/hhvm.spec
@@ -6,6 +6,7 @@
%bcond_without system_fastlz # system fastlz
%bcond_without system_libafdt # system libafdt
%bcond_without system_libzip # system libzip
+%bcond_without cotire # cotire (compile time reducer): Speed up the build by precompiling headers
# TODO
# - system xhp
@@ -310,7 +311,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/8041f44b0bec4b68a6c83b268ed987dd4f9f222b
More information about the pld-cvs-commit
mailing list