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

deps: enable unbundling of simdjson, simdutf, ada #52924

Merged
Merged
Changes from 1 commit
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
71 changes: 71 additions & 0 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,74 @@
dest='shared_zlib_libpath',
help='a directory to search for the shared zlib DLL')

shared_optgroup.add_argument('--shared-simdjson',
action='store_true',
dest='shared_simdjson',
default=None,
help='link to a shared simdjson DLL instead of static linking')

shared_optgroup.add_argument('--shared-simdjson-includes',
action='store',
dest='shared_simdjson_includes',
help='directory containing simdjson header files')

shared_optgroup.add_argument('--shared-simdjson-libname',
action='store',
dest='shared_simdjson_libname',
default='z',
lemire marked this conversation as resolved.
Show resolved Hide resolved
help='alternative lib name to link to [default: %(default)s]')

shared_optgroup.add_argument('--shared-simdjson-libpath',
action='store',
dest='shared_simdjson_libpath',
help='a directory to search for the shared simdjson DLL')


shared_optgroup.add_argument('--shared-simdutf',
action='store_true',
dest='shared_simdutf',
default=None,
help='link to a shared simdutf DLL instead of static linking')

shared_optgroup.add_argument('--shared-simdutf-includes',
action='store',
dest='shared_simdutf_includes',
help='directory containing simdutf header files')

shared_optgroup.add_argument('--shared-simdutf-libname',
action='store',
dest='shared_simdutf_libname',
default='z',
lemire marked this conversation as resolved.
Show resolved Hide resolved
help='alternative lib name to link to [default: %(default)s]')

shared_optgroup.add_argument('--shared-simdutf-libpath',
action='store',
dest='shared_simdutf_libpath',
help='a directory to search for the shared simdutf DLL')


shared_optgroup.add_argument('--shared-ada',
action='store_true',
dest='shared_ada',
default=None,
help='link to a shared ada DLL instead of static linking')

shared_optgroup.add_argument('--shared-ada-includes',
action='store',
dest='shared_ada_includes',
help='directory containing ada header files')

shared_optgroup.add_argument('--shared-ada-libname',
action='store',
dest='shared_ada_libname',
default='z',
lemire marked this conversation as resolved.
Show resolved Hide resolved
help='alternative lib name to link to [default: %(default)s]')

shared_optgroup.add_argument('--shared-ada-libpath',
action='store',
dest='shared_ada_libpath',
help='a directory to search for the shared ada DLL')

shared_optgroup.add_argument('--shared-brotli',
action='store_true',
dest='shared_brotli',
Expand Down Expand Up @@ -2056,6 +2124,9 @@ def make_bin_override():
configure_library('zlib', output)
configure_library('http_parser', output)
configure_library('libuv', output)
configure_library('ada', output)
configure_library('simdjson', output)
configure_library('simdutf', output)
configure_library('brotli', output, pkgname=['libbrotlidec', 'libbrotlienc'])
configure_library('cares', output, pkgname='libcares')
configure_library('nghttp2', output, pkgname='libnghttp2')
Expand Down
Loading