Skip to content

Commit b774544

Browse files
lemiremarco-ippolito
authored andcommittedJun 17, 2024
deps: enable unbundling of simdjson, simdutf, ada
PR-URL: #52924 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
1 parent d5ab1de commit b774544

File tree

1 file changed

+71
-0
lines changed

1 file changed

+71
-0
lines changed
 

‎configure.py

+71
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,74 @@
403403
dest='shared_zlib_libpath',
404404
help='a directory to search for the shared zlib DLL')
405405

406+
shared_optgroup.add_argument('--shared-simdjson',
407+
action='store_true',
408+
dest='shared_simdjson',
409+
default=None,
410+
help='link to a shared simdjson DLL instead of static linking')
411+
412+
shared_optgroup.add_argument('--shared-simdjson-includes',
413+
action='store',
414+
dest='shared_simdjson_includes',
415+
help='directory containing simdjson header files')
416+
417+
shared_optgroup.add_argument('--shared-simdjson-libname',
418+
action='store',
419+
dest='shared_simdjson_libname',
420+
default='simdjson',
421+
help='alternative lib name to link to [default: %(default)s]')
422+
423+
shared_optgroup.add_argument('--shared-simdjson-libpath',
424+
action='store',
425+
dest='shared_simdjson_libpath',
426+
help='a directory to search for the shared simdjson DLL')
427+
428+
429+
shared_optgroup.add_argument('--shared-simdutf',
430+
action='store_true',
431+
dest='shared_simdutf',
432+
default=None,
433+
help='link to a shared simdutf DLL instead of static linking')
434+
435+
shared_optgroup.add_argument('--shared-simdutf-includes',
436+
action='store',
437+
dest='shared_simdutf_includes',
438+
help='directory containing simdutf header files')
439+
440+
shared_optgroup.add_argument('--shared-simdutf-libname',
441+
action='store',
442+
dest='shared_simdutf_libname',
443+
default='simdutf',
444+
help='alternative lib name to link to [default: %(default)s]')
445+
446+
shared_optgroup.add_argument('--shared-simdutf-libpath',
447+
action='store',
448+
dest='shared_simdutf_libpath',
449+
help='a directory to search for the shared simdutf DLL')
450+
451+
452+
shared_optgroup.add_argument('--shared-ada',
453+
action='store_true',
454+
dest='shared_ada',
455+
default=None,
456+
help='link to a shared ada DLL instead of static linking')
457+
458+
shared_optgroup.add_argument('--shared-ada-includes',
459+
action='store',
460+
dest='shared_ada_includes',
461+
help='directory containing ada header files')
462+
463+
shared_optgroup.add_argument('--shared-ada-libname',
464+
action='store',
465+
dest='shared_ada_libname',
466+
default='ada',
467+
help='alternative lib name to link to [default: %(default)s]')
468+
469+
shared_optgroup.add_argument('--shared-ada-libpath',
470+
action='store',
471+
dest='shared_ada_libpath',
472+
help='a directory to search for the shared ada DLL')
473+
406474
shared_optgroup.add_argument('--shared-brotli',
407475
action='store_true',
408476
dest='shared_brotli',
@@ -2040,6 +2108,9 @@ def make_bin_override():
20402108
configure_library('zlib', output)
20412109
configure_library('http_parser', output)
20422110
configure_library('libuv', output)
2111+
configure_library('ada', output)
2112+
configure_library('simdjson', output)
2113+
configure_library('simdutf', output)
20432114
configure_library('brotli', output, pkgname=['libbrotlidec', 'libbrotlienc'])
20442115
configure_library('cares', output, pkgname='libcares')
20452116
configure_library('nghttp2', output, pkgname='libnghttp2')

0 commit comments

Comments
 (0)
Please sign in to comment.