[packages/hiphop-php] setup COMPILER_ID/HHVM_REPO_SCHEMA so it doesn't look it up from our package git repo

glen glen at pld-linux.org
Mon Oct 7 08:51:44 CEST 2013


commit c513fdf6f374cbc7ab45a73064a1b108f341601e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Oct 7 09:49:05 2013 +0300

    setup COMPILER_ID/HHVM_REPO_SCHEMA so it doesn't look it up from our package git repo
    
    test:
    $ hhvm  --compiler-id
    tags/HPHP-2.1.0-78394ee3f8c332eabdd97a3970f356b3ce70aacb
    $ hhvm  --repo-schema
    059341548_1381096940

 hiphop-php.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/hiphop-php.spec b/hiphop-php.spec
index 7559b3d..fe5a38c 100644
--- a/hiphop-php.spec
+++ b/hiphop-php.spec
@@ -132,6 +132,13 @@ CPPFLAGS="%{rpmcppflags} -fno-permissive"
 	-DUSE_JEMALLOC=OFF \
 	-DUSE_TCMALLOC=OFF \
 	./
+
+# setup COMPILER_ID/HHVM_REPO_SCHEMA so it doesn't look it up from our package git repo
+# see hphp/util/generate-buildinfo.sh
+sha=$(echo %{name}-%{githash}*)
+export COMPILER_ID=HPHP-%{version}-%{release}-${sha#%{name}-}
+export HHVM_REPO_SCHEMA=$(date +%N_%s)
+
 %{__make}
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hiphop-php.git/commitdiff/f84723821490b4ddef977b2077c8821b4bbeb657



More information about the pld-cvs-commit mailing list