diff options
Diffstat (limited to 'meta-linaro/recipes-extra/hiphopvm/hiphopvm_git.bb')
-rw-r--r-- | meta-linaro/recipes-extra/hiphopvm/hiphopvm_git.bb | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/meta-linaro/recipes-extra/hiphopvm/hiphopvm_git.bb b/meta-linaro/recipes-extra/hiphopvm/hiphopvm_git.bb new file mode 100644 index 0000000..77cd299 --- /dev/null +++ b/meta-linaro/recipes-extra/hiphopvm/hiphopvm_git.bb | |||
@@ -0,0 +1,67 @@ | |||
1 | DEPENDS = " \ | ||
2 | binutils \ | ||
3 | bison-native \ | ||
4 | boost \ | ||
5 | bzip2 \ | ||
6 | cmake \ | ||
7 | elfutils \ | ||
8 | expat \ | ||
9 | flex-native \ | ||
10 | gd \ | ||
11 | glog \ | ||
12 | icu \ | ||
13 | libcap \ | ||
14 | libc-client \ | ||
15 | libdwarf \ | ||
16 | libevent-fb \ | ||
17 | libmcrypt \ | ||
18 | libmemcached \ | ||
19 | libunwind \ | ||
20 | libxml2 \ | ||
21 | mysql5 \ | ||
22 | ncurses \ | ||
23 | onig \ | ||
24 | openldap \ | ||
25 | openssl \ | ||
26 | libpam \ | ||
27 | pcre \ | ||
28 | readline \ | ||
29 | zlib \ | ||
30 | tbb \ | ||
31 | ${EXTRA_DEPENDS} \ | ||
32 | " | ||
33 | |||
34 | # optional (for now) dependencies: | ||
35 | EXTRA_DEPENDS = "gperftools" | ||
36 | EXTRA_DEPENDS_aarch64 = "" | ||
37 | |||
38 | # 64-bit platforms only | ||
39 | COMPATIBLE_HOST = '(x86_64.*|aarch64.*)-linux' | ||
40 | |||
41 | LICENSE = "PHP Zend" | ||
42 | |||
43 | LIC_FILES_CHKSUM = " \ | ||
44 | file://LICENSE.PHP;md5=cb564efdf78cce8ea6e4b5a4f7c05d97 \ | ||
45 | file://LICENSE.ZEND;md5=69e7a9c51846dd6692f1b946f95f6c60" | ||
46 | |||
47 | SRC_URI = "git://github.com/facebook/hhvm.git \ | ||
48 | file://hrw-check-for-libdwarf-in-our-place-first.patch \ | ||
49 | " | ||
50 | |||
51 | SRCREV = "4c4d11304aef8857dcce8524e7fd9223e00191b5" | ||
52 | |||
53 | PV = "2.0.2+git${SRCPV}" | ||
54 | |||
55 | S = "${WORKDIR}/git" | ||
56 | |||
57 | do_configure_prepend() { | ||
58 | export HPHP_HOME="${B}" | ||
59 | export HPHP_LIB="${B}"/bin | ||
60 | export USE_HHVM=1 | ||
61 | export BOOST_INCLUDEDIR=${STAGING_INCDIR} | ||
62 | export BOOST_LIBRARYDIR=${STAGING_LIBDIR} | ||
63 | export LIBGLOG_INCLUDE_DIR=${STAGING_INCDIR} | ||
64 | export LIBGLOG_LIBRARY=${STAGING_LIBDIR} | ||
65 | } | ||
66 | |||
67 | inherit cmake | ||