Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update extension config files #9580

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions hphp/runtime/ext/core/config.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
HHVM_DEFINE_EXTENSION("core" REQUIRED
SOURCES
ext_core.cpp
ext_core_closure.cpp
HEADERS
ext_core.h
SYSTEMLIB
ext_core.php
)
5 changes: 5 additions & 0 deletions hphp/runtime/ext/decl/config.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
HHVM_DEFINE_EXTENSION("decl" REQUIRED
SOURCES
decl-extractor.cpp
exception.cpp
ext_decl.cpp
HEADERS
decl-extractor.h
exception.h
SYSTEMLIB
ext_decl.php
)
9 changes: 7 additions & 2 deletions hphp/runtime/ext/facts/config.cmake
Original file line number Diff line number Diff line change
@@ -1,38 +1,43 @@
HHVM_DEFINE_EXTENSION(
"facts"
SOURCES
config.cpp
exception.cpp
ext_facts.cpp
fact-extractor.cpp
facts-store.cpp
log-perf.cpp
logging.cpp
sqlite-autoload-db.cpp
sqlite-key.cpp
static-watcher.cpp
string-data-ptr.cpp
symbol-map.cpp
thread-factory.cpp
facts-store.cpp
watchman-watcher.cpp
HEADERS
attribute-argument-map.h
attribute-map.h
autoload-db.h
config.h
exception.h
fact-extractor.h
facts-store.h
file-facts.h
inheritance-info.h
lazy-two-way-map.h
log-perf.h
logging.h
path-and-hash.h
path-symbols-map.h
path-versions.h
sqlite-autoload-db.h
sqlite-key.h
static-watcher.h
string-ptr.h
symbol-map.h
symbol-types.h
thread-factory.h
facts-store.h
watcher.h
watchman-watcher.h
SYSTEMLIB
Expand Down
2 changes: 0 additions & 2 deletions hphp/runtime/ext/fb/config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ HHVM_DEFINE_EXTENSION("fb"
HEADERS
ext_fb.h
VariantController.h
FBSerialize/FBSerialize.h
FBSerialize/FBSerialize-inl.h
SYSTEMLIB
ext_fb.php
DEPENDS
Expand Down
4 changes: 1 addition & 3 deletions hphp/runtime/ext/gd/config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ HHVM_DEFINE_EXTENSION("gd"
libgd/gd_topal.cpp
libgd/gd_transform.cpp
libgd/gd_wbmp.cpp
libgd/gd_webp.cpp
libgd/wbmp.cpp
libgd/webpimg.cpp
libgd/xbm.cpp
HEADERS
ext_gd.h
Expand All @@ -53,13 +51,13 @@ HHVM_DEFINE_EXTENSION("gd"
libgd/gdfontt.h
libgd/jisx0208.h
libgd/wbmp.h
libgd/webpimg.h
SYSTEMLIB
ext_exif.php
ext_gd.php
DEPENDS
libFreetype OPTIONAL
libJpeg OPTIONAL
libHeif
libIConv
libPng OPTIONAL
libVpx OPTIONAL
Expand Down
4 changes: 2 additions & 2 deletions hphp/runtime/ext/hash/config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ HHVM_DEFINE_EXTENSION("hash"
SOURCES
ext_hash.cpp
hash_adler32.cpp
hash_blake3.cpp
# hash_blake3.cpp
hash_crc32.cpp
hash_fnv1.cpp
hash_furc.cpp
Expand All @@ -21,7 +21,7 @@ HHVM_DEFINE_EXTENSION("hash"
HEADERS
ext_hash.h
hash_adler32.h
hash_blake3.h
# hash_blake3.h
hash_crc32.h
hash_engine.h
hash_fnv1.h
Expand Down
6 changes: 6 additions & 0 deletions hphp/runtime/ext/intrinsics/config.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
HHVM_DEFINE_EXTENSION("intrinsics" REQUIRED
SOURCES
ext_intrinsics.cpp
SYSTEMLIB
ext_intrinsics.php
)
9 changes: 9 additions & 0 deletions hphp/runtime/ext/lmdb/config.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
HHVM_DEFINE_EXTENSION("lmdb"
IS_ENABLED EXT_LMDB
SOURCES
ext_lmdb.cpp
DEPENDS
libLmdb
SYSTEMLIB
ext_lmdb.php
)
6 changes: 6 additions & 0 deletions hphp/runtime/ext/sb_profile/config.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
HHVM_DEFINE_EXTENSION("sb_profile"
SOURCES
ext_sb_profile.cpp
SYSTEMLIB
ext_sb_profile.php
)
6 changes: 6 additions & 0 deletions hphp/runtime/ext/simplelock/config.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
HHVM_DEFINE_EXTENSION("simplelock" REQUIRED
SOURCES
ext_simplelock.cpp
SYSTEMLIB
ext_simplelock.php
)
4 changes: 0 additions & 4 deletions hphp/runtime/ext/std/config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ HHVM_DEFINE_EXTENSION("std" REQUIRED
SOURCES
ext_std.cpp
ext_std_classobj.cpp
ext_std_closure.cpp
ext_std_errorfunc.cpp
ext_std_file.cpp
ext_std_function.cpp
ext_std_gc.cpp
ext_std_intrinsics.cpp
ext_std_math.cpp
ext_std_misc.cpp
ext_std_network.cpp
Expand All @@ -21,7 +19,6 @@ HHVM_DEFINE_EXTENSION("std" REQUIRED
HEADERS
ext_std.h
ext_std_classobj.h
ext_std_closure.h
ext_std_errorfunc.h
ext_std_file.h
ext_std_function.h
Expand All @@ -39,7 +36,6 @@ HHVM_DEFINE_EXTENSION("std" REQUIRED
ext_std_file.php
ext_std_function.php
ext_std_gc.php
ext_std_intrinsics.php
ext_std_math.php
ext_std_misc.php
ext_std_network.php
Expand Down
8 changes: 8 additions & 0 deletions hphp/runtime/ext/xreqsync/config.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
HHVM_DEFINE_EXTENSION("xreqsync"
SOURCES
ext_xreqsync.cpp
HEADERS
ext_xreqsync.h
SYSTEMLIB
ext_xreqsync.php
)
2 changes: 1 addition & 1 deletion hphp/util/hphp-config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ ${HHVM_COMPILES_DEFINE_STRING}
#endif

#ifdef USE_CMAKE
# if ${HHVM_EXTENSION_COUNT} != 97
# if ${HHVM_EXTENSION_COUNT} != 99
# error You need to update the config file for the new builtin extension, and add the define to the FB section
# endif
${HHVM_EXTENSIONS_ENABLED_DEFINE_STRING}
Expand Down
Loading