language stringlengths 0 24 | filename stringlengths 9 214 | code stringlengths 99 9.93M |
|---|---|---|
hhvm/build/fbcode_builder/manifests/python-dulwich | [manifest]
name = python-dulwich
# The below links point to custom github forks of project dulwich, because the
# 0.18.6 version didn't have an official rollout of wheel packages.
[download.os=linux]
url = https://github.com/lukaspiatkowski/dulwich/releases/download/dulwich-0.18.6-wheel/dulwich-0.18.6-cp36-cp36m-linu... | |
hhvm/build/fbcode_builder/manifests/python-filelock | [manifest]
name = python-filelock
[download]
url = https://files.pythonhosted.org/packages/31/24/ee722b92f23b9ebd87783e893a75352c048bbbc1f67dce0d63b58b46cb48/filelock-3.3.2-py3-none-any.whl
sha256 = bb2a1c717df74c48a2d00ed625e5a66f8572a3a30baacb7657add1d7bac4097b
[build]
builder = python-wheel | |
hhvm/build/fbcode_builder/manifests/python-ptyprocess | [manifest]
name = python-ptyprocess
[download]
url = https://files.pythonhosted.org/packages/d1/29/605c2cc68a9992d18dada28206eeada56ea4bd07a239669da41674648b6f/ptyprocess-0.6.0-py2.py3-none-any.whl
sha256 = d7cc528d76e76342423ca640335bd3633420dc1366f258cb31d05e865ef5ca1f
[build]
builder = python-wheel | |
hhvm/build/fbcode_builder/manifests/python-six | [manifest]
name = python-six
[download]
url = https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
sha256 = 3350809f0555b11f552448330d0b52d5f24c91a322ea4a15ef22629740f3761c
[build]
builder = python-wheel | |
hhvm/build/fbcode_builder/manifests/python-toml | [manifest]
name = python-toml
[download]
url = https://files.pythonhosted.org/packages/a2/12/ced7105d2de62fa7c8fb5fce92cc4ce66b57c95fb875e9318dba7f8c5db0/toml-0.10.0-py2.py3-none-any.whl
sha256 = 235682dd292d5899d361a811df37e04a8828a5b1da3115886b73cf81ebc9100e
[build]
builder = python-wheel | |
hhvm/build/fbcode_builder/manifests/range-v3 | [manifest]
name = range-v3
[download]
url = https://github.com/ericniebler/range-v3/archive/refs/tags/0.11.0.tar.gz
sha256 = 376376615dbba43d3bef75aa590931431ecb49eb36d07bb726a19f680c75e20c
[build]
builder = cmake
subdir = range-v3-0.11.0 | |
hhvm/build/fbcode_builder/manifests/re2 | [manifest]
name = re2
[homebrew]
re2
[debs]
libre2-dev
[rpms]
re2
re2-devel
[download]
url = https://github.com/google/re2/archive/2019-06-01.tar.gz
sha256 = 02b7d73126bd18e9fbfe5d6375a8bb13fadaf8e99e48cbb062e4500fc18e8e2e
[build]
builder = cmake
subdir = re2-2019-06-01 | |
hhvm/build/fbcode_builder/manifests/rocksdb | [manifest]
name = rocksdb
[download]
url = https://github.com/facebook/rocksdb/archive/refs/tags/v7.7.3.tar.gz
sha256 = b8ac9784a342b2e314c821f6d701148912215666ac5e9bdbccd93cf3767cb611
[dependencies]
lz4
snappy
[build]
builder = cmake
subdir = rocksdb-7.7.3
[cmake.defines]
WITH_SNAPPY=ON
WITH_LZ4=ON
WITH_TESTS=OFF
... | |
hhvm/build/fbcode_builder/manifests/rust-shed | [manifest]
name = rust-shed
fbsource_path = fbcode/common/rust/shed
shipit_project = rust-shed
shipit_fbcode_builder = true
[git]
repo_url = https://github.com/facebookexperimental/rust-shed.git
[build]
builder = cargo
[cargo]
build_doc = true
workspace_dir =
[shipit.pathmap]
fbcode/common/rust/shed = shed
fbcode/c... | |
hhvm/build/fbcode_builder/manifests/snappy | [manifest]
name = snappy
[debs]
libsnappy-dev
[rpms]
snappy-devel
[download]
url = https://github.com/google/snappy/archive/1.1.7.tar.gz
sha256 = 3dfa02e873ff51a11ee02b9ca391807f0c8ea0529a4924afa645fbf97163f9d4
[build]
builder = cmake
subdir = snappy-1.1.7
[cmake.defines]
SNAPPY_BUILD_TESTS = OFF
# Avoid problems... | |
hhvm/build/fbcode_builder/manifests/sqlite3 | [manifest]
name = sqlite3
[debs]
libsqlite3-dev
[homebrew]
sqlite
[rpms]
sqlite-devel
sqlite-libs
[download]
url = https://sqlite.org/2019/sqlite-amalgamation-3280000.zip
sha256 = d02fc4e95cfef672b45052e221617a050b7f2e20103661cda88387349a9b1327
[dependencies]
cmake
ninja
[build]
builder = sqlite
subdir = sqlite-a... | |
hhvm/build/fbcode_builder/manifests/sqlite3-bin | [manifest]
name = sqlite3-bin
[rpms]
sqlite
[debs]
sqlite3
[download.os=linux]
url = https://github.com/sqlite/sqlite/archive/version-3.33.0.tar.gz
sha256 = 48e5f989eefe9af0ac758096f82ead0f3c7b58118ac17cc5810495bd5084a331
[build.os=linux]
builder = autoconf
subdir = sqlite-version-3.33.0
[build.not(os=linux)]
# Ma... | |
hhvm/build/fbcode_builder/manifests/tcl | [manifest]
name = tcl
[rpms]
tcl
[debs]
tcl
[download]
url = https://github.com/tcltk/tcl/archive/core-8-7a3.tar.gz
sha256 = 22d748f0c9652f3ecc195fed3f24a1b6eea8d449003085e6651197951528982e
[build.os=linux]
builder = autoconf
subdir = tcl-core-8-7a3/unix
[build.not(os=linux)]
# This is for sqlite3 on Linux for now... | |
hhvm/build/fbcode_builder/manifests/tree | [manifest]
name = tree
[debs]
tree
[homebrew]
tree
[rpms]
tree
[download.os=linux]
url = https://salsa.debian.org/debian/tree-packaging/-/archive/debian/1.8.0-1/tree-packaging-debian-1.8.0-1.tar.gz
sha256 = a841eee1d52bfd64a48f54caab9937b9bd92935055c48885c4ab1ae4dab7fae5
[download.os=darwin]
# The official package... | |
hhvm/build/fbcode_builder/manifests/wangle | [manifest]
name = wangle
fbsource_path = fbcode/wangle
shipit_project = wangle
shipit_fbcode_builder = true
[git]
repo_url = https://github.com/facebook/wangle.git
[build]
builder = cmake
subdir = wangle
[cmake.defines.test=on]
BUILD_TESTS=ON
[cmake.defines.test=off]
BUILD_TESTS=OFF
[dependencies]
folly
googletest... | |
hhvm/build/fbcode_builder/manifests/watchman | [manifest]
name = watchman
fbsource_path = fbcode/watchman
shipit_project = watchman
shipit_fbcode_builder = true
[git]
repo_url = https://github.com/facebook/watchman.git
[build]
builder = cmake
[dependencies]
boost
cpptoml
edencommon
fb303
fbthrift
folly
pcre2
googletest
[dependencies.fbsource=on]
rust
[shipit.p... | |
hhvm/build/fbcode_builder/manifests/xz | [manifest]
name = xz
[debs]
liblzma-dev
[homebrew]
xz
[rpms]
xz-devel
[download]
url = https://tukaani.org/xz/xz-5.2.5.tar.gz
sha256 = f6f4910fd033078738bd82bfba4f49219d03b17eb0794eb91efbae419f4aba10
[build]
builder = autoconf
subdir = xz-5.2.5
[autoconf.args]
--disable-shared | |
hhvm/build/fbcode_builder/manifests/yaml-cpp | [manifest]
name = yaml-cpp
[download]
url = https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-0.6.2.tar.gz
sha256 = e4d8560e163c3d875fd5d9e5542b5fd5bec810febdcba61481fe5fc4e6b1fd05
[build.os=linux]
builder = cmake
subdir = yaml-cpp-yaml-cpp-0.6.2
[build.not(os=linux)]
builder = nop
[dependencies]
boost
googletest... | |
hhvm/build/fbcode_builder/manifests/zlib | [manifest]
name = zlib
[debs]
zlib1g-dev
[homebrew]
zlib
[rpms]
zlib-devel
zlib-static
[download]
url = https://zlib.net/zlib-1.3.tar.gz
sha256 = ff0ba4c292013dbc27530b3a81e1f9a813cd39de01ca5e0f8bf355702efa593e
[build]
builder = cmake
subdir = zlib-1.3
patchfile = zlib_dont_build_more_than_needed.patch | |
hhvm/build/fbcode_builder/manifests/zstd | [manifest]
name = zstd
[homebrew]
zstd
# 18.04 zstd is too old
[debs.not(all(distro=ubuntu,distro_vers="18.04"))]
libzstd-dev
[rpms]
libzstd-devel
libzstd
[download]
url = https://github.com/facebook/zstd/releases/download/v1.5.5/zstd-1.5.5.tar.gz
sha256 = 9c4396cc829cfae319a6e2615202e82aad41372073482fce286fac78646... | |
hhvm/build/fbcode_builder/manifests/zstrong | [manifest]
name = zstrong
[git]
repo_url = https://github.com/facebookincubator/zstrong.git
[build]
builder = cmake
[dependencies]
zstd
[dependencies.test=on]
benchmark
fmt
googletest
[shipit.pathmap]
fbcode/data_compression/experimental/zstrong = .
[shipit.strip]
^fbcode/data_compression/experimental/zstrong/zst... | |
Patch | hhvm/build/fbcode_builder/patches/blake3_CMakeLists_txt.patch | diff --git a/BLAKE3Config.cmake.in b/BLAKE3Config.cmake.in
new file mode 100644
index 0000000..5a8919d
--- /dev/null
+++ b/BLAKE3Config.cmake.in
@@ -0,0 +1,4 @@
+@PACKAGE_INIT@
+
+set_and_check(BLAKE3_INCLUDE_DIR "@PACKAGE_INCLUDE_DIR@")
+include("${CMAKE_CURRENT_LIST_DIR}/BLAKE3Targets.cmake")
diff --git a/CMakeLists.... |
Patch | hhvm/build/fbcode_builder/patches/zlib_dont_build_more_than_needed.patch | diff -Naur ../zlib-1.2.13/CMakeLists.txt ./CMakeLists.txt
--- ../zlib-1.2.13/CMakeLists.txt 2022-10-12 22:06:55.000000000 -0700
+++ ./CMakeLists.txt 2022-10-14 14:50:28.000000000 -0700
@@ -147,8 +147,7 @@
set(ZLIB_DLL_SRCS ${CMAKE_CURRENT_BINARY_DIR}/zlib1rc.obj)
endif(MINGW)
-add_library(zlib SHARED ${ZLIB_SRC... |
hhvm/ci/bin/make-debianish-package | #!/bin/bash
#
# Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
set -ex
export DEBIAN_FRONTEND=noninteractive
DEB_BUILD_OPTIONS="parallel=$(grep -E -c '^processor' /proc/cpui... | |
hhvm/ci/skeleton/etc/default/hhvm | ## This is a configuration file for /etc/init.d/hhvm.
## Overwrite start up configuration of the hhvm service.
##
## This file is sourced by /bin/sh from /etc/init.d/hhvm.
## Configuration file location.
## Default: "/etc/hhvm/server.ini"
## Examples:
## "/etc/hhvm/conf.d/fastcgi.ini" Load configuration file from De... | |
INI Configuration | hhvm/ci/skeleton/etc/hhvm/php.ini | ; php options
session.save_handler = files
session.save_path = /var/lib/hhvm/sessions
session.gc_maxlifetime = 1440
; hhvm specific
hhvm.log.level = Warning
hhvm.log.always_log_unhandled_exceptions = true
hhvm.mysql.typed_results = false |
INI Configuration | hhvm/ci/skeleton/etc/hhvm/server.ini | ; php options
pid = /var/run/hhvm/pid
; hhvm specific
hhvm.server.port = 9000
hhvm.server.type = fastcgi
hhvm.server.default_document = index.php
hhvm.log.use_log_file = true
hhvm.log.file = /var/log/hhvm/error.log
hhvm.repo.central.path = /var/cache/hhvm/hhvm.hhbc |
hhvm/ci/skeleton/etc/init.d/hhvm | #!/bin/sh
#
# /etc/init.d/hhvm -- startup script for HHVM FastCGI
#
### BEGIN INIT INFO
# Provides: hhvm
# Required-Start: $remote_fs $network
# Required-Stop: $remote_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Description: Starts The HHVM FastCGI Daemon
### END INIT INF... | |
hhvm/ci/skeleton/etc/nginx/hhvm.conf | location ~ \.(hh|php|hack)$ {
fastcgi_keep_conn on;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
} | |
Shell Script | hhvm/ci/skeleton/usr/share/hhvm/install_fastcgi.sh | #!/bin/bash
if [ -f /etc/init.d/hhvm ]
then
/etc/init.d/hhvm start
fi
#!/bin/bash
apache_check_installed() {
echo "Checking if Apache is installed"
if [ \( ! -d /etc/apache2/mods-enabled \) -o \( ! -d /etc/apache2/mods-available \) ]
then
echo "WARNING: Couldn't find Apache2 configuration paths, not configurin... |
Shell Script | hhvm/ci/skeleton/usr/share/hhvm/uninstall_fastcgi.sh | #!/bin/bash
apache_check_installed() {
echo "Checking if Apache is installed"
if [ \( ! -d /etc/apache2/mods-enabled \) -o \( ! -d /etc/apache2/mods-available \) ]
then
echo "WARNING: Couldn't find Apache2 configuration paths, not configuring"
return 1
fi
echo "Detected Apache installation"
return 0
}
apach... |
hhvm/ci/ubuntu-20.04-focal/debian/conffiles | /etc/hhvm/server.ini
/etc/hhvm/php.ini
/etc/default/hhvm
/etc/init.d/hhvm
/etc/nginx/hhvm.conf
/etc/apache2/mods-available/hhvm_proxy_fcgi.conf | |
hhvm/ci/ubuntu-20.04-focal/debian/control | Source: hhvm-nightly
Maintainer: HHVM Open Source <hhvm-oss@fb.com>
Section: web
Priority: optional
Standards-Version: 3.9.2
Build-Depends:
aspcud,
autoconf,
automake,
binutils-dev,
bison,
build-essential,
cmake,
curl,
debhelper (>= 9),
flex,
clang-12,
gawk,
git,
gperf,
libboost-all-dev,
... | |
hhvm/ci/ubuntu-20.04-focal/debian/copying | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: hhvm
Source: http://github.com/facebook/hhvm
Comment: HHVM stands for "HipHop for PHP Virtual Machine". That name
respects the PHP license.
Files: *
Copyright: 2010-2014 Facebook, Inc. (http://www.facebook.com)
License: PHP-3.01... | |
Inno Setup Script | hhvm/ci/ubuntu-20.04-focal/debian/hhvm-nightly-dev.install.in | __PKGROOT__/bin/hhvm-gdb __PKGROOT__/bin
__PKGROOT__/bin/hphpize __PKGROOT__/bin
__PKGROOT__/include/hphp __PKGROOT__/include
__PKGROOT__/lib __PKGROOT__/ |
Inno Setup Script | hhvm/ci/ubuntu-20.04-focal/debian/hhvm-nightly.install.in | __PKGROOT__/bin/hackfmt __PKGROOT__/bin
__PKGROOT__/bin/hh_client __PKGROOT__/bin
__PKGROOT__/bin/hh_parse __PKGROOT__/bin
__PKGROOT__/bin/hh_server __PKGROOT__/bin
__PKGROOT__/bin/hhvm __PKGROOT__/bin
__PKGROOT__/bin/hhvm-repo-mode __PKGROOT__/bin
third-party/third_party_notices.txt __PKGROOT__/share/doc/hhvm
debian/s... |
Inno Setup Script | hhvm/ci/ubuntu-20.04-focal/debian/postinst.in | #!/bin/bash
echo "********************************************************************"
echo "* HHVM is installed."
echo "*"
echo "* The best way to get started is to use HHVM's built-in webserver: "
echo "*"
echo "* $ hhvm -m server -p 8080"
echo "*"
echo "* Running command-line scripts with HHVM requires no special ... |
hhvm/ci/ubuntu-20.04-focal/debian/postrm | #!/bin/sh
# hphp.postrm, runs ldconfig, removes alternative
set -e
if [ "$1" = "remove" ]; then
ldconfig
fi | |
hhvm/ci/ubuntu-20.04-focal/debian/preinst | #!/bin/sh
set -e
if which invoke-rc.d >/dev/null 2>&1 && [ -e "/etc/init.d/hhvm" ]; then
invoke-rc.d hhvm stop
fi | |
Inno Setup Script | hhvm/ci/ubuntu-20.04-focal/debian/prerm.in | #!/bin/bash
set -e
if [ -f /etc/init.d/hhvm ]; then
/etc/init.d/hhvm stop
fi
if [ -f /usr/sbin/update-alternatives ]; then
UPDATE_ALTERNATIVES=/usr/sbin/update-alternatives
fi
if [ -f /usr/bin/update-alternatives ]; then
UPDATE_ALTERNATIVES=/usr/bin/update-alternatives
fi
if [ ! -z "$UPDATE_ALTERNATIVES" ]; th... |
hhvm/ci/ubuntu-20.04-focal/debian/rules | #!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
%:
dh $@ --buildsystem=cmake --parallel
override_dh_auto_configure:
dh_auto_configure -- \
-Wno-dev \
-DCMAKE_INSTALL_PREFIX=/opt/hhvm/$(DEB_VERSION_UPSTREAM) \
-DMYSQL_UNIX_SOCK_ADDR=/var/run/mysqld/mysqld.sock \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
override... | |
CMake | hhvm/CMake/cotire.cmake | # - cotire (compile time reducer)
#
# See the cotire manual for usage hints.
#
#=============================================================================
# Copyright 2012-2014 Sascha Kratky
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentati... |
CMake | hhvm/CMake/EXTFunctions.cmake | # Functions/Macros for use when building extensions statically
# These functions also exist in CMake/HPHPIZEFunctions.cmake
# Their signatures should be kept consistent, though their behavior
# will differ slightly.
macro(HHVM_LINK_LIBRARIES EXTNAME)
foreach (lib ${ARGN})
list(APPEND HRE_LIBRARIES ${lib})
end... |
CMake | hhvm/CMake/FindBoost.cmake | # Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
#[=======================================================================[.rst:
FindBoost
---------
Find Boost include dirs and libraries
Use this module by invoking :command:... |
CMake | hhvm/CMake/FindCClient.cmake | IF(CCLIENT_FOUND)
SET(CCLIENT_FIND_QUIETLY TRUE)
ENDIF(CCLIENT_FOUND)
FIND_PATH(CCLIENT_INCLUDE_PATH
NAMES c-client.h
PATH_SUFFIXES c-client imap
PATHS /usr/include /usr/local/include /usr/pkg/include
)
FIND_LIBRARY(CCLIENT_LIBRARY
NAMES c-client c-client4
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)... |
CMake | hhvm/CMake/FindDoubleConversion.cmake | # Finds libdouble-conversion.
#
# This module defines:
# DOUBLE_CONVERSION_INCLUDE_DIR
# DOUBLE_CONVERSION_LIBRARY
#
find_path(DOUBLE_CONVERSION_INCLUDE_DIR
NAMES
double-conversion.h
PATHS
/usr/include/double-conversion
/usr/local/include/double-conversion)
find_library(DOUBLE_CONVERSION_LIBR... |
CMake | hhvm/CMake/FindEditline.cmake | if (EDITLINE_LIBRARIES AND EDITLINE_INCLUDE_DIRS)
set (Editline_FIND_QUIETLY TRUE)
endif (EDITLINE_LIBRARIES AND EDITLINE_INCLUDE_DIRS)
find_path(EDITLINE_INCLUDE_DIRS NAMES editline/readline.h)
find_library(EDITLINE_LIBRARIES NAMES edit)
include (FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Edi... |
CMake | hhvm/CMake/FindFastLZ.cmake | if (FASTLZ_LIBRARY AND FASTLZ_INCLUDE_DIR)
set (FASTLZ_FIND_QUIETLY TRUE)
endif (FASTLZ_LIBRARY AND FASTLZ_INCLUDE_DIR)
find_path(FASTLZ_INCLUDE_DIR NAMES fastlz.h)
find_library(FASTLZ_LIBRARY NAMES fastlz)
include (FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(FastLZ DEFAULT_MSG
FASTLZ_LIBRARY... |
CMake | hhvm/CMake/FindFreetype.cmake | find_package(PkgConfig)
pkg_check_modules(PC_FREETYPE QUIET freetype2)
find_path(FREETYPE_INCLUDE_DIR_FT2BUILD
NAMES ft2build.h
HINTS ${PC_FREETYPE_INCLUDEDIR} ${PC_FREETYPE_INCLUDE_DIRS}
PATH_SUFFIXES freetype2)
if(FREETYPE_INCLUDE_DIR_FT2BUILD AND
NOT EXISTS "${FREETYPE_INCLUDE_DIR_F... |
CMake | hhvm/CMake/Findfribidi.cmake | find_package(PkgConfig)
pkg_check_modules(FRIBIDI QUIET fribidi)
find_path(FRIBIDI_INCLUDE_DIR
NAMES fribidi/fribidi.h)
find_library(FRIBIDI_LIBRARY NAMES fribidi)
if (NOT FRIBIDI_FOUND)
message(STATUS "GNU FriBidi not found")
else()
message(STATUS "Found GNU FriBidi: ${FRIBIDI_LIBRARY}")
endif (NOT FR... |
CMake | hhvm/CMake/FindGLIB.cmake | find_path(GLIB_INCLUDE_DIR
NAMES "glib.h"
PATHS "/usr/include" "/usr/local/include"
PATH_SUFFIXES "glib-2.0")
find_path(GLIB_CONFIG_INCLUDE_DIR
NAMES "glibconfig.h"
PATHS "/usr/lib64" "/usr/lib" "/usr/local/lib64" "/usr/local/lib" "/usr/lib/x86_64-linux-gnu" "/usr/lib/a... |
CMake | hhvm/CMake/FindGold.cmake | set(GOLD_FOUND FALSE)
mark_as_advanced(GOLD_FOUND)
if(LINUX)
find_program(GOLD_EXECUTABLE NAMES gold ld.gold DOC "path to gold")
mark_as_advanced(GOLD_EXECUTABLE)
if(GOLD_EXECUTABLE)
set(GOLD_FOUND TRUE)
execute_process(COMMAND ${GOLD_EXECUTABLE} --version
OUTPUT_VARIABLE GOLD_VERSION
OUTPUT... |
CMake | hhvm/CMake/FindICU.cmake | # Finds the International Components for Unicode (ICU) Library
#
# ICU_FOUND - True if ICU found.
# ICU_I18N_FOUND - True if ICU's internationalization library found.
# ICU_INCLUDE_DIRS - Directory to include to get ICU headers
# Note: always include ICU headers as, e.g.,
# ... |
CMake | hhvm/CMake/FindLdap.cmake | # - Try to find the LDAP client libraries
# Once done this will define
#
# LDAP_FOUND - system has libldap
# LDAP_INCLUDE_DIR - the ldap include directory
# LDAP_LIBRARIES - libldap + liblber (if found) library
# LBER_LIBRARIES - liblber library
if(LDAP_INCLUDE_DIR AND LDAP_LIBRARIES)
# Already in cache, be sile... |
CMake | hhvm/CMake/FindLibAfdt.cmake | # - Find LibAfdt (a cross platform RPC lib/tool)
# This module defines
# LibAfdt_INCLUDE_DIR, where to find LibAfdt headers
# LibAfdt_LIBS, LibAfdt libraries
# LibAfdt_FOUND, If false, do not try to use LibAfdt
find_path(LibAfdt_INCLUDE_DIR afdt.h PATHS
/usr/local/include
/opt/local/include
)
set(LibAfdt_LI... |
CMake | hhvm/CMake/FindLibCh.cmake | # - Find LibCh (a cross platform RPC lib/tool)
# This module defines
# LibCh_INCLUDE_DIR, where to find LibCh headers
# LibCh_LIBS, LibCh libraries
# LibCh_FOUND, If false, do not try to use LibCh
find_path(LibCh_INCLUDE_DIR ch/continuum.h PATHS
/usr/local/include
/opt/local/include
)
set(LibCh_LIB_PATHS /u... |
CMake | hhvm/CMake/FindLibDL.cmake | # - Try to find libdl
# Once done this will define
#
# LIBDL_FOUND - system has libdl
# LIBDL_INCLUDE_DIRS - the libdl include directory
# LIBDL_LIBRARIES - Link these to use libdl
# LIBDL_NEEDS_UNDERSCORE - If extern "C" symbols are prefixed (BSD/Apple)
#
find_path (LIBDL_INCLUDE_DIRS NAMES dlfcn.h)
find_library ... |
CMake | hhvm/CMake/FindLibDwarf.cmake | # Copyright (c) 2004-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the hphp/hsl/ subdirectory of this source tree.
# - Try to find libdwarf
# Once done this will define
#
# LIBDWARF_FOUND - system has libdwarf
# LIBDWARF_INCLUDE_D... |
CMake | hhvm/CMake/FindLibElf.cmake | # - Try to find libelf
# Once done this will define
#
# LIBELF_FOUND - system has libelf
# LIBELF_INCLUDE_DIRS - the libelf include directory
# LIBELF_LIBRARIES - Link these to use libelf
# LIBELF_DEFINITIONS - Compiler switches required for using libelf
#
# Copyright (c) 2008 Bernhard Walle <bernhard.walle@gmx.de... |
CMake | hhvm/CMake/FindLibEvent.cmake | # - Find LibEvent (a cross event library)
# This module defines
# LIBEVENT_INCLUDE_DIR, where to find LibEvent headers
# LIBEVENT_LIB, LibEvent libraries
# LibEvent_FOUND, If false, do not try to use libevent
set(LibEvent_EXTRA_PREFIXES /usr/local /opt/local "$ENV{HOME}")
foreach(prefix ${LibEvent_EXTRA_PREFIXES})
l... |
CMake | hhvm/CMake/FindLibGmp.cmake | find_path(GMP_INCLUDE_DIR NAMES gmp.h)
find_library(GMP_LIBRARY NAMES gmp)
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(
GMP DEFAULT_MSG
GMP_LIBRARY GMP_INCLUDE_DIR)
mark_as_advanced(GMP_INCLUDE_DIR GMP_LIBRARY) |
CMake | hhvm/CMake/FindLibiberty.cmake | # Copyright (c) Facebook, Inc. and its affiliates.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... |
CMake | hhvm/CMake/FindLibiconv.cmake | #
# $Id$
#
# - Find libiconv
# Find libiconv
#
# LIBICONV_INCLUDE_DIR - where to find iconv.h, etc.
# LIBICONV_LIBRARY - List of libraries when using libiconv.
# LIBICONV_FOUND - True if libiconv found.
IF (LIBICONV_INCLUDE_DIR)
# Already in cache, be silent
SET(LIBICONV_FIND_QUIETLY TRUE)
ENDIF ()
... |
CMake | hhvm/CMake/FindLibinotify.cmake | #
# $Id$
#
# - Find libinotify
# Find libinotify
#
# LIBINOTIFY_INCLUDE_DIR - where to find sys/inotify.h
# LIBINOTIFY_LIBRARY - List of libraries when using libinotify
# LIBINOTIFY_FOUND - True if libinotify found.
if(LIBINOTIFY_INCLUDE_DIR)
# Already in cache, be silent
SET(LIBINOTIFY_FIND_QUIETLY ... |
CMake | hhvm/CMake/FindLibIntl.cmake | #.rst:
# FindIntl
# --------
#
# Find the Gettext libintl headers and libraries.
#
# This module reports information about the Gettext libintl
# installation in several variables. General variables::
#
# Intl_FOUND - true if the libintl headers and libraries were found
# Intl_INCLUDE_DIRS - the directory containin... |
CMake | hhvm/CMake/FindLibJpeg.cmake | if (LIBJPEG_LIBRARIES AND LIBJPEG_INCLUDE_DIRS)
set (LibJpeg_FIND_QUIETLY TRUE)
endif (LIBJPEG_LIBRARIES AND LIBJPEG_INCLUDE_DIRS)
find_path(LIBJPEG_INCLUDE_DIRS NAMES jpeglib.h)
find_library(LIBJPEG_LIBRARIES NAMES jpeg)
include (FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibJpeg DEFAULT_MSG
... |
CMake | hhvm/CMake/FindLibMagickWand.cmake | # - Try to find libmagickwand
# Once done this will define
#
# LIBMAGICKWAND_FOUND - system has libmagickwand
# LIBMAGICKWAND_INCLUDE_DIRS - the libmagickwand include directory
# LIBMAGICKWAND_LIBRARIES - Link these to use libmagickwand
# LIBMAGICKWAND_DEFINITIONS - Compiler switches required for using libmagickwan... |
CMake | hhvm/CMake/FindLibmemcached.cmake | # Find libmemcached
#
# LIBMEMCACHED_INCLUDE_DIR - where to find libmemcached/memcached.h, etc.
# LIBMEMCACHED_LIBRARY - List of libraries when using libmemcached.
# LIBMEMCACHED_FOUND - True if libmemcached found.
find_package(PkgConfig)
pkg_check_modules(LIBMEMCACHED QUIET libmemcached)
IF (LIBMEMCACHE... |
CMake | hhvm/CMake/FindLibNuma.cmake | if (LIBNUMA_LIBRARIES AND LIBNUMA_INCLUDE_DIRS)
set (LibNuma_FIND_QUIETLY TRUE)
endif (LIBNUMA_LIBRARIES AND LIBNUMA_INCLUDE_DIRS)
find_path(LIBNUMA_INCLUDE_DIRS NAMES numa.h)
find_library(LIBNUMA_LIBRARIES NAMES numa)
include (FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibNuma DEFAULT_MSG
L... |
CMake | hhvm/CMake/FindLibpam.cmake | IF(PAM_FOUND)
SET(PAM_FIND_QUIETLY TRUE)
ENDIF(PAM_FOUND)
FIND_PATH(PAM_INCLUDE_PATH
NAMES pam_modules.h
PATH_SUFFIXES security
PATHS /usr/include /usr/local/include /usr/pkg/include
)
FIND_LIBRARY(PAM_LIBRARY
NAMES pam
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
IF (PAM_INCLUDE_PATH AND PAM_LIBRAR... |
CMake | hhvm/CMake/FindLibPng.cmake | if (LIBPNG_LIBRARIES AND LIBPNG_INCLUDE_DIRS)
set (LibPng_FIND_QUIETLY TRUE)
endif (LIBPNG_LIBRARIES AND LIBPNG_INCLUDE_DIRS)
find_path(LIBPNG_INCLUDE_DIRS NAMES png.h)
find_library(LIBPNG_LIBRARIES NAMES png)
include (FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibPng DEFAULT_MSG
LIBPNG_LIBR... |
CMake | hhvm/CMake/FindLibSodium.cmake | # Finds sodium C client library
#
# This module defines:
# LIBSODIUM_INCLUDE_DIRS
# LIBSODIUM_LIBRARIES
#
find_package(PkgConfig)
if (LibSodium_FIND_VERSION)
pkg_check_modules(LIBSODIUM libsodium>=${LibSodium_FIND_VERSION})
else()
pkg_check_modules(LIBSODIUM libsodium)
endif()
include(FindPackageHandleStandardAr... |
CMake | hhvm/CMake/FindLibSQLite.cmake | # Finds libsqlite3.
#
# This module defines:
# LIBSQLITE3_INCLUDE_DIR
# LIBSQLITE3_LIBRARY
#
find_package(PkgConfig)
pkg_check_modules(PC_SQLITE3 QUIET sqlite3)
if (PC_SQLITE3_FOUND)
find_path(LIBSQLITE3_INCLUDE_DIR
NAMES sqlite3.h
HINTS ${PC_SQLITE3_INCLUDE_DIRS})
find_library(LIBSQLITE3... |
CMake | hhvm/CMake/FindLibVpx.cmake | if (LIBVPX_LIBRARIES AND LIBVPX_INCLUDE_DIRS)
set (LibVpx_FIND_QUIETLY TRUE)
endif (LIBVPX_LIBRARIES AND LIBVPX_INCLUDE_DIRS)
find_path(LIBVPX_INCLUDE_DIRS vp8cx.h
/usr/local/include/vpx
/usr/include/vpx)
find_library(LIBVPX_LIBRARIES NAMES vpx)
include (FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STAN... |
CMake | hhvm/CMake/FindlibWatchmanClient.cmake | # Finds Watchman C++ client library
#
# This module defines:
# WATCHMANCLIENT_INCLUDE_DIRS
# WATCHMANCLIENT_LIBRARIES
#
find_package(PkgConfig)
pkg_check_modules(WATCHMANCLIENT watchmanclient)
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(
libWatchmanClient
DEFAULT_MSG
WATCHMANCLIENT_... |
CMake | hhvm/CMake/FindLibXed.cmake | find_path(LibXed_INCLUDE_DIR xed-interface.h)
find_library(LibXed_LIBRARY NAMES xed)
if (LibXed_INCLUDE_DIR AND LibXed_LIBRARY)
include(CheckCSourceRuns)
set(CMAKE_REQUIRED_INCLUDES ${LibXed_INCLUDE_DIR})
set(CMAKE_REQUIRED_LIBRARIES ${LibXed_LIBRARY})
check_c_source_runs("
#include <xed-interface.h>
#... |
CMake | hhvm/CMake/FindLibZip.cmake | # Finds libzip.
#
# This module defines:
# LIBZIP_INCLUDE_DIR_ZIP
# LIBZIP_INCLUDE_DIR_ZIPCONF
# LIBZIP_LIBRARY
#
find_package(PkgConfig)
pkg_check_modules(PC_LIBZIP QUIET libzip)
find_path(LIBZIP_INCLUDE_DIR_ZIP
NAMES zip.h
HINTS ${PC_LIBZIP_INCLUDE_DIRS})
find_path(LIBZIP_INCLUDE_DIR_ZIPCONF
NAMES zipc... |
CMake | hhvm/CMake/FindLZ4.cmake | # Finds liblz4.
#
# This module defines:
# LZ4_FOUND
# LZ4_INCLUDE_DIR
# LZ4_LIBRARY
#
find_path(LZ4_INCLUDE_DIR NAMES lz4.h)
find_library(LZ4_LIBRARY NAMES lz4)
# fb-mysql requires LZ4F_resetDecompressionContext() which was added in v1.8.0
if (LZ4_LIBRARY)
include(CheckCSourceRuns)
set(CMAKE_REQUIRED_INCLUDES ${... |
CMake | hhvm/CMake/FindMcrypt.cmake | # - Find Mcrypt (a cross platform RPC lib/tool)
# This module defines
# Mcrypt_INCLUDE_DIR, where to find Mcrypt headers
# Mcrypt_LIBS, Mcrypt libraries
# Mcrypt_FOUND, If false, do not try to use Mcrypt
find_path(Mcrypt_INCLUDE_DIR mcrypt.h PATHS
/usr/local/include
/opt/local/include
)
#find_library can't... |
CMake | hhvm/CMake/FindONIGURUMA.cmake | # - Find oniguruma
# Find the native Oniguruma includes and library
#
# ONIGURUMA_INCLUDE_DIRS - where to find oniguruma.h, etc.
# ONIGURUMA_LIBRARIES - List of libraries when using oniguruma.
# ONIGURUMA_FOUND - True if oniguruma found.
IF (ONIGURUMA_INCLUDE_DIRS)
# Already in cache, be silent
SET(O... |
CMake | hhvm/CMake/FindPCRE.cmake | #
# $Id$
#
# - Find pcre
# Find the native PCRE includes and library
#
# PCRE_INCLUDE_DIR - where to find pcre.h, etc.
# PCRE_LIBRARY - Path to the pcre library.
# PCRE_FOUND - True if pcre found.
IF (PCRE_INCLUDE_DIR)
# Already in cache, be silent
SET(PCRE_FIND_QUIETLY TRUE)
ENDIF (PCRE_INCLUDE_D... |
CMake | hhvm/CMake/FindPThread.cmake | # - Try to find libpthread
#
# Once done this will define
#
# LIBPTHREAD_FOUND - system has libpthread
# LIBPTHREAD_INCLUDE_DIRS - the libpthread include directory
# LIBPTHREAD_LIBRARIES - Link these to use libpthread
# LIBPTHREAD_DEFINITIONS - Compiler switches required for using libpthread
#
# Redistribution and... |
CMake | hhvm/CMake/FindRE2.cmake | FIND_PATH(SYSTEM_RE2_INCLUDE_DIR re2/re2.h)
IF (SYSTEM_RE2_INCLUDE_DIR)
MESSAGE(STATUS "Found RE2 include dir")
FIND_LIBRARY(SYSTEM_RE2_LIBRARY re2)
IF (SYSTEM_RE2_LIBRARY)
MESSAGE(STATUS "Found RE2 library")
SET(RE2_INCLUDE_DIR ${SYSTEM_RE2_INCLUDE_DIR})
SET(RE2_LIBRARY ${SYSTEM_RE2_LIBRARY})
ELSE ... |
CMake | hhvm/CMake/FindReadline.cmake | # from http://websvn.kde.org/trunk/KDE/kdeedu/cmake/modules/FindReadline.cmake
# http://websvn.kde.org/trunk/KDE/kdeedu/cmake/modules/COPYING-CMAKE-SCRIPTS
# --> BSD licensed
#
# GNU Readline library finder
if(READLINE_INCLUDE_DIR AND READLINE_LIBRARY)
set(READLINE_FOUND TRUE)
else(READLINE_INCLUDE_DIR AND READLINE_L... |
CMake | hhvm/CMake/FindSnappy.cmake | # - Find Snappy
# This module defines
# SNAPPY_INCLUDE_DIR, where to find Snappy headers
# SNAPPY_LIBS, Snappy libraries
# SNAPPY_FOUND, If false, do not try to use Snappy
find_path(SNAPPY_INCLUDE_DIR snappy.h PATHS
/usr/local/include
/opt/local/include
)
#find_library can't seem to find a 64-bit binary if the 32... |
CMake | hhvm/CMake/HHVMExtensionConfig.cmake | # This file holds the configuration mechanism for extensions.
#
# Now, the structure of the globals this uses.
#
# HHVM_EXTENSION_COUNT: <int>
# An integer representing the number of extensions that have
# been defined.
#
# HHVM_EXTENSIONS_REQUIRED_LIBRARIES: <list of paths>
# A list of the additional libraries that ne... |
CMake | hhvm/CMake/HHVMGenerateConfig.cmake | # The core function for generating `hphp-config.h`. This is done here to keep
# the main CMake tree clean.
#
# If you add any defines here or in hphp-config.h.in, you must make sure
# to update the non-CMake side. If you are not sure if a particular define
# should be present, ask your FB reviewer.
include(CheckCXXSou... |
CMake | hhvm/CMake/HHVMProject.cmake | # This must be done after the 'project' command
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
set(CMAKE_BUILD_TYPE "Release")
message(STATUS "Build type not specified: cmake build type Release.")
endif() |
CMake | hhvm/CMake/HPHPCompiler.cmake | set(FREEBSD FALSE)
if("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD")
set(FREEBSD TRUE)
endif()
set(LINUX FALSE)
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
set(LINUX TRUE)
endif()
set(DARWIN FALSE)
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
set(DARWIN TRUE)
endif()
set(WINDOWS FALSE)
if("${CMAKE_SYSTEM_NAME}" STREQ... |
CMake | hhvm/CMake/HPHPFindLibs.cmake | #
# +----------------------------------------------------------------------+
# | HipHop for PHP |
# +----------------------------------------------------------------------+
# | Copyright (c) 2010 Facebook, Inc. (http://www.facebook.com) |
# | Copy... |
CMake | hhvm/CMake/HPHPFunctions.cmake | if (${CMAKE_MAJOR_VERSION} GREATER 2)
cmake_policy(SET CMP0026 OLD)
endif()
include(GNUInstallDirs)
function(auto_sources RETURN_VALUE PATTERN SOURCE_SUBDIRS)
if ("${SOURCE_SUBDIRS}" STREQUAL "RECURSE")
SET(PATH ".")
if (${ARGC} EQUAL 4)
list(GET ARGV 3 PATH)
endif ()
endif()
if ("${SOURCE... |
CMake | hhvm/CMake/HPHPIZEFunctions.cmake | # Functions for use when building extensions dynamically
# These functions also exist in CMake/EXTFunctions.cmake
# Their signatures should be kept consistent, though their behavior
# will differ slightly.
include(GNUInstallDirs)
function(HHVM_LINK_LIBRARIES EXTNAME)
target_link_libraries(${EXTNAME} ${ARGN})
endfu... |
CMake | hhvm/CMake/HPHPSetup.cmake | include(Options)
include(GNUInstallDirs)
set_property(GLOBAL PROPERTY DEBUG_CONFIGURATIONS Debug DebugOpt RelWithDebInfo)
set(HHVM_WHOLE_ARCHIVE_LIBRARIES
hphp_runtime_static
hphp_runtime_ext
)
set(HHVM_WRAP_SYMS)
# Oniguruma ('onig') must be first:
#
# oniguruma has some of its own implementations of PO... |
CMake | hhvm/CMake/MSVCDefaults.cmake | # This file exists because, in order to handle the multi-config environment that
# Visual Studio allows, we'd have to modify quite a few of CMake's built-in
# scripts for finding specific libraries. Instead of doing that, we just set the
# required variables here if the /deps/ directory is present.
# We assume in this... |
CMake | hhvm/CMake/Options.cmake | #set(CMAKE_BUILD_TYPE Debug)
option(ALWAYS_ASSERT "Enabled asserts in a release build" OFF)
option(ENABLE_SSP "Enabled GCC/LLVM stack-smashing protection" OFF)
option(STATIC_CXX_LIB "Statically link libstd++ and libgcc." OFF)
option(ENABLE_AVX2 "Enable the use of AVX2 instructions" OFF)
option(ENABLE_AARCH64_CRC "Enab... |
CMake | hhvm/CMake/ThinArchives.cmake | # Copyright (C) 2009 Apple Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
#
# Redistributions of source code must retain the above copyright notice, this list of conditions and the following dis... |
CMake | hhvm/CMake/VisualStudioToolset.cmake | # Due to HHVM's size, we need to use the native 64-bit toolchain to get a decent link time,
# and, in fact, it's also needed to be able to link at all in debug mode, due to the size of
# the hphp_runtime_static static library. However, Visual Studio defaults to using the 32-bit
# hosted cross compiler targeting 64-bit.... |
hhvm/hphp/.clang-tidy | # NOTE there must be no spaces before the '-', so put the comma after.
# When making changes, be sure to verify the output of the following command to ensure
# the desired checks are enabled (run from the directory containing a .clang-tidy file):
# `clang-tidy -list-checks`
# NOTE: Please don't disable inheritance from... | |
hhvm/hphp/.ctags | --exclude=*.css
--exclude=*.js
--exclude=*.ml
--exclude=*.mli
--exclude=*.php
--exclude=*.py
--exclude=*.sql
--exclude=public_tld/*
--exclude=test/*
--exclude=facebook/push/*
--exclude=facebook/hacknative/*
--regex-c++=/^\s*(static)?\s*\w+\s+HHVM_FUNCTION\((\w+)/\2/f,function,function definitions/
--regex-c++=/^\s*(s... | |
hhvm/hphp/.gitignore | # HHVM build results
*.hhbc
*.[oa]
/hhvm/hhbbc
/hhvm/hhvm
/hhvm/hphp
/hhvm/php
# CMake build artifacts
CMakeFiles
/CMakeCache.txt
cmake_install.cmake
Makefile
/runtime/ir-opcode-generated.h
/util/generated-compiler-id.txt
/util/generated-repo-schema-id.txt
/util/hphp-config.h
# precompiled headers
*_cotire.cmake
coti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.