Compare commits

...

999 Commits

Author SHA1 Message Date
ruki 864f51f504
Update arduinojson to v7.3.1 (#6511) 4 weeks ago
ruki ee39a6d461
Update lzav to 4.7 (#6509) 4 weeks ago
ruki 1e7bcb5322
Update microsoft-gsl to v4.2.0 (#6510) 4 weeks ago
ruki 186b92ca7b
Auto-update hlslpp to 3.6 (#6504) 4 weeks ago
Saikari 883e42b021
Add portmidi v2.0.4 (#6495) 4 weeks ago
Jérôme Leclercq 60015fbc45
Update xmake.lua (#6497) 4 weeks ago
ruki b416f0a348
Update plutovg to v0.0.13 (#6500) 4 weeks ago
ruki 8817c10862
Update zstd to v1.5.7 (#6501) 4 weeks ago
ruki 4b1f1fb499
Update xsimd to 13.2.0 (#6503) 4 weeks ago
Maxime 969fa5e4e0
Remove OpenSSL dependency for GNS on windows (#6498) 4 weeks ago
Saikari 68b55e6531
add libkeyfinder 2.2.8 (#6493) 4 weeks ago
Dozingfiretruck 2efbdfa071
add:sdl2 add 2.32.2 (#6492) 4 weeks ago
Doekin 1938273e10
p11-kit: add package (#6490) 4 weeks ago
ruki 0137f5ea49
Update lapack to v3.12.1 (#6439) 4 weeks ago
Doekin 938a2e0faf
leancrypto: add package (#6487) 1 month ago
Doekin acd17cc0ef
hyprwayland-scanner: add package (#6486) 1 month ago
ruki 448604cd27
Auto-update libjpeg-turbo to 3.1.0 (#6485) 1 month ago
Saikari 3eda575c0a
update fast_float to v8.0.0 (#6481) 1 month ago
Saikari 42e5cb5195
update cinatra to 0.9.5 (#6478) 1 month ago
Saikari 309ff4f0c6
update iguana to 1.0.7 (#6480) 1 month ago
A2va 2d86671c51
Update tbox to v1.7.6 (#6479) 1 month ago
ruki 5db0eca1c1
Update lief to 0.16.4 (#6483) 1 month ago
ruki 5799b72d89
Update kahip to v3.18 (#6484) 1 month ago
Saikari a229cc7e4b
async_simple Fix linux arm64 (#6475) 1 month ago
Saikari 7c1de3ec96
update cpptrace to v0.8.2 (#6476) 1 month ago
apocelipes 93d1cdf704
ada: update to v3.1.3 (#6474) 1 month ago
fasiondog 9a3a4fa327
update mnn to 3.0.5 (#6409) 1 month ago
Aidan Sun 304a040435
Add botan versions 3.6.0 to 3.7.1 (#6450) 1 month ago
ruki 00c0bcead7
improve check nsis (#6472) 1 month ago
ruki 468dfad99b
Update nuklear to 4.12.4 (#6469) 1 month ago
ruki 37ad1aa3cf
Update stringzilla to v3.12.1 (#6470) 1 month ago
ruki 4cc4878335
Update ucx to 1.18.0 (#6440) 1 month ago
ruki 9b9362fd45
Auto-update libwebsockets to v4.3.4 (#6457) 1 month ago
ruki b7bd967985
Auto-update double-conversion to v3.3.1 (#6460) 1 month ago
ruki d64bc735b0
Update tiny-optional to v1.4.0 (#6468) 1 month ago
Saikari d872ed39e6
add fixed-containers (#6465) 1 month ago
Saikari 2b44b6e371
Add windows plat for libebur128 (#6463) 1 month ago
Saikari 2e82469975
Add gelldur-eventbus v3.1.2 (#6462) 1 month ago
kbz_8 9ab93ad27e
adding tinycthread package for windows, linux and macos (#6461) 1 month ago
ruki 86cfdca647
Update sqlite_orm to v1.9.1 (#6458) 1 month ago
Saikari bd28e4af03
Add babl 0.1.110 (#6456) 1 month ago
Doekin 956a85fcac
ffmpeg: improve version parsing logic (#6446) 1 month ago
Saikari 3e3dc5aa1c
Add webthing-cpp v1.1.0 (#6453) 1 month ago
Saikari a10b1c7a2d
Update uwebsockets to v20.74.0 (#6454) 1 month ago
Chi Huu Huynh ec5b0ef6e7
whereami: add package (#6451) 1 month ago
Saikari 6ceaccfbe7
Add new package cwt-cucumber 2.5 (#6449) 1 month ago
Saikari cdabbe48fd
add new package safetyhook (#6438) 1 month ago
KkemChen 280fa83fe3
cgraph: fix xmake.lua (#6444) 1 month ago
ruki a9731a0976
Update pahomqttcpp to v1.5.1 (#6441) 1 month ago
ruki 8fcc674587
Update miniaudio to 0.11.22 (#6442) 1 month ago
ruki 53be6f970d
Update re-flex to v5.2.2 (#6443) 1 month ago
Saikari da5391aea2
update plutovg to 0.0.12 (#6437) 1 month ago
Saikari cde21691c2
update plutosvg to 0.0.6 (#6436) 1 month ago
Saikari 11ce68aaae
update harfbuzz to 10.3.0 (#6435) 1 month ago
Saikari 06d59b79df
update lcms to 2.17 (#6422) 1 month ago
Saikari d1c6f518f3
update flatbuffers to v25.2.10 (#6431) 1 month ago
apocelipes d71ee30e42
etl: update to v20.40.0 (#6434) 1 month ago
ruki b581f63a1d
Update cuda-samples to v12.8 (#6433) 1 month ago
kbz_8 5448db7aa2
Adding 24.0.0.1 version to wgpu-native (#6420) 1 month ago
Saikari 6115a62fea
add new package poly2tri (#6421) 1 month ago
Saikari be8ef302f2
update taskflow to v3.9.0 (#6430) 1 month ago
Saikari f41bb979c7
Update meson to 1.7.0 (#6429) 1 month ago
ruki 5f35fbfbe8
Update aws-c-common to v0.11.1 (#6423) 1 month ago
ruki a895e9f035
Update daw_header_libraries to v2.123.2 (#6424) 1 month ago
ruki 128e05ba73
Update cgif to v0.5.0 (#6425) 1 month ago
ruki 84570bcb04
Update dataframe to 3.4.0 (#6426) 1 month ago
star9029 3b847188b8
boost: fix process syslinks on windows 1 month ago
c8ef b735d64754
update sqlite3 to 3.49.1 (#6415) 1 month ago
SuniRein 4315f50bc4
Fix syslink missing in webui 2.5.0 (#6414) 1 month ago
ruki 4345cf52be
Update node-addon-api to v8.3.1 (#6410) 1 month ago
ruki dea65049d4
Update cglm to v0.9.6 (#6411) 1 month ago
ruki 1c8769e7d1
Update aws-c-mqtt to v0.12.1 (#6412) 1 month ago
ruki ed4a451340
Update argparse to 3.2 (#6413) 1 month ago
ruki acb796a2b7
Update libsdl2_ttf to 2.24.0 (#6407) 1 month ago
ruki fec260f635
Update nanoflann to v1.7.0 (#6404) 1 month ago
ruki 51c72baaed
Update c4core to 0.2.5 (#6405) 1 month ago
ruki a76c54a94b
Update lunasvg to v3.2.0 (#6406) 1 month ago
star9029 97843e50e7
antlr4-runtime: Fix build with latest msvc stl (#6403) 1 month ago
ruki 42e710cb29
add msys platform for kotlin-native (#6400) 1 month ago
star9029 ee29fff6a4
aurora-au: add package (#6401) 1 month ago
ruki 3eefa043fb
Auto-update watcher to 0.13.5 (#6394) 1 month ago
ruki 8bce4a7daf
Update microsoft-proxy to 3.2.1 (#6397) 1 month ago
ruki 861eab114e
Update libpng to v1.6.47 (#6395) 1 month ago
ruki 7bc89bf784
Update amrex to 25.02 (#6392) 1 month ago
ruki 5fa1956e39
Update glaze to v4.4.3 (#6390) 1 month ago
ruki 220737c918
Update plutosvg to v0.0.5 (#6391) 1 month ago
fantasy-peak 80f3fb8002
Configurable openssl version for grpc (#6388) 1 month ago
Aidan Sun 9e71a99bfe
Add imgui versions v1.91.7 and v1.91.8 (#6389) 1 month ago
ruki 60e1de7eed
Auto-update libsdl2_image to 2.8.5 (#6334) 1 month ago
ruki 59c18d1c5d
Auto-update ozz-animation to 0.16.0 (#6386) 1 month ago
ruki 2d41348a38
Update c-blosc2 to v2.16.0 (#6383) 1 month ago
ruki 69b4802464
Update jsoncons to v1.2.0 (#6384) 1 month ago
ruki 6475c440af
Update glaze to v4.4.2 (#6385) 1 month ago
Aidan Sun 9e9457ed22
Update imguitextselect to 1.1.4 (#6382) 1 month ago
star9029 d11b01271c
implot3d: add package (#6381) 1 month ago
ruki 408de0af62
Update quill to v8.1.1 (#6379) 1 month ago
ruki d5f2209538
Update libsdl2_mixer to 2.8.1 (#6375) 1 month ago
ruki 4acf0f864c
Update paul_thread_pool to 0.7.0 (#6376) 1 month ago
ruki ab08b3393c
Auto-update aws-lc to v1.45.0 (#6364) 1 month ago
star9029 02ece0ce1b
cpr: support clang-cl toolchain (#6374) 1 month ago
ruki 22778ae537
Auto-update streamvbyte to v2.0.0 (#6368) 1 month ago
ruki 91bea96fb0
Auto-update fmtlog to v2.3.0 (#6372) 1 month ago
Aidan Sun 102ef4f39e
Add bluez versions 5.71 to 5.79 (#6373) 1 month ago
ruki 483602b7eb
Update fast-cdr to v2.2.6 (#6369) 1 month ago
ruki 6bc709390e
Update snmalloc to 0.7.1 (#6370) 1 month ago
ruki 8f65a7d5c3
Update boost_ut to v2.3.0 (#6371) 1 month ago
star9029 df8a72f922
zxing-cpp: Improve 2.3.0 version build (#6367) 1 month ago
star9029 c660b4cab6
zint: add package (#6366) 1 month ago
star9029 55a22782c2
metall: add package (#4395) 2 months ago
Aidan Sun 7c785c378a
Update liburing to 2.9 (#6361) 2 months ago
ruki 674fd77679
Auto-update dlss to v310.1.0 (#6365) 2 months ago
ruki 1efbbacf72
Update flecs to v4.0.4 (#6362) 2 months ago
ruki 79b163541b
Update ls-qpack to v2.6.1 (#6363) 2 months ago
star9029 37cf6369b1
anari: add package (#4679) 2 months ago
ruki 7ca1b13a6a
Update vk-bootstrap to v1.4.307 (#6359) 2 months ago
ruki 0cc733d1b3
Update cgltf to v1.15 (#6356) 2 months ago
xpxz 82632a98bc
update crow to 1.2.1.1 (#6353) 2 months ago
Doekin 4b4d646b17
extra-cmake-modules: add package (#6355) 2 months ago
apocelipes 5500b5ad67
go: add v1.24.0 (#6352) 2 months ago
star9029 c78b8a0070 stdexec: improve on_check 2 months ago
vspefs c64fe7a50b
update microsoft-proxy to 3.2.0 (#6344) 2 months ago
ruki 333a1a3be0
add kotlin-native (#6343) 2 months ago
ruki c29e299fab
Update sol2 to v3.3.1 (#6350) 2 months ago
ruki 2426c76baa
Update ta-lib to 0.6.4 (#6347) 2 months ago
ruki c0197cb6d4
Update clay to v0.13 (#6348) 2 months ago
ruki 2a252ab6cd
Update libfabric to 2.0.0 (#6349) 2 months ago
ruki 175c4ba0bd
Update libffi to 3.4.7 (#6351) 2 months ago
Jérôme Leclercq 1e184cf808
Add libsdl3_image (#6345) 2 months ago
Doekin 24d6a2b044
ffmpeg: remove unsupported linker flag `-Bsymbolic` for MinGW (#6346) 2 months ago
ruki c9137d4368
Update aws-c-http to v0.9.3 (#6340) 2 months ago
ruki b4c6ec1e6a
Update s2n-tls to v1.5.12 (#6342) 2 months ago
ruki d685af3559
Update directx-headers to v1.615.0 (#6341) 2 months ago
star9029 b5e2178691
toml++: add extsources (#6337) 2 months ago
ruki aff94cf052
Update portable_build_tools to v2.10 (#6331) 2 months ago
ruki 4fe74240ba
Update samurai to v0.21.1 (#6332) 2 months ago
ruki deff208266
Update sentry-native to 0.7.20 (#6335) 2 months ago
ruki 6e04311b24
update libxrender (#6336) 2 months ago
ruki cf1cdfee6d revert test.lua 2 months ago
Jérôme Leclercq 50ea22ebb1
Rename libsdl packages to libsdl2 (#6292) 2 months ago
ruki d988c7beb3
Update rocksdb to v9.10.0 (#6333) 2 months ago
SuniRein a7e1f1c60d
fix: syslink missing on linux in webui. (#6329) 2 months ago
vspefs f2df3e7c7b
lock scnlib's fast_float dependency to below 7.0.0 (#6328) 2 months ago
Frityet d190578423
add v1.2.3 (#6330) 2 months ago
ruki 318a3e5222
Update node-api-headers to v1.5.0 (#6319) 2 months ago
ruki 56e1d3a699
Update simdutf to v6.2.0 (#6325) 2 months ago
ruki ba82997f11
Update cpp-httplib to v0.18.7 (#6326) 2 months ago
ruki 1f06026b36
Update cpptrace to v0.7.5 (#6323) 2 months ago
A2va 169ef2760e
Patch liburing shared/static (#6286) 2 months ago
ruki 86d70f6d94
rename libsdl2 deps (#6317) 2 months ago
c8ef e96fbd32d7
Update libpng to 1.6.46 (#6318) 2 months ago
ruki 44d72ba745
Auto-update pahomqttcpp to v1.5.0 (#6313) 2 months ago
ruki 5d5247a881 remove unused patches 2 months ago
ruki 079396268b
rename libsdl_xxx to libsdl2_xxx (#6316) 2 months ago
ruki 7bd41fa835
Update aws-c-event-stream to v0.5.1 (#6311) 2 months ago
ruki 6508d3a4e6
Update cpp-httplib to v0.18.6 (#6314) 2 months ago
ruki 4805484fbb
Update libbigwig to 0.4.8 (#6315) 2 months ago
ruki 9239b34a28
Update aws-c-compression to v0.3.1 (#6312) 2 months ago
ruki 299e67e485
rename libsdl to libsdl2 (#6307) 2 months ago
star9029 6a27cf3c2e
Auto-update ada to v3.0.1 (#6309) 2 months ago
c8ef 7c647dfabd
update sqlite3 to 3.49.0 (#6310) 2 months ago
star9029 1bd21f6b6a
idna: add 0.2.0 version (#6308) 2 months ago
star9029 20694502a4
fgt: add package (#6306) 2 months ago
c8ef d7a0779921
update abseil to 20250127.0 (#6302) 2 months ago
ruki d68357ca57
fix lief (#6305) 2 months ago
ruki 5e93d55e7a
Update lief to 0.16.3 (#6304) 2 months ago
star9029 672f1349cf
tinygltf: fix deps include (#6303) 2 months ago
ruki 04d3a3214f
improve cli patch (#6301) 2 months ago
star9029 eb7726e3b9
tinygltf: Remove vendor install (#6298) 2 months ago
apocelipes d8d4793b94
go: update to v1.22.12/v1.23.6 (#6299) 2 months ago
ruki ebdc2cbd22
fix lni (#6300) 2 months ago
star9029 5820957c91
yy-thunks: update to 1.1.5 version (#5730) 2 months ago
ruki 26276a2939
Auto-update thread-pool to v5.0.0 (#6024) 2 months ago
ruki 22a34355ea
Auto-update capstone to 5.0.5 (#6287) 2 months ago
ruki 9af2095f13 enable embed for libxmake 2 months ago
mirageAlchemy 354387f1ab
Add capnproto support and fix msgpack compilation for reflect-cpp v0.17.0 (#6294) 2 months ago
ruki ae51a60324
disable readline (#6297) 2 months ago
star9029 4badd8d9c4
vc-ltl5: add deps for windows xp version (#6296) 2 months ago
ruki dc2a99c8e5
xmake 2.9.8 (#6295) 2 months ago
ruki 759f94faaf
Update protobuf-c to 1.5.1 (#6289) 2 months ago
ruki a0e2154a76
Update pahomqttc to v1.3.14 (#6288) 2 months ago
ruki 7ee39187b6
Update uwebsockets to v20.72.0 (#6291) 2 months ago
Jérôme Leclercq fab4640e3b
Add libsdl3 (#6225) 2 months ago
Jérôme Leclercq a913ba1275
libcurl: Don't disable OpenSSL by default (#6281) 2 months ago
Inari0 a81e99d138
split wayland-protocols from wayland (#6274) 2 months ago
ruki 296e3fa759
Update cppfront to v0.8.1 (#6276) 2 months ago
ruki f9b0cbf44b
Update pdfhummus to v4.6.8 (#6279) 2 months ago
Chi Huu Huynh 2efb8ec0c2
srell: update 4.063 (#6272) 2 months ago
star9029 bf0ee23c1a
liboai: Add license (#6273) 2 months ago
ruki 48fa9f55ab
Update google-cloud-cpp to v2.34.0 (#6275) 2 months ago
ruki 8ecbb63d17
Update aws-c-cal to v0.8.3 (#6277) 2 months ago
ruki da83ed0c85
Auto-update libmaxminddb to 1.12.2 (#6267) 2 months ago
ruki 47b0a321b3
Auto-update libfswatch to 1.18.2 (#6268) 2 months ago
Inari0 2064dbae96
update opencv and spdlog (#6264) 2 months ago
c8ef 9e0ca520d8
update fmt to 11.1.3 (#6271) 2 months ago
kbz_8 7038d6ffe4
Adding patch for sol2 3.3.0 (#6251) 2 months ago
ruki 2317f11ced
Update toml11 to v4.3.0 (#6269) 2 months ago
Christian Kurz d0fb307110
Update capnproto to branch and with version 1.0.2 (#4780) 2 months ago
ruki 25c8a97932
Update tinyexr to v1.0.10 (#6265) 2 months ago
Komo cf67f1f0ab
libnyquist: new package (#6176) 2 months ago
ruki 0bc0e30396
Update itlib to v1.11.5 (#6259) 2 months ago
ruki f92662442b
Update cpp-rotor to v0.33 (#6260) 2 months ago
ruki bec4d66087
Auto-update bzip3 to 1.5.1 (#6261) 2 months ago
star9029 754963fa4a
minja: add package (#6258) 2 months ago
Inari0 40df0b2057
update cacert (#6257) 2 months ago
ruki 6e75093a18
Update libuv to v1.50.0 (#6253) 2 months ago
MicroBlock 4b0acbed92
Update xmake.lua (#6245) 2 months ago
ruki a1316845c3
Auto-update reactiveplusplus to v2.2.2 (#6199) 2 months ago
ruki 38b19e943d
Update protobuf-cpp to 29.3 (#6227) 2 months ago
ruki 8fa841c7fe
Update tinygltf to v2.9.5 (#6250) 2 months ago
ruki 1e8d315bdd
Update libxmake to v2.9.7 (#6246) 2 months ago
ruki 1b23c7e733
Update libassert to v2.1.4 (#6248) 2 months ago
apocelipes a02d11fd4f
CImg: update to v3.5.2 (#6244) 2 months ago
ruki cd3b5b5304
Auto-update kuba-zip to v0.3.3 (#6228) 2 months ago
ruki 626925f658
Update reflect-cpp to v0.17.0 (#6242) 2 months ago
ruki ccef050bde
Update frugally-deep to v0.16.2 (#6243) 2 months ago
ruki 67c53a042b
Update cgns to v4.5.0 (#6240) 2 months ago
ruki 80b6e0bbd7
Update aws-c-sdkutils to v0.2.3 (#6241) 2 months ago
apocelipes 104467255c
CImg: update to v3.5.1 (#6238) 2 months ago
star9029 0753178416
octree: add package (#6223) 2 months ago
Frityet f474990051
Update ObjFW (#5986) 2 months ago
ruki e40a554bbb
Auto-update stc to v5.0 (#6229) 2 months ago
ruki 243f78df4d
Update yoga to v3.2.1 (#6236) 2 months ago
Shiffted f4cd9a6950
Remove platform requirements for gcem (#6235) 2 months ago
Iiro Surakka 1b3d631fca
Fix box2d build when using commit hash as version (#6234) 2 months ago
Shiwei Wang f3b138854b
ufbx: install extra files to includedir (#6233) 2 months ago
ruki c42fe3532a
Update dispenso to v1.4.0 (#6232) 2 months ago
apocelipes 145e30e0ee
cppitertools: update to v2024.10.19 (#6231) 2 months ago
谢天 080d51a44a
Add reckless log (#6222) 2 months ago
Doekin 2619d9f502
Qt: enhance cross-compilation support for desktop platforms (#6208) 2 months ago
ruki 327049a727
Update ittapi to v3.25.4 (#6230) 2 months ago
ruki b51b43a54a
Update arduinojson to v7.3.0 (#6226) 2 months ago
ruki fe7add7f0c
Update cpp-rotor to v0.32 (#6218) 2 months ago
ruki a661b86973
Update libzip to v1.11.3 (#6219) 2 months ago
ruki 9f9072ec6d
Update orc to v2.1.0 (#6220) 2 months ago
star9029 59e0522ca3
yyjson: add cmake config (#6215) 2 months ago
方糖 027caa9116
fix: bypass verilator root check (#6162) 2 months ago
mirageAlchemy fc3bc1fc78
fix reflect-cpp compilation when msgpack is enabled (#6205) 2 months ago
star9029 c621edaa57 nanomsg: remove unused code 2 months ago
star9029 45489dfe11 range-v3: add extsources 2 months ago
star9029 04b34dd272 faker-cxx: Improve on_check 2 months ago
ruki 852a92081f
Update verilator to v5.032 (#6213) 2 months ago
star9029 4fd9216b6d
lastools: add package (#6209) 2 months ago
Doekin 19c9021c8c
aqt: update to 3.1.21 (#6210) 2 months ago
ruki 49a7531c6f
Auto-update faker-cxx to v4.0.1 (#6202) 2 months ago
ruki 6168c84416
improve cmake for ninja (#6207) 2 months ago
ruki dad864f9b2
Update harfbuzz to 10.2.0 (#6201) 2 months ago
ruki 233328880b
Update cpp-httplib to v0.18.5 (#6203) 2 months ago
xpxz d6ad68dc09
add winpcap support for pcapplusplus (#6197) 2 months ago
ruki 287bd9af3c
Update catch2 to v3.8.0 (#6200) 2 months ago
ruki 1404fa2a00
Update cutlass to v3.7.0 (#6192) 2 months ago
ruki 8cc5580b17
Auto-update ocilib to v4.7.7 (#6182) 2 months ago
ruki 802b3493c5 fix is_supported 2 months ago
Saikari 376edcc845
Update pugixml to v1.15 (#6166) 2 months ago
icysky efd55d0e53
pcl: fix boost version requirement (#6163) 2 months ago
xpxz d4e6bed41f
add winpcap (#6196) 2 months ago
NahidaChan ffb3319c27
python: update 3.13.1 (#6171) 2 months ago
ruki abc4bd52fe
Update oniguruma to v6.9.10 (#6195) 2 months ago
Chi Huu Huynh 1a996c990d
quickjs-ng: remove limits (#6188) 2 months ago
yh-sb 2cf62b3514
Enable Qt6 for macOS arm64 (#6190) 2 months ago
ruki c83867e24a
Update spectra to v1.1.0 (#6191) 2 months ago
ruki 4bb65c18d2
Update aws-c-sdkutils to v0.2.2 (#6193) 2 months ago
ruki eccc765c51
Update jsoncons to v1.1.0 (#6186) 2 months ago
ruki 9d2243f5f5
Update quill to v8.0.0 (#6183) 2 months ago
ruki 3664154695
Update barkeep to v0.1.5 (#6184) 2 months ago
ruki 46bd6aa9f5
Update sse2neon to v1.8.0 (#6185) 2 months ago
Shiwei Wang 0b10ad1186
spdlog: only add '/utf-8' when not use std_format (#6173) 2 months ago
star9029 459aba852f
Fix ci (#6181) 2 months ago
xpxz a266c23449
Update utf8proc and install to all plat (#6179) 2 months ago
star9029 5c5d720e0d
Add hosted arm64 ci (#6175) 2 months ago
apocelipes e1f194ce61
go: update to v1.22.11 & v1.23.5 (#6174) 2 months ago
Inari0 f06c542d49
fix libigl on windows (#6172) 2 months ago
Altina Orion e76d08c499
New package: google-cloud-cpp (#5991) 2 months ago
star9029 b9d3d7770f
crc32c: Fix windows shared build (#6170) 2 months ago
star9029 b8fd0ab4aa
lwlog: add package (#6168) 3 months ago
MicroBlock 0a989d105a
update thorvg to latest (#6153) 3 months ago
谢天 14b5d26cd7
Add dlss package (#6169) 3 months ago
c8ef cb7674766c
update sqlite3 to 3.48.0 (#6165) 3 months ago
icysky 71b100e8f6
libtorch: remove nvtx dependency since v2.4.1 (#6158) 3 months ago
c8ef 2981ab310b
update fmt to 11.1.2 (#6160) 3 months ago
SFGrenade cbdc8b4c09
fix libsdl_image 2.8.4 sha256 (#6161) 3 months ago
谢天 3c792d010e
Add offsetAllocator package (#6150) 3 months ago
Yassine Sen f061dd305d
Add dipp package (#6155) 3 months ago
ruki 8fdfdd2c36
Auto-update cnats to v3.9.2 (#5965) 3 months ago
Elite-stay 7eac88e0cc
fix flann (#6152) 3 months ago
star9029 c3e729ba6f
Auto-update littlefs to v2.10.1 (#6148) 3 months ago
ruki cdf2e3d29f
Auto-update ls-qpack to v2.6.0 (#6106) 3 months ago
star9029 8eea855f4e
xxhash: Support shared build (#6151) 3 months ago
star9029 a68d0744d8
Update libwfkafka to v0.11.7 (#6146) 3 months ago
star9029 f069905368
Update sentry-native to 0.7.17 (#6147) 3 months ago
Saikari 53bb788bf6
prepend miniz (#6143) 3 months ago
Saikari 0ff15e094b
try to build shared cunit (#6135) 3 months ago
谢天 4d60a5b992
Add tlsf package (#6144) 3 months ago
star9029 77845d621e
libgit2cpp: add package (#6142) 3 months ago
star9029 9f5a6ed1cc
libgit2: Support wasm (#6141) 3 months ago
Saikari 342705d646
upd ver (#6140) 3 months ago
谢天 0acb6f28c3
Add easy_profiler package (#6139) 3 months ago
Saikari 153fc0abe1
revise miniz (#6137) 3 months ago
PumpkinXD 567a2f6f3b
update cosmocc to version 4.0.2 (#6138) 3 months ago
Saikari b49d6d685e
init (#6134) 3 months ago
Saikari 2c33ed26af
New package: cunit (#6133) 3 months ago
Saikari 3fa02e89c0
Update vulkan-memory-allocator to 3.2.0 (#6130) 3 months ago
ruki 431c6a315b
Update nuklear to 4.12.3 (#6131) 3 months ago
Saikari e6a84e86fc
libmysofa: add package (#6076) 3 months ago
star9029 4aa0a409c1
ada: Disable cpm download (#6128) 3 months ago
star9029 60c609e53b
ffmpeg: Fix build on msys2 (#6104) 3 months ago
apocelipes 1a25444bed
CImg: update to v3.5.0 (#6129) 3 months ago
star9029 b102feda00 ormpp: limit deps version 3 months ago
star9029 bd8a6e07a9 boost: Fix cmake find zstd for 1.87 version 3 months ago
RedbeanW 738c3c81a3
snappy: Update to 1.2.1 version (#6116) 3 months ago
Saikari f5026b8df0
bump ver (#6120) 3 months ago
Saikari 0012fcabb2
bump ver (#6121) 3 months ago
muzili 8ca17794d4
fix hookmanager assert fail (#6119) 3 months ago
ruki 128b1b27b5
Update libdeflate to v1.23 (#6126) 3 months ago
ruki ccf2635020
Update aws-crt-cpp to v0.29.8 (#6122) 3 months ago
ruki 8c2819477c
Update zxing-cpp to v2.3.0 (#6123) 3 months ago
ruki 713745e3b0
Update pyincpp to v2.6.0 (#6125) 3 months ago
muzili 9e5a55717b
add v0.4.1 (#6117) 3 months ago
RedbeanW 89519365b0
leveldb: fix build under clang-cl. (#6118) 3 months ago
Jérôme Leclercq 2e23d5528a
Assimp: Fix compilation with MinGW10 (#6107) 3 months ago
ruki 72d7580225
Update plutosvg to v0.0.4 (#6114) 3 months ago
ruki d5c975b507
Update annoy to v1.17.3 (#6110) 3 months ago
ruki a391fc303c
Update aws-c-common to v0.10.6 (#6111) 3 months ago
ruki a1843a8763
Update xsimd to 13.1.0 (#6112) 3 months ago
yh-sb aabc10c49e
Fix asio build (#6108) 3 months ago
ruki 63d263d90d
Update jsoncons to v1.0.0 (#6105) 3 months ago
fasiondog 3c40b7c82c
add ta-lib (#6103) 3 months ago
MicroBlock 90de2a05b1
update skia to 131 (#6095) 3 months ago
Doekin c0a3807816
OpenSSL: improve MinGW support on Windows (#6079) 3 months ago
xpxz 0534af8f29
update cinatra to 0.9.4 (#6012) 3 months ago
ruki d81dccf326
Update grpc to v1.69.0 (#6101) 3 months ago
ruki eb69214096
Update cutlass to v3.6.0 (#6102) 3 months ago
ruki 7512e7b3c1
Update simdjson to v3.11.3 (#6099) 3 months ago
ruki 2bddd449e6
Update libsdl_image to 2.8.4 (#6100) 3 months ago
star9029 4cab59b7c1
x265: improve numa deps (#6096) 3 months ago
Jérôme Leclercq 0032783a6b
Update xxhash to v0.8.3 (#6098) 3 months ago
Jim 64c15d349f
Limit ImGui <=1.90.4 to Polyscope > 2.2.0 (#6091) 3 months ago
ruki cac47faf52
Update highs to v1.9.0 (#6094) 3 months ago
ruki e53de1c6ba
Update gyp-next to v0.19.1 (#6092) 3 months ago
ruki 9c52f623df
Update highfive to v2.10.1 (#6093) 3 months ago
star9029 95aa0e9479
igraph: add package (#6005) 3 months ago
c8ef bf79554a5a
update fmt to 11.1.1 (#6090) 3 months ago
Linpeng Zhang 00854d746f
[clay] Add renderer configuration options and update test cases (#6074) 3 months ago
ruki eb0f2d5ff4
Update amqp-cpp to v4.3.27 (#6089) 3 months ago
ruki c8c33bbeab
Update snitch to 1.3.1 (#6086) 3 months ago
ruki 81d323730d
Update cpp-httplib to v0.18.3 (#6087) 3 months ago
ruki d844b71f5e
Update ngtcp2 to 1.10.0 (#6088) 3 months ago
star9029 349bdfd28e
angelscript: Enable exceptions by default (#6084) 3 months ago
Inari0 da88f60408
update amgcl (#6071) 3 months ago
RimuruChan aa72d472b1
Fix opengl and glfw link for msys (#6075) 3 months ago
ruki a640d24599
Auto-update onnx to v1.17.0 (#5831) 3 months ago
mirageAlchemy 7fdce6d0d6
Fix reflect-cpp when toml/yaml are configured (#6077) 3 months ago
ruki 245d68599a
Update tree-sitter to v0.24.6 (#6080) 3 months ago
ruki 48c241ea68
Update units to v2.3.4 (#6081) 3 months ago
ruki d523d6025a
Update c-blosc2 to v2.15.2 (#6082) 3 months ago
Saikari c77e894977
new port pffft (#6058) 3 months ago
apocelipes 86c14bb1c5
StringZilla: update to v3.11.3 (#6072) 3 months ago
Jérôme Leclercq 2d517a0474
SFML: Fix msvc runtime when using MTd without debug (#6073) 3 months ago
ruki e56559c540
Auto-update quickjs-ng to v0.8.0 (#6070) 3 months ago
Inari0 e7104e9f83
update boost (#6056) 3 months ago
Saikari c5fdefa4e2
Update xmake.lua (#6059) 3 months ago
Jérôme Leclercq e44c72f502
Update libsdl to 2.30.10 (#6065) 3 months ago
ruki f77637602d
Update simsimd to v6.2.3 (#6066) 3 months ago
ruki 49b3e33636
Update simdutf to v5.7.2 (#6067) 3 months ago
ruki 4b4478aa4d
Update pdfio to v1.4.0 (#6068) 3 months ago
ruki 9c2020d52f
Update tree-sitter to v0.24.5 (#6069) 3 months ago
Jérôme Leclercq 4294a00f76
Update dr_flac to 0.12.43 (#6060) 3 months ago
Jérôme Leclercq ff9d0bc962
Update dr_mp3 to 0.6.40 (#6061) 3 months ago
Jérôme Leclercq 87087d7c82
Update dr_wav to 0.13.17 (#6062) 3 months ago
Jérôme Leclercq c3a12f1946
Update fmt to 11.1.0 (#6063) 3 months ago
Jérôme Leclercq f9341819ba
Update kiwisolver to 1.4.8 (#6064) 3 months ago
Saikari 37d5a9296d
update LIEF to 0.16 (#6046) 3 months ago
Doekin b8de188ce9
SFML: update to 3.0.0 (#6038) 3 months ago
ruki d5101eca49
Auto-update vvenc to v1.13.0 (#6044) 3 months ago
muzili 4630bd9684
hookmanager update to 0.3.3 (#6050) 3 months ago
ruki 73db7de1e0
Update s2n-tls to v1.5.10 (#6051) 3 months ago
ruki a217799c76
Update ufbx to v0.15.1 (#6052) 3 months ago
ruki 8390a5cd2a
Update liboqs to 0.12.0 (#6054) 3 months ago
NahidaChan 68bcc298f7
Add paul_thread_pool git repo (#6047) 3 months ago
Altina Orion a852a80f0b
grpc patch: Fixed NAN/INFINITY definitions to work on Windows 11 SDK. (#5998) 3 months ago
Arash Partow 2d2f3b9e4c
Update ExprTk to 0.0.3 (#6039) 3 months ago
ruki 79abe967a9
Update wfrest to v0.9.8 (#6045) 3 months ago
ruki 9e8def714a
Update barkeep to v0.1.4 (#6041) 3 months ago
ruki 5a691fadf6
Update lunasvg to v3.1.0 (#6042) 3 months ago
ruki 29150c4ea3
Update cppcheck to 2.16.2 (#6043) 3 months ago
star9029 5a47b59a77
openssl3: Support wasm (#6037) 3 months ago
ruki 6b8cbc6665
Update libsdl_image to 2.8.3 (#6033) 3 months ago
ruki b244bf485b
Update c-ares to 1.34.4 (#6034) 3 months ago
ruki e65beaeadc
Update simdutf to v5.7.1 (#6035) 3 months ago
ruki cf55ffe6aa
Update ginkgo to v1.9.0 (#6036) 3 months ago
muzili 0ece2246c3
Add HookManager Lib Repo (#6028) 3 months ago
wzy 544b0e4d57
Add node-api-stub (#6004) 3 months ago
ruki f46623655f
Auto-update nghttp3 to v1.7.0 (#6031) 3 months ago
star9029 17ac65bce9
tbb: remove alias package (#6026) 3 months ago
ruki 0eafd8ba20
Update rocksdb to v9.9.3 (#6032) 3 months ago
ruki b65fdb6022
Update samurai to v0.19.0 (#6029) 3 months ago
ruki 0efbd89dc3
Update glaze to v4.2.2 (#6030) 3 months ago
Inari0 a0cd7edd95
update python (#6027) 3 months ago
ruki eaaa5323f8
Update cppjieba to v5.4.1 (#6021) 3 months ago
ruki d39264eac2
Update protobuf-cpp to 29.2 (#6022) 3 months ago
ruki 6efcab71a7
Update cpptrace to v0.7.4 (#6023) 3 months ago
ruki 704a105068
Update boost_ut to v2.1.1 (#6015) 3 months ago
ruki 66849a72a9
Update meson to 1.6.1 (#6017) 3 months ago
star9029 c62ebd316d
clay: add package (#6013) 3 months ago
ruki 260eb1e42f update readme 3 months ago
star9029 88272611c8
annoy: add package (#6011) 3 months ago
ruki 6db95290ee
Update libzip to v1.11.2 (#6006) 3 months ago
ruki 0146c6eaf4
Update mongoose to 7.16 (#6007) 3 months ago
ruki a7917fb08f
Update aws-c-compression to v0.3.0 (#6008) 3 months ago
Doekin 258d2f720f
date: Add release version (#6002) 3 months ago
Anthony Verdon ac5a890212
adding imgui v1.91.2 to v1.91.6 (#6003) 3 months ago
apocelipes 590f874381
StringZilla: update to v3.11.1 (#6001) 3 months ago
star9029 4d3a0494c3
plfit: add package (#5992) 3 months ago
Altina Orion 7d56f3c46d
New package: apache orc (#5988) 4 months ago
ruki f22cdf53bb
Update cgraph to v2.6.2 (#5993) 4 months ago
ruki b419e90ff6
Update nlopt to v2.9.1 (#5994) 4 months ago
ruki fa5b3708c6
Update libmem to 5.0.4 (#5996) 4 months ago
ruki 15072a14dc
Update sentry-native to 0.7.16 (#5997) 4 months ago
star9029 92353c3a22 protobuf-cpp: fix try remove exe 4 months ago
Doekin 22cbc36805
emmylua_debugger: add option to skip installing `emmy_tool` and `emmy_hook` on Windows (#5987) 4 months ago
ruki 66d94eb469
Update aws-c-s3 to v0.7.7 (#5983) 4 months ago
ruki befce08674
Update libcpuid to v0.7.1 (#5984) 4 months ago
ruki 030a77dd64
Update aws-lc to v1.41.1 (#5985) 4 months ago
star9029 da9dc22088
magic_enum: compatible with includedirs (#5979) 4 months ago
Chi Huu Huynh a834458b57
fix test.lua cd (#5972) 4 months ago
star9029 5d4f357964 Revert "Update uwebsockets to v20.71.0 (#5977)" 4 months ago
star9029 b97ea1f3f4 Revert "Update vulkan-utility-libraries to v1.4.303 (#5976)" 4 months ago
star9029 eff45d6fa0 Revert "Update pocketpy to v2.0.3 (#5975)" 4 months ago
star9029 17d7ca0eee Revert "Update liboqs to 0.12.0 (#5974)" 4 months ago
star9029 5443d5a7eb Revert "Update json-glib to 1.10.6 (#5973)" 4 months ago
Jérôme Leclercq 594cd872bc
libcurl: Restore openssl by default on Linux/Android (#5970) 4 months ago
ruki b7e3ad57d0
Update json-glib to 1.10.6 (#5973) 4 months ago
ruki 47d14d3b2d
Update liboqs to 0.12.0 (#5974) 4 months ago
ruki a842e37ef2
Update pocketpy to v2.0.3 (#5975) 4 months ago
ruki 887729bb41
Update vulkan-utility-libraries to v1.4.303 (#5976) 4 months ago
ruki 25fe9f4577
Update uwebsockets to v20.71.0 (#5977) 4 months ago
star9029 7f0e3477f6
verilator: switch to cmake (#5680) 4 months ago
Chi Huu Huynh 28d2d63ca7
jerryscript: add package (#5941) 4 months ago
Doekin 117ffb8a6c
protobuf-cpp: Fix Windows build for versions <= 3.19.4 (#5955) 4 months ago
star9029 b0a7b31b13
protobuf-cpp: remove non-host protoc (#5960) 4 months ago
Chi Huu Huynh 8366ff6790
fix test.lua (#5953) 4 months ago
SaeruHikari ec1c0e01d9
[boost] fix test.lua (#5968) 4 months ago
ruki d7e17207e7
Update microsoft-proxy to 3.1.0 (#5967) 4 months ago
ruki 48d7ac766b
Update daw_header_libraries to v2.118.0 (#5963) 4 months ago
ruki 1b8d6a1987
Update portable_build_tools to v2.9.2 (#5964) 4 months ago
ruki f4dd9f5556
Update harfbuzz to 10.1.0 (#5966) 4 months ago
ruki 1c4a5226d0
support iphoneos for openssl (#5959) 4 months ago
Jérôme Leclercq c7ddddf458
imgui: Enable all platforms (#5957) 4 months ago
c8ef 8469ced643
update sqlite3 to 3.47.2 (#5956) 4 months ago
apocelipes 9ea05a648e
go: add v1.23.4 & v1.22.10 (#5954) 4 months ago
xpxz 23823314bf
update taskflow to 3.8.0 (#5952) 4 months ago
Chi Huu Huynh de28f2e8a2
duktape: add package (#5950) 4 months ago
KkemChen 97ac6525dd
iguana: update 1.0.6 (#5948) 4 months ago
ruki 0a8abe67f7
Improve to test packages (#5946) 4 months ago
ruki c96b575f53
Update simdjson to v3.11.2 (#5951) 4 months ago
star9029 e9749a53c8
protoc: Use protobuf-cpp as deps (#5881) 4 months ago
Peter Richmond 796f31b410
update sokol to latest commit (#5949) 4 months ago
star9029 00be0f5a12
jxrlib: add package (#5947) 4 months ago
Altina Orion f644dd8984
Update onedpl 2022.7.0 and 2022.7.1 (sequentially) (#5940) 4 months ago
Chi Huu Huynh a023c5cd20
itstool: Support bsd (#5921) 4 months ago
star9029 b7013f43d0 protobuf-cpp: Don't add PATH bin in cross-compilation 4 months ago
star9029 81fb898231
libxml2: Fix python build & import (#5930) 4 months ago
Tab Nahida f16d8df9d3
Update xmake.lua (#5945) 4 months ago
ruki 09f7d4bbde
Update unordered_dense to v4.5.0 (#5943) 4 months ago
ruki 6580e51848
Update onednn to v3.6.2 (#5944) 4 months ago
star9029 c5af44d919
nanoarrow: add package (#5939) 4 months ago
star9029 8f49d6bc76
flatcc: add package (#5937) 4 months ago
Altina Orion 1bb029de8e
Update tbb 2022.0 (#5931) 4 months ago
KkemChen 4ab01d47d7
stdexec: update 2024.12.08 (#5938) 4 months ago
ruki ef7ef43c86
Update yalantinglibs to 0.3.11 (#5932) 4 months ago
ruki f14cdaa04a
Update yoga to v3.2.0 (#5933) 4 months ago
ruki b2855c57b1
Update winreg to v6.3.2 (#5935) 4 months ago
Peter Richmond dd09f37418
Update Raylib-cpp to v5.5.0 (#5923) 4 months ago
ruki 3d1c0ff0c4
Update ngtcp2 to 1.9.1 (#5928) 4 months ago
ruki eca0743790
Update node-addon-api to v8.3.0 (#5924) 4 months ago
ruki 7800ba8860
Update emmylua_debugger to 1.8.3 (#5925) 4 months ago
ruki 7037f51bf9
Update aws-c-s3 to v0.7.5 (#5926) 4 months ago
Chi Huu Huynh e36307d36f
node-addon-api: fix xrepo info (#5911) 4 months ago
RedbeanW 3553f714b2
add dobby. (#5920) 4 months ago
RedbeanW c1bf758a43
libssh2: add openssl v3 support. (#5919) 4 months ago
RedbeanW a23c2b65fc
Update libcurl (#5892) 4 months ago
ruki a4a8d20e32
Update libmem to 5.0.3 (#5918) 4 months ago
ruki eb993d68fe
Update nanoflann to v1.6.2 (#5914) 4 months ago
Chi Huu Huynh 580ae92710
xerces-c: fix xrepo info (#5910) 4 months ago
Peter Richmond b68bd7845d
update Raylib to 5.5 (#5777) 4 months ago
xpxz 8d77279d1c
Update libhv to 1.3.3 (#5903) 4 months ago
star9029 0c75204293 antlr4: remove unused build files 4 months ago
Altina Orion 2f692d23ab
Update tbb 2021.13.0 (and 2022.0 cannot pass ci for mingw+msys2, should fix) (#5859) 4 months ago
ruki 895f3f4202
Update libdwarf to 0.11.1 (#5907) 4 months ago
ruki e5a0b09f0a
Update blake3 to 1.5.5 (#5908) 4 months ago
ruki f3fafafb3a
Update s2n-tls to v1.5.9 (#5904) 4 months ago
ruki 464e4d3acb
Update alembic to 1.8.8 (#5905) 4 months ago
ruki d38ffd2a80
Update benchmark to v1.9.1 (#5906) 4 months ago
ruki 54cec73e07
Auto-update yomm2 to v1.6.0 (#5716) 4 months ago
ruki dafbd71bc3
Auto-update microsoft-proxy to 3.1.0 (#5900) 4 months ago
ruki 8ca1704c37
Update aws-c-s3 to v0.7.4 (#5902) 4 months ago
ruki e7e52b668f
Update vk-bootstrap to v1.3.302 (#5898) 4 months ago
ruki c850a3e0fa
Update gdal to 3.10.0 (#5899) 4 months ago
ruki 727bb74860
Update portable_build_tools to v2.8.1 (#5901) 4 months ago
ruki 2c841be813
Auto-update mailio to 0.24.1 (#5874) 4 months ago
ruki 18e085bd87
Auto-update snmalloc to 0.7.0 (#5896) 4 months ago
ruki 8acd3ab9a6
Auto-update amrex to 24.12 (#5895) 4 months ago
ruki 6c93d324e2
Update audiofile to 1.1.2 (#5893) 4 months ago
ruki 301027acae
Update libenvpp to v1.5.1 (#5894) 4 months ago
star9029 32fa461e29
dav1d: add 1.5.0 version (#5889) 4 months ago
star9029 bb411115a3
vmaf: support android (#5887) 4 months ago
star9029 9e446af3a0
thorvg: support android (#5890) 4 months ago
apocelipes cea5bde652
StringZilla: add v3.10.11 and v3.11.0 (#5884) 4 months ago
star9029 1bb4840524
libdicom: support android (#5885) 4 months ago
star9029 505d814d84
openh264: support android (#5886) 4 months ago
star9029 ce5e004608
cgif: support wasm & android (#5888) 4 months ago
star9029 4fce854c7a
boxfort: add package (#5880) 4 months ago
star9029 888684c248 mysql: add extsources 4 months ago
mirageAlchemy 2a84faea43
Update reflect-cpp to v0.16.0 (#5869) 4 months ago
Doekin b276fea04f
fix protobuf-cpp build on mingw-clang (#5877) 4 months ago
ruki fca4e98961
Update upa-url to v1.0.2 (#5878) 4 months ago
ruki d8e09622ba
Update samurai to v0.18.0 (#5879) 4 months ago
star9029 d764119079
qengine: add package (#5876) 4 months ago
star9029 e1b9ad14ff
jsoncons: add v0.178.0 version (#5875) 4 months ago
ruki 739c0a1fac
Auto-update numactl to 2.0.19 (#5873) 4 months ago
ruki 68f47abe7f
Update simdutf to v5.6.3 (#5871) 4 months ago
ruki 4755afa0b9
Update kahip to v3.17 (#5872) 4 months ago
xpxz 6447ba71a8
Update libassert to 2.1.2 (#5844) 4 months ago
star9029 5b94ffa012
antlr4: improve includedirs (#5867) 4 months ago
star9029 7d4031c5a8
cpptrace: fix libdwarf & zstd (#5868) 4 months ago
star9029 bd2a28f2bb zstd: fix downstream Findzstd.cmake 4 months ago
ruki 7d2820ee37
Update fmi to v3.0.2 (#5862) 4 months ago
ruki 47b027b9a3
Update cpp-peglib to 1.9.1 (#5863) 4 months ago
ruki 069eda29b4
Update simsimd to v6.2.1 (#5864) 4 months ago
ruki ae581e434b
Update clove-unit to v2.4.6 (#5866) 4 months ago
PumpkinXD b09f425261
update cosmocc to version 3.9.7 (#5861) 4 months ago
star9029 6009c91960
nanopb: add package (#5795) 4 months ago
star9029 a536096bf3
zstd: use cmake (#5858) 4 months ago
star9029 8ffdea050e imguizmo: fix gitref 4 months ago
Dionysen c41ffe33d3
define IMGUI_DEFINE_MATH_OPERATORS before include imgui.h (#5856) 4 months ago
star9029 220a03bceb
protobuf-cpp: support more platform (#5848) 4 months ago
Altina Orion 85a27ae922
Update onedpl 2022.6.0rc1 (#5860) 4 months ago
xpxz eac440d892
add memorymodulepp (#5847) 4 months ago
ruki 167740e6c6
Update plutosvg to v0.0.3 (#5854) 4 months ago
ruki d1caa6d8cb
Update sqlite-vec to 0.1.6 (#5850) 4 months ago
ruki f41ba7802a
Update aws-lc to v1.40.0 (#5851) 4 months ago
ruki c325986c06
Update srt to v1.5.4 (#5852) 4 months ago
ruki e5f17e2ff7
Update nuklear to 4.12.2 (#5853) 4 months ago
apocelipes 599b955a02
go: add v1.22.9 and v1.23.3 (#5849) 4 months ago
xpxz 5dc83c3b1c
Update cpptrace to 0.7.3 (#5845) 4 months ago
star9029 9a320b00b6
microsoft-apsi: support cross-compilation (#5828) 4 months ago
ruki ca3f6f137a
Update libxmake to v2.9.6 (#5839) 4 months ago
ruki 21d00ce6b4
Update aws-crt-cpp to v0.29.5 (#5840) 4 months ago
ruki 92f5a92a36
Update fast_float to v7.0.0 (#5841) 4 months ago
c8ef bdc83f6a69
update sqlite3 to 3.47.1 (#5838) 4 months ago
hros dcb414769c
cppfront - support arm macos (#5837) 4 months ago
star9029 44eb9538ac raw_pdb: fix gitref 4 months ago
ruki 116f8b0d5b
Auto-update libvips to v8.16.0 (#5833) 4 months ago
ruki c2bf405aad
add installtips for msvc (#5836) 4 months ago
ruki 300849c66a
Update zeus_expected to v1.2.0 (#5834) 4 months ago
ruki 2fecb86006
Update vcpkg to 2024.11.16 (#5830) 4 months ago
ruki 78510c225a
Update expat to 2.6.4 (#5832) 4 months ago
star9029 7a55524176 update macos ci https://github.com/actions/runner-images/issues/10721 4 months ago
ruki 83c421954e
improve msvc (#5827) 4 months ago
ruki be2efcfb75 add some comments 4 months ago
ruki 1e12f5c8bf
add msvc package (#5820) 4 months ago
ruki 8502544536
Update lzav to 4.5 (#5823) 4 months ago
ruki cff8f4ef3b
Update cpr to 1.11.1 (#5824) 4 months ago
ruki e9aaccfc5b
Update sentry-native to 0.7.15 (#5825) 4 months ago
ruki 30b4ce1c4c
Add PortableBuildTools (#5819) 4 months ago
star9029 3486564e4d
microsoft-apsi: add package (#5804) 4 months ago
star9029 01f5ddee30 antlr4: improve copy file 4 months ago
ruki 12d0c21d50
Auto-update openh264 to v2.5.0 (#5785) 4 months ago
ruki f9fe39c0ca
Auto-update actor-framework to 1.0.2 (#5811) 4 months ago
Inari0 3bdee46dea
add dartpy support (#5712) 4 months ago
star9029 2a24b22dcf
arkari: add package (#5818) 4 months ago
qudix 593814514a
glaze: update to `v4.0.1` (#5758) 4 months ago
ruki 3f46507d43
fix boost fetch (#5816) 4 months ago
star9029 ff961fffbc
alembic: support more platform (#5813) 4 months ago
star9029 5ef78d33d7
openexr: support more platform (#5814) 4 months ago
star9029 0ac9acd09e libdeflate: fix pdb 4 months ago
ruki f4442f7364
Update arduinojson to v7.2.1 (#5812) 4 months ago
star9029 32b4e3ac1d
imath: support more platform (#5807) 4 months ago
ruki ac1b35f0bc
Update ngtcp2 to 1.9.0 (#5809) 4 months ago
ruki 55d7d577c3
Update simsimd to v6.1.1 (#5810) 4 months ago
c8ef bab551e93f
update liburing to 2.8 (#5806) 4 months ago
Linpeng Zhang 3f0127bf98
fix clang-cl ldflag (#5805) 4 months ago
ruki 34a98b7225
Update efsw to 1.4.1 (#5778) 4 months ago
ruki 264c489a85
Auto-update aws-c-io to v0.15.3 (#5793) 4 months ago
ruki 2d84247187
Update openexr to v3.3.2 (#5800) 4 months ago
ruki 8636af22c5
Update re-flex to v5.0.1 (#5802) 4 months ago
star9029 fe18a6cedc
zeromq: support more platform (#5796) 4 months ago
Altina Orion e24a06efe6
Update python 3.13 and 3.11.9 (for linux) (#5788) 4 months ago
Altina Orion a77b718751
Update mkl 2025.0.1 for win64 and linux64 (#5789) 4 months ago
ruki 24d72908b6
Update aws-c-s3 to v0.7.1 (#5781) 4 months ago
ruki 602820af7e
Update nghttp2 to 1.64.0 (#5794) 4 months ago
ruki f6f26a4992
Update opencl-headers to v2024.10.24 (#5790) 4 months ago
ruki 29ccd1e4a4
Update daw_json_link to v3.29.2 (#5792) 4 months ago
star9029 60ad6f5456
antlr4: add package (#4369) 4 months ago
ruki 03742de03c
Update lexbor to v2.4.0 (#5784) 4 months ago
ruki 675fd723dd
Update aws-c-cal to v0.8.1 (#5787) 4 months ago
ruki ed3d9fed41
Auto-update quickjs-ng to v0.7.0 (#5779) 4 months ago
ruki 27ba465b81
Update quill to v7.5.0 (#5754) 4 months ago
ruki 3a6bab7405
Update simsimd to v6.0.5 (#5776) 4 months ago
ruki e137a07651
Update prometheus-cpp to v1.3.0 (#5780) 4 months ago
ruki c3ddd9733a
Update stringzilla to v3.10.10 (#5782) 4 months ago
xffish 21f392ed37
feat: OpenSSL3 add md2 (#5774) 4 months ago
ruki 42e46dc2fc
Update aws-lc to v1.39.0 (#5775) 4 months ago
ruki 2460223989
Update aws-c-http to v0.9.2 (#5771) 5 months ago
ruki fb69fa4cd2
Update node-addon-api to v8.2.2 (#5772) 5 months ago
star9029 5c4a0af291
openjdk: improve download link (#5760) 5 months ago
jj683 52d80bcb94
Support pcapplusplus with zstd (#5579) 5 months ago
jj683 c03e5cbe1e
Proper cmake version for pcapplusplus (#5764) 5 months ago
ruki ae689d391a
Update dartsim to v6.15.0 (#5768) 5 months ago
star9029 2e81992a1f
soil2: add package (#5749) 5 months ago
ruki 22255ec766
Update aws-checksums to v0.2.2 (#5766) 5 months ago
ruki f34e440541
Update highs to v1.8.1 (#5767) 5 months ago
Jérôme Leclercq 510c43152c
Update flecs to v4.0.3 (#5762) 5 months ago
Jérôme Leclercq 054240b0ef
Update magic_enum to v0.9.7 (#5763) 5 months ago
star9029 64f38c10b2
antlr4-runtime: fix dll install (#5759) 5 months ago
star9029 5abec9c6a5
fftw: support more platform (#5751) 5 months ago
Altina Orion 9d19f5de1f
Update mkl static package to 2025.0.0 (#5757) 5 months ago
ruki f726e98e61
Update gsl-lite to v0.42.0 (#5752) 5 months ago
ruki a2941d5269
Update tree-sitter to v0.24.4 (#5753) 5 months ago
ruki 57ffa0edcb
Update scnlib to v4.0.1 (#5755) 5 months ago
Bowen Liao f145085609
Fix GTK package dependency name on Linux (#5748) 5 months ago
apocelipes d281586c21
StringZilla: update to v3.10.9 (#5750) 5 months ago
ruki ea9a6999d5
Update libvpx to v1.15.0 (#5746) 5 months ago
Doekin 885ea60d3e
pcapplusplus: disable `-Werror` and fix Clang's warning (#5742) 5 months ago
c8ef b833453f17
Update duckdb to 1.1.3 (#5720) 5 months ago
star9029 e2106e5dfe
ctrl-c: add 1.0.0 version (#5741) 5 months ago
star9029 42899977cb
zpp_bits: add package (#5740) 5 months ago
xpxz e7ff876785
make cpptrace support cross (#5738) 5 months ago
xpxz ae02d14e9a
make cpp-ipc support cross (#5737) 5 months ago
xpxz de3000415f
make libdwarf support cross (#5739) 5 months ago
ruki 201297df95
Update cli to v2.2.0 (#5734) 5 months ago
ruki 304941710c
Update libssh2 to 1.11.1 (#5735) 5 months ago
star9029 9e19731fd3
benchmark: support more platform (#5732) 5 months ago
star9029 1eed70a050 benchmark: order version 5 months ago
star9029 f318d9d4e1
flatbuffers: support more platform (#5731) 5 months ago
Miouzora 5f141f87e4
Update spdlog to v1.15.0 (#5727) 5 months ago
star9029 87daad242c jsoncpp: fix ninja build 5 months ago
star9029 28c118b038
jsoncpp: support more platform (#5729) 5 months ago
ruki b603dfcc83
Update meshoptimizer to v0.22 (#5723) 5 months ago
ruki 8b79550049
Update sentry-native to 0.7.12 (#5725) 5 months ago
star9029 af75a391bf
hexl: add package (#5713) 5 months ago
Doekin be0adf1973
asio: add syslinks for mingw (#5719) 5 months ago
ruki a52c4b37bd
Update c-ares to 1.34.3 (#5714) 5 months ago
ruki 6bec26ffd5
Update rhash to 1.4.5 (#5715) 5 months ago
Inari0 6d99ed9801
fix openscenegraph for windows (#5694) 5 months ago
star9029 94b75ce0c1
microsoft-seal: add package (#5706) 5 months ago
ruki 5f1819a4c7
Update aws-c-s3 to v0.7.0 (#5711) 5 months ago
ruki ed4b51401a
Update aws-c-sdkutils to v0.2.1 (#5707) 5 months ago
ruki 488d78c381
Update rocksdb to v9.7.4 (#5708) 5 months ago
ruki d4d710dc3f
Update watcher to 0.13.2 (#5709) 5 months ago
star9029 c1af7bfb87
mcfgthread: add 1.9.1 version (#5705) 5 months ago
ruki be9b7777f6
Auto-update lunasvg to v3.0.1 (#5658) 5 months ago
star9029 8f4880d4a4
plutosvg: add package (#5704) 5 months ago
ruki 85f3fb81ac
Auto-update aws-c-io to v0.15.1 (#5650) 5 months ago
ruki 3d6117890a
Update aws-c-sdkutils to v0.2.0 (#5662) 5 months ago
ruki 2b912c8e86
Update node-api-headers to v1.4.0 (#5675) 5 months ago
Jérôme Leclercq c8bd247e6f
miniaudio: Add support for split version and expose extra/nodes (#5686) 5 months ago
Elite-stay 96525815f1
proj: fix linux syslinks (#5702) 5 months ago
ruki 4df0ab08ac
Update aws-c-auth to v0.8.0 (#5697) 5 months ago
ruki 82436d1586
Update redis-plus-plus to 1.3.13 (#5698) 5 months ago
ruki b1e112e682
Update onednn to v3.6.1 (#5699) 5 months ago
star9029 5409cad70d
cpu_features: add v0.9.0 version (#5691) 5 months ago
star9029 cc43a27c82
boost: add fetch for ubuntu (#5695) 5 months ago
hros e6881e7a04
Update xmake.lua (#5696) 5 months ago
Jérôme Leclercq e2229b4513
Auto-update entt to v3.14.0 (#5683) 5 months ago
Inari0 6dc56adf70
update libtiff, libjpeg-turbo, nasm (#5692) 5 months ago
star9029 98d4c840bb
microsoft-kuku: add package (#5689) 5 months ago
apocelipes efb128c170
StringZilla: update to v3.10.8 (#5688) 5 months ago
Jérôme Leclercq 68e114b390
Update libsdl to 2.30.9 (#5684) 5 months ago
star9029 1f373eeda3
glib: add extsources (#5672) 5 months ago
Jérôme Leclercq bb7f4a2cdd
Update utfcpp to v4.0.6 (#5685) 5 months ago
star9029 b199746aca
microsoft-gsl: add v4.1.0 version (#5681) 5 months ago
star9029 e8acb2494f
log4cplus: support more platforms (#5682) 5 months ago
star9029 ec54deaddc
libdrm: add 2.4.123 version (#5671) 5 months ago
ruki 9e39ee6a9c
Update matio to v1.5.28 (#5673) 5 months ago
ruki 76704fd0b3
Update plutovg to v0.0.9 (#5674) 5 months ago
ruki b8b06782cb
Update log4cplus to 2.1.2 (#5676) 5 months ago
star9029 14f527a6c1
boost: fix b2 when enable iostreams deps (#5670) 5 months ago
star9029 926b89fc9d
manif: add package (#5668) 5 months ago
star9029 1b85028828
boost: move old version check to on_load (#5667) 5 months ago
ruki 9b4b18139e
Update aws-c-mqtt to v0.11.0 (#5664) 5 months ago
ruki e62ce283c7
Update sentry-native to 0.7.11 (#5666) 5 months ago
Jérôme Leclercq c91b5eb168
joltphysics: Add version 5.2.0 (#5661) 5 months ago
star9029 ba8fd3c1a5
boost: cmake test (#5640) 5 months ago
PumpkinXD bf358b339c
update cosmocc to version 3.9.6 (#5660) 5 months ago
Inari0 74ed9baa18
dart 6.14.5 (#5659) 5 months ago
ruki f212dda3d8
Update daw_header_libraries to v2.114.1 (#5657) 5 months ago
Inari0 8417e80078
update ninja (#5624) 5 months ago
Doekin 5d9ddf0dd2
zbar: add support for windows and ios (#5656) 5 months ago
Doekin 978015f8b3
libiconv: add support for iphoneos (#5655) 5 months ago
star9029 b72caacb37
icu4c: improve ucrt (#5648) 5 months ago
ruki c04b5d56d4
Update plutovg to v0.0.8 (#5654) 5 months ago
ruki 4a5f976721
Update msgpack-cxx to 7.0.0 (#5652) 5 months ago
Aidan Sun d41135027b
Update imguitextselect (#5649) 5 months ago
ruki 9371d7eec4
Update libgit2 to v1.8.4 (#5642) 5 months ago
ruki f8d712f85d
Auto-update winreg to v6.3.1 (#5637) 5 months ago
ruki 249154789e
Update aws-c-common to v0.10.0 (#5639) 5 months ago
ruki 4f91e3376d
Update daw_header_libraries to v2.114.0 (#5636) 5 months ago
ruki b053dddd8e
Update uwebsockets to v20.70.0 (#5638) 5 months ago
star9029 69865bd8b5
barkeep: add package (#5633) 5 months ago
ruki f6892cd3c6
Update rapidfuzz to v3.1.1 (#5631) 5 months ago
fantasy-peak 439369766b
Update (#5627) 5 months ago
Bai Miao 7b18c55071
drogon: update windows arch (#5625) 5 months ago
ruki 2c8f70000c
improve to fetch openmp #5610 (#5626) 5 months ago
apocelipes 051acbb95e
StringZilla: update to v3.10.7 (#5623) 5 months ago
Inari0 c292d1166b
update fcpw (#5622) 5 months ago
star9029 792af91ab6
bddisasm: add package (#5621) 5 months ago
dco dfb09c6d87
cJSON: update to v1.7.18 (#5614) 5 months ago
ruki bf7ea8dba2
Update vvenc to v1.12.1 (#5619) 5 months ago
ruki bbd8ae8aa6
Update simsimd to v5.9.6 (#5616) 5 months ago
ruki 1ab6965709
Update yalantinglibs to 0.3.9 (#5617) 5 months ago
ruki 3be9c8063c
Update quill to v7.4.0 (#5618) 5 months ago
apocelipes 8bf512b72d
StringZilla: update to v3.10.6 (#5615) 5 months ago
benny066567 c3ec8659c1
add xtd repo (#5246) 5 months ago
Inari0 502c90104c
update libtorch (#5603) 5 months ago
ruki 2f50d15ec2
Update s2n-tls to v1.5.6 (#5609) 5 months ago
ruki e4759677c2
Update lzav to 4.4 (#5605) 5 months ago
ruki 898c2d0ce8
Update ada to v2.9.2 (#5606) 5 months ago
ruki 4f538363f6
Update rocksdb to v9.7.3 (#5608) 5 months ago
Arthur Laurent 12b1efead4
[vulkan-memory-allocator-hpp] fix module support (#5604) 5 months ago
muzili cd07b1e9e3
add lighthook lib repo. (#5600) 5 months ago
Inari0 7f5ad31b8e
fix eigen incorrectly disabling unsupported (#5601) 5 months ago
c8ef 393f68bb0c
update asio to 1.32.0 (#5599) 5 months ago
c8ef 7ead8675e7
update sqlite3 to 3.47.0 (#5598) 5 months ago
Inari0 e99ce8096e
fix mkl url (#5602) 5 months ago
star9029 d41fb8d9c0 eigen: add fallback 5 months ago
benny066567 2f65a92651
add gsound repo (#5596) 5 months ago
muzili d71b396c73
add meet lib repo (#5591) 5 months ago
benny066567 51dc33b14b
add libcanberra repo (#5586) 5 months ago
Xdestiny e328ef3c5c
Fixed the issue where OptiX could not correctly find the specified ve… (#5588) 5 months ago
ruki b62d3d297f
Update gdal to 3.9.3 (#5592) 5 months ago
ruki 40eff61e12
Update aws-c-cal to v0.8.0 (#5593) 5 months ago
ruki 7e9234481a
Update pdfio to v1.3.2 (#5594) 5 months ago
star9029 01dc4fa052
minifb: support more platforms (#5590) 5 months ago
Arthur Laurent 4723e3ec53
Add magic enum module support (#5587) 5 months ago
star9029 d30d90a925
unicorn: rework (#5581) 5 months ago
ruki 1ffb5025f2
Update aws-c-http to v0.9.0 (#5584) 5 months ago
ruki c1360ef5fc
Update openexr to v3.3.1 (#5585) 5 months ago
ruki c356090bdc
Update aws-lc to v1.37.0 (#5582) 5 months ago
ruki 642cdb948d
Update vcpkg to 2024.10.21 (#5583) 5 months ago
star9029 08c2742584
lzav: add 4.3 version (#5580) 5 months ago
ruki 8573d89780
Auto-update lzav to 4.2 (#5574) 5 months ago
star9029 3a6a90319a
libssh: add package (#5417) 5 months ago
Inari0 44bbf1dad6
update imguizmo (#5559) 5 months ago
killcerr 1784650664
Update polyhook2 to 2024.8.1 (#5567) 5 months ago
Doekin 9d4b631e48
gperftools: update and manual link management (#5573) 5 months ago
ruki 8510b64bfe
Update libdeflate to v1.22 (#5575) 5 months ago
ruki e35bd145a7
Update cpp-httplib to v0.18.1 (#5576) 5 months ago
ruki 00468e49fc
Update aws-c-event-stream to v0.5.0 (#5577) 5 months ago
ruki 9c364e2567
Update aws-checksums to v0.2.0 (#5578) 5 months ago
ruki fe4776272c
Update tree-sitter to v0.24.3 (#5572) 5 months ago
ruki 96727964b0
Update aws-c-io to v0.15.0 (#5569) 5 months ago
ruki 0952382e54
Update libvips to v8.15.5 (#5570) 5 months ago
ruki a28186bc96
Update upa-url to v1.0.1 (#5571) 5 months ago
ruki 57a9e1afce
Update intx to v0.12.1 (#5561) 5 months ago
ruki 9cc75f4f91
Update gyp-next to v0.18.3 (#5565) 5 months ago
star9029 3468d1d2ea
klib: add package (#5560) 5 months ago
SFGrenade 60e50e957b
add zmqpb v0.10.3 (#5438) 5 months ago
benny066567 629adaa5b4
fix wxwidgets with gtk3 (#5247) 5 months ago
ruki cbcad8f4a9
Update thorvg to v0.15.2 (#5558) 5 months ago
ruki 53d73f05e1
Update libuv to v1.49.2 (#5556) 5 months ago
ruki 01d1ad59ae
Update meson to 1.6.0 (#5557) 5 months ago
ruki e1f099fae3
Auto-update emio to 0.8.0 (#5550) 5 months ago
Doekin 39d41c8c0f
ZBar: add package (#5530) 5 months ago
ruki 1f2721567c
Update libgit2 to v1.8.2 (#5552) 5 months ago
jj683 71aa20e09a
update folly to 2024.10.07 (#5505) 5 months ago
Inari0 73a4e9b98a
update cgal (#5542) 5 months ago
ruki dee3a3a854
Update ufbx to v0.15.0 (#5536) 5 months ago
ruki bd294b029a
Update ngtcp2 to 1.8.1 (#5544) 5 months ago
ruki 5d06b601c6
Update moltenvk to v1.2.11 (#5545) 5 months ago
ruki cb48fe9808
Update thorvg to v0.15.1 (#5546) 5 months ago
apocelipes fab58339cb
StringZilla: update to v3.10.5 (#5543) 5 months ago
45degree e832be1053
update stringzilla to v3.10.0 (#5503) 5 months ago
Chi Huu Huynh 9ac397fc04
ois: add package (#5523) 5 months ago
star9029 e5ac12fa85
openxlsx: add package (#5540) 5 months ago
ruki c376c3d46f
Update cpp-rotor to v0.31 (#5539) 5 months ago
ruki b270c6fed7
Update etl to 20.39.4 (#5535) 5 months ago
ruki d0cc1d2e7d
Update fakeit to 2.4.1 (#5537) 5 months ago
ruki 0078ec4ddf
Update highs to v1.8.0 (#5538) 5 months ago
star9029 f6251c012f
nanomsg: add package (#5532) 5 months ago
ruki 1649f16684
Update libenvpp to v1.4.4 (#5529) 5 months ago
ruki 5ca5ddc2eb
Update watcher to 0.12.2 (#5526) 6 months ago
Luffbee 9f07bca37c
fix ipaddress config (#5516) 6 months ago
star9029 f27605d64d
tidy-html5: add package (#5524) 6 months ago
star9029 3858a4b430
libxslt: rework (#5515) 6 months ago
c8ef d703a20137
update libarchive to 3.7.7 (#5522) 6 months ago
ruki 32d429c7f9
Update zlib-ng to 2.2.2 (#5521) 6 months ago
ruki 6cb000d329
Update alembic to 1.8.7 (#5517) 6 months ago
ruki 667c47fa3c
Update fast-cdr to v2.2.5 (#5518) 6 months ago
ruki da29d992d8
Update rocksdb to v9.7.2 (#5519) 6 months ago
ruki 29e3b986c6
Update onednn to v3.6 (#5520) 6 months ago
Inari0 9b5eeb800b
fix ginkgo cuda (#5507) 6 months ago
star9029 e5da705830
libplist: add 2.6.0 version (#5513) 6 months ago
Luffbee 355ff95f6a
add package ipaddress (#5506) 6 months ago
ruki 88a84bbd87
Update aws-c-http to v0.8.10 (#5508) 6 months ago
ruki d3a81c04e1
Update duckdb to v1.1.2 (#5509) 6 months ago
ruki 3117f55bc8
Update commata to v1.0.1 (#5510) 6 months ago
ruki f0261322cb
Update ngtcp2 to 1.8.0 (#5512) 6 months ago
ruki bbaa977388
Auto-update ls-qpack to v2.5.5 (#5500) 6 months ago
PumpkinXD 93d40d533f
update cosmocc to version 3.9.4 (#5504) 6 months ago
ruki 4753d390b6
Update c-ares to 1.34.1 (#5501) 6 months ago
Jérôme Leclercq 0f75461bbe
Update enet6 to v6.1.2 (#5497) 6 months ago
ruki bbe5219706 improve packages 6 months ago
ruki 5bd046ad43
Auto-update libenvpp to v1.4.3 (#5462) 6 months ago
Saikari 795ca3edcf
add libmem (#5430) 6 months ago
Doekin 73945e34d5
libunifex: add package (#5485) 6 months ago
star9029 f2b0230a79
ffts: add package (#5489) 6 months ago
ruki 4a659eedee
Update rocksdb to v9.6.1 (#5492) 6 months ago
ruki c5630c0ed9
Update plutovg to v0.0.7 (#5493) 6 months ago
ruki 81d00bccab
Auto-update pegtl to 3.2.8 (#5453) 6 months ago
star9029 97793f8db4
capstone: add 5.0.3 version (#5474) 6 months ago
c8ef 1b7ba33f91
update libuv to 1.49.1 (#5482) 6 months ago
ruki 9c99372efa
Update rapidcsv to 8.84 (#5483) 6 months ago
star9029 4cf478a0d0
libebur128: add package (#5481) 6 months ago
ruki 521483210c
Auto-update aws-c-io to v0.14.19 (#5477) 6 months ago
apocelipes 9b2496211c
CImg: add v3.4.3 (#5480) 6 months ago
ruki d8a8f407b9
Update hypre to v2.32.0 (#5476) 6 months ago
ruki e19dd2d6e0
Update aws-c-mqtt to v0.10.7 (#5478) 6 months ago
ruki 17e4f0c432
Update pyincpp to v2.5.2 (#5479) 6 months ago
Peter Richmond 6e29fde17f
sfml: add 2.6.1 (#5466) 6 months ago
star9029 6c2e0c7d4c
imgui-filebrowser: add package (#5472) 6 months ago
star9029 df6221e9c2
keystone: fix windows dll install (#5473) 6 months ago
ruki 77ed88374c
Update simsimd to v5.6.4 (#5467) 6 months ago
ruki 579efef6a6
Update lsquic to v4.0.12 (#5469) 6 months ago
ruki bc4170b2fa
Update haclog to v0.4.0 (#5470) 6 months ago
ruki 6ce7aef429
add keystone (#5459) 6 months ago
star9029 9a536a91db
svt-av1: remove duplicate package (#4891) 6 months ago
KkemChen 0447bbcd80
spdlog: add v1.2.1 (#5464) 6 months ago
ruki 8c08b57edc
Update libuv to v1.49.0 (#5461) 6 months ago
ruki 120bff505e
Update dataframe to 3.3.0 (#5463) 6 months ago
star9029 dfd9a2a003
x265: add 4.0 version (#5458) 6 months ago
star9029 88ebdad6ec
libde265: support some platform (#5456) 6 months ago
KnightJun 1a9d484f22
openh264: Add macos compilation support (#5455) 6 months ago
ruki 2e67f39132
Update tree-sitter to v0.24.2 (#5451) 6 months ago
PumpkinXD 3c6ad6154c
update cosmocc to version 3.9.3 (#5454) 6 months ago
ruki f1ba04ec43
Update simsimd to v5.6.0 (#5449) 6 months ago
ruki 3c31bd6b08
Update trompeloeil to v49 (#5450) 6 months ago
ruki ac74587dfe
Update atomic_queue to v1.6.5 (#5452) 6 months ago
apocelipes 0864cca747
ci: upgrade al-cheb/configure-pagefile-action to fix warnings (#5448) 6 months ago
star9029 25314b389f
libpcap: enable windows (#5436) 6 months ago
star9029 ac8c8da1ad
glaze: add v3.6.2 version (#5440) 6 months ago
vkensou 6001739771
spirv-reflect support android (#5447) 6 months ago
ruki 2902a697f7
Update symengine to v0.13.0 (#5443) 6 months ago
ruki 9f80c1c849
Update nghttp3 to v1.6.0 (#5444) 6 months ago
ruki 5b7058430b
Update libvips to v8.15.4 (#5445) 6 months ago
Zheng Zeng c6306f1a8f
linalg: fix checksum (#5441) 6 months ago
ruki 540dacc7ca
Auto-update thrift to v0.21.0 (#5429) 6 months ago
ruki f79c590439
Update ittapi to v3.25.3 (#5433) 6 months ago
ruki a2e5ae9091
Update mini to 0.9.17 (#5434) 6 months ago
ruki 2c44de8161
Update hlslpp to 3.5.3 (#5435) 6 months ago
Doekin 98a37fb428
PcapPlusPlus: enhance platform support and fix missing syslink on Windows (#5419) 6 months ago
star9029 8fbf38d4ba
libgit2: improve deps (#5418) 6 months ago
Doekin a71eedca32
libpcap: Fix Build Errors and Add BSD Support (#5424) 6 months ago
ruki c9160bc1b6
Update openpgl to 0.7.0 (#5428) 6 months ago
ruki 897b3e1e1d
Update vcpkg to 2024.09.30 (#5427) 6 months ago
ruki 79b923a07b
Update quill to v7.3.0 (#5426) 6 months ago
Doekin 02c4a52e3e
bison: fix Windows and BSD (#5423) 6 months ago
apocelipes 7d809a7cc5
go: add v1.23.2 and v1.22.8 (#5425) 6 months ago
star9029 08670f7423 pcre2: fix pdb install 6 months ago
star9029 ec95696166
libssh2: enable some platform (#5416) 6 months ago
star9029 b3c7efa813
liboqs: add 0.11.0 version (#5420) 6 months ago
star9029 805e650060
wolfssl: add 5.7.2 version (#5421) 6 months ago
star9029 dd6c45ee9e
llhttp: add v9.2.1 version (#5415) 6 months ago
star9029 5f4b081353
pycdc: add 2024.08.12 version (#5414) 6 months ago
c8ef 4190da7926
update simsimd to 5.4.4 (#5413) 6 months ago
ruki 02bceb5e0c
Update harfbuzz to 10.0.1 (#5410) 6 months ago
ruki 2b327a0d18
Update stringzilla to v3.9.8 (#5412) 6 months ago
ruki 8aee46b3cb
Update cgraph to v2.6.1 (#5408) 6 months ago
ruki c976ff54c7
Update openexr to v3.3.0 (#5411) 6 months ago
star9029 56c818ac00
sqlite-vec: add package (#5406) 6 months ago
Peter Richmond 44d5224dd8
add rc4 (#5404) 6 months ago
Jérôme Leclercq bdb35b2bf2
Update cppast and limit llvm version (#5400) 6 months ago
star9029 3c13a4f238 benchmark: fix ninja debug build 6 months ago
star9029 80ec65638f catch2: fix ninja debug build 6 months ago
Jérôme Leclercq d7e702ece9
Update libsdl to 2.30.8 (#5399) 6 months ago
Jérôme Leclercq a570ea921f
Update flecs to v4.0.2 (#5398) 6 months ago
star9029 61254b2aee
trompeloeil: switch to cmake (#5397) 6 months ago
ruki 3fdf925cab
Update itlib to v1.11.4 (#5395) 6 months ago
ruki a577d94a42
Update meson to 1.5.2 (#5396) 6 months ago
star9029 6b991efd88
alcatraz: add package (#5392) 6 months ago
Doekin 88636725f2
`npcap_sdk`: add `mingw` support with workaround for unrecognized SAL (#5390) 6 months ago
star9029 53ae098458
libsvgtiny: add package (#5385) 6 months ago
ruki f55efdae6e
Update libraqm to v0.10.2 (#5389) 6 months ago
ruki 7590df39f1
Update fribidi to 1.0.16 (#5386) 6 months ago
ruki aebf6471a6
Update kdbindings to v1.1.0 (#5387) 6 months ago
ruki 5ff04277de
Update simdjson to v3.10.1 (#5388) 6 months ago
ruki a3db979903
Auto-update thorvg to v0.14.10 (#5264) 6 months ago
star9029 b4b92315f9
libdom: add package (#5384) 6 months ago
Paul Reilly e8d35c9424
Update glaze to v3.6.0 (#5380) 6 months ago
ruki ab4083047e
Update kiwisolver to 1.4.7 (#5381) 6 months ago
ruki c533293018
Update gyp-next to v0.18.2 (#5382) 6 months ago
ruki 996e82190d
Update sentry-native to 0.7.10 (#5383) 6 months ago
zjyhjqs 0513ba598c
upgrade OpenSSL to 3.3.2 (#5379) 6 months ago
star9029 860c4b3a6d
libhubbub: add package (#5378) 6 months ago
Inari0 52807da729
update openblas (#5376) 6 months ago
star9029 123ec42158
qoa: add package (#5375) 6 months ago
Jingru Shi 02641116c5
fix jwt-cpp on_test (#5366) 6 months ago
ruki 4c2fbbf3a6
Update aws-c-mqtt to v0.10.6 (#5370) 6 months ago
ruki 99d067d424
Update croaring to v4.1.7 (#5371) 6 months ago
ruki 63525f0c6d
Update uwebsockets to v20.67.0 (#5372) 6 months ago
ruki 57a54a21b8
Update aws-c-auth to v0.7.31 (#5373) 6 months ago
ruki f41f9abf8a
Update quill to v7.2.2 (#5374) 6 months ago
apocelipes 7faa224c04
zimg: update to 3.0.5 (#5369) 6 months ago
qudix fda8caaec0
nifly: add package (#5368) 6 months ago
Doekin dbf3267c08
pcapplusplus: add linux support and fix linkorders (#5367) 6 months ago
Inari0 cd7b705ca2
update superlu (#5364) 6 months ago
star9029 6e9f78318d
wirehair: add package (#5365) 6 months ago
ruki ddf75103bc
Auto-update libpng to v1.6.44 & update cross toolchain (#5234) 6 months ago
ruki c19b6f40fb
Auto-update vcpkg to 2024.08.23 (#5089) 6 months ago
ruki 0e90149302
Update cppcheck to 2.15.0 (#5362) 6 months ago
Inari0 2bac0f8252
update hdf5 (#5352) 6 months ago
ruki ef1a2b3fbb
Update msgpack-c to 6.1.0 (#5359) 6 months ago
ruki 246398a4dd
Update plutovg to v0.0.6 (#5360) 6 months ago
ruki 60847750da
Auto-update glaze to v3.3.2 (#5149) 6 months ago
star9029 4e98d47e88
x264: add v2024.02.27 version (#5356) 6 months ago
star9029 52b9b94ebb
cpptrace: add 0.7.1 version (#5354) 6 months ago
HenryAWE d3348c805a
physfs: add package (#5351) 6 months ago
star9029 8290c623b8
fpm: add package (#5353) 6 months ago
star9029 0572fb0b72
libfixmatrix: add package (#5347) 6 months ago
star9029 22625ba5b6
cnl: add package (#5346) 6 months ago
star9029 035b917dcd rttr: revert test languages 6 months ago
ruki 618692599a
Update cppjieba to v5.4.0 (#5350) 6 months ago
star9029 bddeeebacf rttr: fix debug build with msvc + ninja 6 months ago
Inari0 24d3bde940
update cminpack (#5334) 6 months ago
benny066567 527fdf0c3b
add coin-or-ipopt repo (#5345) 6 months ago
star9029 492c84e656
process-dump: add package (#5340) 6 months ago
star9029 b55d983316
mimalloc: enable wasm (#5341) 6 months ago
star9029 8b569dca3d
w64devkit: add package (#5339) 6 months ago
star9029 b8bc198f68
peloader: add package (#5338) 6 months ago
star9029 944d0f0e20
libvips: improve patch (#5337) 6 months ago
ruki e934ba4afd
Auto-update quickjs-ng to v0.6.1 (#5330) 6 months ago
star9029 14dd742fe0
libzippp: add package (#5336) 6 months ago
ruki c30732f17f
fix elfutils (#5335) 6 months ago
ruki b67a1536a8
Update duckdb to v1.1.1 (#5333) 6 months ago
ruki 4b4da6366e
Update aws-crt-cpp to v0.28.3 (#5329) 6 months ago
ruki b99594984b
Update apr to 1.7.5 (#5331) 6 months ago
ruki 4ddfabb016
Update geos to 3.13.0 (#5332) 6 months ago
star9029 30c4b7b54b
libpeconv: add 2024.09.06 version (#5328) 6 months ago
star9029 2aa6448398
zlib: add dll macro (#5327) 6 months ago
Louis Bailleau 9cd511ac5f
dpp: update to v10.0.31 (#5324) 6 months ago
star9029 5f30a0b653
lazy_importer: add package (#5325) 6 months ago
star9029 e31fed0cea
gfx-timsort: add package (#5323) 6 months ago
star9029 a1eb24e019
mmloader: add package (#5322) 6 months ago
ruki 67f702ff77
Auto-update libzip to v1.11.1 (#5318) 6 months ago
star9029 811c965fa8
assimp: fix non-debug runtime build with asan (#5321) 6 months ago
ruki fb542d729f
Update libassert to v2.1.1 (#5320) 6 months ago
ruki 5a7719bace
Update winreg to v6.3.0 (#5316) 6 months ago
ruki 7da30c36da
Update imath to v3.1.12 (#5319) 6 months ago
PumpkinXD 4cdb704293
update cosmocc to version 3.9.2 (#5315) 6 months ago
ruki 318df7ca75
improve elfutils (#5307) 6 months ago
star9029 58b3d44dd8
emscripten-glfw: add package (#5253) 6 months ago
star9029 bc9b89e208
box2d: rework (#5312) 6 months ago
star9029 ef4572ebfa
amrex: add package (#5306) 6 months ago
benny066567 1193b60dc6
add lapack repo (#5313) 6 months ago
ruki 06eef0d257
Update libxmake to v2.9.5 (#5310) 6 months ago
star9029 859e134d63
pedeps: add package (#5308) 6 months ago
ruki 2c44d7a52e add --toolchain_host 6 months ago
Centauria 4243afb5af
portaudio: add libasound syslink (#5297) 6 months ago
Inari0 be13935401
update mumps (#5300) 6 months ago
ruki a959e7ea26
Update md4qt to 3.0.0 (#5303) 6 months ago
ruki de95d1add6
Update limonp to v1.0.0 (#5304) 6 months ago
apocelipes 7213457742
jsoncpp: update to 1.9.6 (#5302) 6 months ago
star9029 bd72a3b8bc
scotch: enable some platform (#5291) 6 months ago
star9029 dbf1ee4bf9
upa-url: add package (#5301) 6 months ago
Arnav Mehta 39af18ab9a
Added DX12 Toolkit package (#5290) 6 months ago
ruki c2c62d5fc5
Auto-update aws-checksums to v0.1.20 (#5295) 6 months ago
Inari0 b03c38ba03
update libomp to 19.1.0 (#5269) 6 months ago
ruki b1264da8a7
Auto-update aws-c-common to v0.9.28 (#5292) 6 months ago
ruki eb24cf65f5
Update arduinojson to v7.2.0 (#5296) 6 months ago
ruki 1744b88ffb
Update test.lua 6 months ago
ruki 0b1281a5d5
Update croaring to v4.1.5 (#5293) 6 months ago
ruki de7514cd52
Update trantor to v1.5.21 (#5294) 6 months ago
star9029 e39b15834e Revert "scotch: enable some platform" 6 months ago
star9029 a48fb5fdc9 scotch: enable some platform 6 months ago
star9029 6b600a1a0e
libxml2: set some configs default true (#5289) 6 months ago
star9029 ec08116755
tinyxml2: enable all platform (#5287) 6 months ago
PumpkinXD 208b939318
Update cosmocc to version 3.9.1 (#5286) 6 months ago
star9029 d522547ea0
libxml2: rework (#5284) 6 months ago
star9029 b0001567aa
lief: improve deps (#5279) 6 months ago
star9029 5197bdb8be
flux: add v0.4.0 version (#5276) 6 months ago
star9029 6a94f1440a
yxml: add package (#5283) 6 months ago
ruki 9dc222f59f
Update yalantinglibs to 0.3.8 (#5280) 6 months ago
ruki d31d424369
Update libenvpp to v1.4.2 (#5281) 6 months ago
ruki 4f005fb317
Update lsquic to v4.0.11 (#5282) 6 months ago
star9029 13462643d2
fast-lzma2: add package (#5274) 6 months ago
star9029 cbf724089a
mbedtls: add v3.6.1 version (#5278) 6 months ago
star9029 19f0dd6603
tcb-span: add package (#5277) 6 months ago
ruki f008565591
fix flex (#5275) 6 months ago
ruki 9286276074 improve test 6 months ago
Jérôme Leclercq 6fcf6f42c6
Update catch2 to v3.7.1 (#5272) 6 months ago
xpxz c1a7e31eb9
add debug-hpp (#5271) 7 months ago
ruki 9d0de41276
Update urdfdom to 4.0.1 (#5265) 7 months ago
star9029 9c05856137
llama.cpp: rework (#5256) 7 months ago
star9029 68f061443b
luajit: fix url (#5263) 7 months ago
star9029 1e03c40aaf
dataframe: update version (#5262) 7 months ago
benny066567 0a03ba929e
add asl(Ampl Solver Library) repo (#5259) 7 months ago
star9029 db4dab4931
bqlog: add package (#5257) 7 months ago
ruki e8cd7c56d8
Update cutlass to v3.5.1 (#5252) 7 months ago
ruki bb7fcd37ed
Update node-api-headers to v1.3.0 (#5250) 7 months ago
ruki 2409cb4769
Update pybind11 to v2.13.6 (#5251) 7 months ago
  1. 13
      .github/workflows/android_windows.yml
  2. 12
      .github/workflows/cross.yml
  3. 5
      .github/workflows/macos_arm64.yml
  4. 7
      .github/workflows/macos_x86_64.yml
  5. 37
      .github/workflows/ubuntu_arm64.yml
  6. 14
      .github/workflows/windows.yml
  7. 13
      .github/workflows/windows_v3.yml
  8. 2
      README.md
  9. 2
      README_zh.md
  10. 0
      clang
  11. 26
      packages/a/abseil/xmake.lua
  12. 6
      packages/a/actor-framework/xmake.lua
  13. 35
      packages/a/ada/xmake.lua
  14. 30
      packages/a/alcatraz/xmake.lua
  15. 66
      packages/a/alembic/xmake.lua
  16. 2
      packages/a/alsa-lib/xmake.lua
  17. 7
      packages/a/amgcl/xmake.lua
  18. 1
      packages/a/amqp-cpp/xmake.lua
  19. 33
      packages/a/amrex/patches/24.09/remove-symlink.patch
  20. 87
      packages/a/amrex/xmake.lua
  21. 32
      packages/a/anari/xmake.lua
  22. 2
      packages/a/angelscript/port/xmake.lua
  23. 2
      packages/a/angelscript/xmake.lua
  24. 21
      packages/a/annoy/xmake.lua
  25. 13
      packages/a/antlr4-runtime/patches/4.13.2/add-include-chrono.patch
  26. 19
      packages/a/antlr4-runtime/xmake.lua
  27. 19
      packages/a/antlr4/rules/find_antlr4.lua
  28. 53
      packages/a/antlr4/rules/lexer.lua
  29. 60
      packages/a/antlr4/rules/parser.lua
  30. 33
      packages/a/antlr4/xmake.lua
  31. 1
      packages/a/apr/xmake.lua
  32. 4
      packages/a/aqt/xmake.lua
  33. 4
      packages/a/aravis/xmake.lua
  34. 4
      packages/a/arduinojson/xmake.lua
  35. 1
      packages/a/argparse/xmake.lua
  36. 25
      packages/a/arkari/xmake.lua
  37. 5
      packages/a/asio/xmake.lua
  38. 16
      packages/a/assimp/patches/5.4.3/fix_mingw.patch
  39. 7
      packages/a/assimp/xmake.lua
  40. 4
      packages/a/async_simple/xmake.lua
  41. 1
      packages/a/atomic_queue/xmake.lua
  42. 1
      packages/a/audiofile/xmake.lua
  43. 27
      packages/a/aurora-au/xmake.lua
  44. 11
      packages/a/autotools/xmake.lua
  45. 2
      packages/a/aws-c-auth/xmake.lua
  46. 38
      packages/a/aws-c-cal/xmake.lua
  47. 16
      packages/a/aws-c-common/xmake.lua
  48. 2
      packages/a/aws-c-compression/xmake.lua
  49. 2
      packages/a/aws-c-event-stream/xmake.lua
  50. 4
      packages/a/aws-c-http/xmake.lua
  51. 34
      packages/a/aws-c-io/xmake.lua
  52. 4
      packages/a/aws-c-mqtt/xmake.lua
  53. 5
      packages/a/aws-c-s3/xmake.lua
  54. 4
      packages/a/aws-c-sdkutils/xmake.lua
  55. 30
      packages/a/aws-checksums/xmake.lua
  56. 3
      packages/a/aws-crt-cpp/xmake.lua
  57. 43
      packages/a/aws-lc/xmake.lua
  58. 40
      packages/b/babl/xmake.lua
  59. 43
      packages/b/barkeep/xmake.lua
  60. 65
      packages/b/bddisasm/xmake.lua
  61. 71
      packages/b/benchmark/xmake.lua
  62. 54
      packages/b/bison/xmake.lua
  63. 8
      packages/b/blah/xmake.lua
  64. 1
      packages/b/blake3/xmake.lua
  65. 9
      packages/b/bluez/xmake.lua
  66. 269
      packages/b/boost/b2/install.lua
  67. 97
      packages/b/boost/b2/load.lua
  68. 133
      packages/b/boost/cmake/install.lua
  69. 112
      packages/b/boost/cmake/load.lua
  70. 85
      packages/b/boost/fetch.lua
  71. 228
      packages/b/boost/libs.lua
  72. 19
      packages/b/boost/patches/1.86.0/find-zstd.patch
  73. 125
      packages/b/boost/test.lua
  74. 511
      packages/b/boost/xmake.lua
  75. 2
      packages/b/boost_ut/xmake.lua
  76. 30
      packages/b/boostdep/port/xmake.lua
  77. 31
      packages/b/boostdep/xmake.lua
  78. 28
      packages/b/botan/patches/3.6.0/ar-response-files.patch
  79. 159
      packages/b/botan/patches/3.6.0/msvc-compiler-flags.patch
  80. 29
      packages/b/botan/xmake.lua
  81. 95
      packages/b/box2d/xmake.lua
  82. 32
      packages/b/boxfort/xmake.lua
  83. 85
      packages/b/bqlog/xmake.lua
  84. 5
      packages/b/bzip3/xmake.lua
  85. 3
      packages/c/c-ares/xmake.lua
  86. 2
      packages/c/c-blosc2/xmake.lua
  87. 1
      packages/c/c4core/xmake.lua
  88. 1
      packages/c/ca-certificates/xmake.lua
  89. 34
      packages/c/capnproto/xmake.lua
  90. 44
      packages/c/capstone/xmake.lua
  91. 12
      packages/c/catch2/xmake.lua
  92. 10
      packages/c/centurion/xmake.lua
  93. 26
      packages/c/cgal/xmake.lua
  94. 14
      packages/c/cgif/xmake.lua
  95. 1
      packages/c/cglm/xmake.lua
  96. 1
      packages/c/cgltf/xmake.lua
  97. 1
      packages/c/cgns/xmake.lua
  98. 31
      packages/c/cgraph/xmake.lua
  99. 4
      packages/c/cimg/xmake.lua
  100. 4
      packages/c/cimgui/port/xmake.lua
  101. Some files were not shown because too many files have changed in this diff Show More

@ -23,9 +23,11 @@ jobs:
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@master
actions-cache-folder: '.xmake-cache'
actions-cache-key: 'android-windows'
- name: Configure Pagefile
uses: al-cheb/configure-pagefile-action@v1.2
uses: al-cheb/configure-pagefile-action@v1.4
with:
minimum-size: 8GB
maximum-size: 32GB
@ -43,15 +45,6 @@ jobs:
- name: Tests
run: |
git clone https://github.com/xmake-io/xmake.git --recurse-submodules -b master xmakesrc
cd xmakesrc/core
xmake
cd ../..
Copy-Item ./xmakesrc/core/build/xmake.exe ./xmakesrc/xmake
Copy-Item ./xmakesrc/scripts/xrepo.bat ./xmakesrc/xmake
Copy-Item ./xmakesrc/scripts/xrepo.ps1 ./xmakesrc/xmake
$Env:XMAKE_MAIN_REPO = "https://github.com/xmake-io/xmake-repo.git"
$Env:XMAKE_PROGRAM_DIR = $(Resolve-Path ./xmakesrc/xmake)
Set-Item -Path Env:Path -Value ($Env:XMAKE_PROGRAM_DIR + ";" + $Env:Path)
xmake --version
xmake l ./scripts/test.lua -D -p android --ndk=D:/a/xmake-repo/xmake-repo/ndk/android-ndk-${{ matrix.ndk }} --ndk_sdkver=${{ matrix.ndk_sdkver }} -a ${{ matrix.arch }}

@ -1,4 +1,4 @@
name: Cross (Musl)
name: Cross
on:
pull_request:
@ -10,12 +10,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
cross: [arm-unknown-linux-musleabi, aarch64-unknown-linux-musl]
cross: [arm-none-linux-gnueabihf, aarch64-none-linux-gnu]
runs-on: ${{ matrix.os }}
concurrency:
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Cross-Musl-${{ matrix.cross }}
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Cross-${{ matrix.cross }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v1
@ -25,9 +25,9 @@ jobs:
- name: Installation
run: |
wget https://github.com/musl-cross/musl-cross/releases/download/20240903/${{ matrix.cross }}.tgz
tar -xvf ${{ matrix.cross }}.tgz
wget https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-${{ matrix.cross }}.tar.xz
tar -xvf arm-gnu-toolchain-13.3.rel1-x86_64-${{ matrix.cross }}.tar.xz
- name: Tests
run: |
xmake l ./scripts/test.lua -D -p cross --toolchain=muslcc --sdk=`pwd`/${{ matrix.cross }}
xmake l ./scripts/test.lua -D -p cross --sdk=`pwd`/arm-gnu-toolchain-13.3.rel1-x86_64-${{ matrix.cross }}

@ -31,5 +31,8 @@ jobs:
wget https://curl.haxx.se/ca/cacert.pem -O /tmp/cacert.pem
export CURL_CA_BUNDLE=/tmp/cacert.pem
sudo ln /opt/homebrew/bin/gfortran-14 /opt/homebrew/bin/gfortran
export PATH="$PATH:/opt/homebrew/Cellar/gcc/14.1.0_2/libexec/gcc/aarch64-apple-darwin23/14/"
find /opt/homebrew/Cellar/gcc/ -name f951
export PATH="$PATH:/opt/homebrew/Cellar/gcc/14.2.0/libexec/gcc/aarch64-apple-darwin23/14/"
export LIBRARY_PATH="$LIBRARY_PATH:/opt/homebrew/Cellar/gcc/14.2.0/lib/gcc/14/"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/homebrew/Cellar/gcc/14.2.0/lib/gcc/14/"
xmake l ./scripts/test.lua -D -a ${{ matrix.arch }} -k ${{ matrix.kind }}

@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-12]
os: [macos-13]
arch: [x86_64]
kind: [static, shared]
@ -31,5 +31,8 @@ jobs:
wget https://curl.haxx.se/ca/cacert.pem -O /tmp/cacert.pem
export CURL_CA_BUNDLE=/tmp/cacert.pem
sudo ln /usr/local/bin/gfortran-14 /usr/local/bin/gfortran
export PATH="$PATH:/usr/local/Cellar/gcc/14.1.0_2/libexec/gcc/x86_64-apple-darwin21/14/"
find /usr/local/Cellar/gcc/ -name f951
export PATH="$PATH:/usr/local/Cellar/gcc/14.2.0/libexec/gcc/x86_64-apple-darwin21/14/"
export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/Cellar/gcc/14.2.0/lib/gcc/14/"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/Cellar/gcc/14.2.0/lib/gcc/14/"
xmake l ./scripts/test.lua -D -a ${{ matrix.arch }} -k ${{ matrix.kind }}

@ -0,0 +1,37 @@
name: Linux (arm64)
on:
pull_request:
branches:
- dev
jobs:
build:
strategy:
matrix:
os: [ubuntu-24.04-arm]
kind: [static, shared]
mode: [debug, release]
runs-on: ${{ matrix.os }}
concurrency:
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Linux-arm64-${{ matrix.kind }}-${{ matrix.mode }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v1
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@master
actions-cache-folder: '.xmake-cache'
actions-cache-key: 'ubuntu-arm'
- name: Installation
run: |
# TODO we will remove it later
sudo apt-get update
sudo apt-get install -y libgl1-mesa-dev libglu1-mesa-dev p7zip gobjc gcc g++
- name: Tests
run: |
xmake l ./scripts/test.lua -D -k ${{ matrix.kind }} -m ${{ matrix.mode }}

@ -25,9 +25,11 @@ jobs:
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@master
actions-cache-folder: '.xmake-cache'
actions-cache-key: 'windows'
- name: Configure Pagefile
uses: al-cheb/configure-pagefile-action@v1.2
uses: al-cheb/configure-pagefile-action@v1.4
with:
minimum-size: 8GB
maximum-size: 32GB
@ -35,16 +37,6 @@ jobs:
- name: Tests
run: |
git clone https://github.com/xmake-io/xmake.git --recurse-submodules -b master xmakesrc
cd xmakesrc/core
xmake
cd ../..
Copy-Item ./xmakesrc/core/build/xmake.exe ./xmakesrc/xmake
Copy-Item ./xmakesrc/scripts/xrepo.bat ./xmakesrc/xmake
Copy-Item ./xmakesrc/scripts/xrepo.ps1 ./xmakesrc/xmake
$Env:XMAKE_MAIN_REPO = "https://github.com/xmake-io/xmake-repo.git"
$Env:XMAKE_PROGRAM_DIR = $(Resolve-Path ./xmakesrc/xmake)
Set-Item -Path Env:Path -Value ($Env:XMAKE_PROGRAM_DIR + ";" + $Env:Path)
xmake --version
if ("${{ matrix.os }}" -eq "windows-2019") {
xmake l ./scripts/test.lua -vD -a ${{ matrix.arch }} -k ${{ matrix.kind }} --runtimes=${{ matrix.runtimes }} --vs_sdkver=10.0.19041.0 --linkjobs=2

@ -24,9 +24,11 @@ jobs:
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@master
actions-cache-folder: '.xmake-cache'
actions-cache-key: 'windows-v3'
- name: Configure Pagefile
uses: al-cheb/configure-pagefile-action@v1.2
uses: al-cheb/configure-pagefile-action@v1.4
with:
minimum-size: 8GB
maximum-size: 32GB
@ -34,16 +36,7 @@ jobs:
- name: Tests
run: |
git clone https://github.com/xmake-io/xmake.git --recurse-submodules -b master xmakesrc
cd xmakesrc/core
xmake
cd ../..
Copy-Item ./xmakesrc/core/build/xmake.exe ./xmakesrc/xmake
Copy-Item ./xmakesrc/scripts/xrepo.bat ./xmakesrc/xmake
Copy-Item ./xmakesrc/scripts/xrepo.ps1 ./xmakesrc/xmake
$Env:XMAKE_MAIN_REPO = "https://github.com/xmake-io/xmake-repo.git"
$Env:XMAKE_PROGRAM_DIR = $(Resolve-Path ./xmakesrc/xmake)
Set-Item -Path Env:Path -Value ($Env:XMAKE_PROGRAM_DIR + ";" + $Env:Path)
xmake --version
xmake l ./scripts/test.lua -vD -a ${{ matrix.arch }} -k ${{ matrix.kind }} --policies=compatibility.version:3.0 --linkjobs=2

@ -134,5 +134,5 @@ packages/l/libpng/xmake.lua generated!
$ xmake l scripts/test.lua --shallow -vD zlib
$ xmake l scripts/test.lua --shallow -vD -p iphoneos zlib
$ xmake l scripts/test.lua --shallow -vD -k shared -m debug zlib
$ xmake l scripts/test.lua --shallow -vD --vs_runtime=MD zlib
$ xmake l scripts/test.lua --shallow -vD --runtimes=MD zlib
```

@ -129,5 +129,5 @@ packages/l/libpng/xmake.lua generated!
$ xmake l scripts/test.lua --shallow -vD zlib
$ xmake l scripts/test.lua --shallow -vD -p iphoneos zlib
$ xmake l scripts/test.lua --shallow -vD -k shared -m debug zlib
$ xmake l scripts/test.lua --shallow -vD --vs_runtime=MD zlib
$ xmake l scripts/test.lua --shallow -vD --runtimes=MD zlib
```

@ -3,7 +3,7 @@ package("abseil")
set_description("C++ Common Libraries")
set_license("Apache-2.0")
add_urls("https://github.com/abseil/abseil-cpp/archive/$(version).tar.gz",
add_urls("https://github.com/abseil/abseil-cpp/archive/refs/tags/$(version).tar.gz",
"https://github.com/abseil/abseil-cpp.git")
add_versions("20200225.1", "0db0d26f43ba6806a8a3338da3e646bb581f0ca5359b3a201d8fb8e4752fd5f8")
@ -16,6 +16,7 @@ package("abseil")
add_versions("20240116.1", "3c743204df78366ad2eaf236d6631d83f6bc928d1705dd0000b872e53b73dc6a")
add_versions("20240116.2", "733726b8c3a6d39a4120d7e45ea8b41a434cdacde401cba500f14236c49b39dc")
add_versions("20240722.0", "f50e5ac311a81382da7fa75b97310e4b9006474f9560ac46f54a9967f07d4ae3")
add_versions("20250127.0", "16242f394245627e508ec6bb296b433c90f8d914f73b9c026fddb905e27276e8")
add_patches("20240116.1", "https://github.com/abseil/abseil-cpp/commit/3335e58f198e899a500b744163f9b883035a5217.patch", "f83278086b42bc997846d2b931a266678f96e2727fce6ffd98b2b58ce75fa0a3")
add_patches("20240116.2", "https://github.com/abseil/abseil-cpp/commit/3335e58f198e899a500b744163f9b883035a5217.patch", "f83278086b42bc997846d2b931a266678f96e2727fce6ffd98b2b58ce75fa0a3")
@ -24,13 +25,15 @@ package("abseil")
add_configs("cxx_standard", {description = "Select c++ standard to build.", default = "17", type = "string", values = {"14", "17", "20"}})
if is_plat("linux") then
add_syslinks("pthread")
elseif is_plat("macosx") then
add_frameworks("CoreFoundation")
end
on_load(function (package)
if package:is_plat("windows", "mingw", "msys") then
package:add("syslinks", "advapi32", "dbghelp", "bcrypt")
elseif package:is_plat("linux", "bsd") then
package:add("syslinks", "pthread")
elseif package:is_plat("macosx", "iphoneos") then
package:add("frameworks", "CoreFoundation")
end
if package:is_plat("windows") and package:config("shared") then
package:add("defines", "ABSL_CONSUME_DLL")
end
@ -43,8 +46,13 @@ package("abseil")
end
io.replace("CMakeLists.txt", [[set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")]], "", {plain = true})
io.replace("CMakeLists.txt", [[set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")]], "", {plain = true})
local configs = {"-DCMAKE_CXX_STANDARD=" .. package:config("cxx_standard"), "-DABSL_ENABLE_INSTALL=ON", "-DABSL_PROPAGATE_CXX_STD=ON"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
local configs = {
"-DCMAKE_CXX_STANDARD=" .. package:config("cxx_standard"),
"-DABSL_ENABLE_INSTALL=ON",
"-DABSL_PROPAGATE_CXX_STD=ON",
}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
import("package.tools.cmake").install(package, configs, {buildir = os.tmpfile() .. ".dir"})

@ -6,6 +6,7 @@ package("actor-framework")
add_urls("https://github.com/actor-framework/actor-framework/archive/refs/tags/$(version).tar.gz",
"https://github.com/actor-framework/actor-framework.git")
add_versions("1.0.2", "ef4dd00ca7c59cd61dc336b6a8efbd6150ca85c404d213ecb61f6bcee4094ffc")
add_versions("1.0.1", "635bdd6e3b70886f1d9aa75c48e5bdb4084afae1f159bbfe5ea91f99b0460f6b")
add_versions("1.0.0", "602018239d23a1805d35ebda704fd5c969a0693fc513fcf7459063b628459e5b")
add_versions("0.19.6", "48dc4c4abf5ab5a7c6f84b9259cc8be1b02c601d31893647ab44e143cdc4b6d5")
@ -13,7 +14,7 @@ package("actor-framework")
add_configs("profiler", {description = "Enable experimental profiler API", default = false, type = "boolean"})
add_configs("runtime_checks", {description = "Build CAF with extra runtime assertions", default = false, type = "boolean"})
add_configs("exceptions", {description = "Build CAF with support for exceptions", default = false, type = "boolean"})
add_configs("exceptions", {description = "Build CAF with support for exceptions", default = true, type = "boolean"})
add_configs("io", {description = "Build legacy networking I/O module", default = false, type = "boolean"})
add_configs("net", {description = "Build networking I/O module", default = false, type = "boolean"})
add_configs("openssl", {description = "Build OpenSSL module", default = false, type = "boolean"})
@ -35,6 +36,9 @@ package("actor-framework")
end)
on_install("windows", "linux", "macosx", "bsd", function (package)
io.replace("CMakeLists.txt", "add_library(libcaf_test)", "", {plain = true})
io.replace("CMakeLists.txt", "add_subdirectory(libcaf_test)", "", {plain = true})
local configs =
{
"-DCAF_ENABLE_EXAMPLES=OFF",

@ -6,6 +6,9 @@ package("ada")
set_urls("https://github.com/ada-url/ada/archive/refs/tags/$(version).tar.gz",
"https://github.com/ada-url/ada.git")
add_versions("v3.1.3", "8bd8df0413d57b56b32e6a5216a1c7f402a52edf33172a39e80484ccce0bb627")
add_versions("v3.0.1", "525890a87a002b1cc14c091800c53dcf4a24746dbfc5e3b8a9c80490daad9263")
add_versions("v2.9.2", "f41575ad7eec833afd9f6a0d6101ee7dc2f947fdf19ae8f1b54a71d59f4ba5ec")
add_versions("v2.9.1", "64eb3d91db941645d1b68ac8d1cbb7b534fbe446b66c1da11e384e17fca975e7")
add_versions("v2.9.0", "8b992f0ce9134cb4eafb74b164d2ce2cb3af1900902162713b0e0c5ab0b6acd8")
add_versions("v2.8.0", "83b77fb53d1a9eea22b1484472cea0215c50478c9ea2b4b44b0ba3b52e07c139")
@ -16,26 +19,48 @@ package("ada")
add_versions("v2.4.0", "14624f1dfd966fee85272688064714172ff70e6e304a1e1850f352a07e4c6dc7")
add_versions("v2.3.1", "298992ec0958979090566c7835ea60c14f5330d6372ee092ef6eee1d2e6ac079")
if is_plat("macosx") then
if is_plat("mingw") and is_subhost("msys") then
add_extsources("pacman::ada-url")
elseif is_plat("macosx") then
add_extsources("brew::ada-url")
end
add_deps("cmake")
if on_check then
on_check("android", function (package)
if package:version() and package:version():ge("3.0.0") then
local ndk = package:toolchain("ndk"):config("ndkver")
assert(ndk and tonumber(ndk) > 22, "package(ada >=3.0.0) require ndk version > 22")
end
end)
end
on_install(function (package)
local configs = {"-DBUILD_TESTING=OFF"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
io.replace("CMakeLists.txt", "add_subdirectory(singleheader)", "", {plain = true})
io.replace("CMakeLists.txt", "add_subdirectory(tools)", "", {plain = true})
io.replace("src/CMakeLists.txt", "/WX", "", {plain = true})
local configs = {"-DBUILD_TESTING=OFF", "-DADA_TOOLS=OFF"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DADA_SANITIZE=" .. (package:config("asan") and "ON" or "OFF"))
import("package.tools.cmake").install(package, configs)
end)
on_test(function (package)
local languages
if package:version() and package:version():ge("3.0.0") then
languages = "c++20"
else
languages = "c++17"
end
assert(package:check_cxxsnippets({test = [[
#include <iostream>
#include <ada.h>
void test() {
auto url = ada::parse<ada::url_aggregator>("https://xmake.io");
}
]]}, {configs = {languages = "c++17"}}))
]]}, {configs = {languages = languages}}))
end)

@ -0,0 +1,30 @@
package("alcatraz")
set_kind("binary")
set_homepage("https://github.com/weak1337/Alcatraz")
set_description("x64 binary obfuscator")
set_urls("https://github.com/weak1337/Alcatraz.git", {submodules = false})
add_versions("2023.07.14", "739e65ebadaeb3f8206fb2199700725331465abb")
add_deps("asmjit", "zydis")
on_install("@windows", function (package)
io.replace("Alcatraz/obfuscator/obfuscator.cpp", "#include <iostream>",
"#include <iostream>\n#include <bit>", {plain = true})
io.writefile("xmake.lua", [[
add_rules("mode.debug", "mode.release")
add_requires("asmjit", "zydis")
set_languages("c++20")
target("alcatraz")
set_kind("binary")
add_files("Alcatraz/**.cpp")
add_packages("asmjit", "zydis")
]])
import("package.tools.xmake").install(package)
end)
on_test(function (package)
os.vrun("alcatraz")
end)

@ -1,29 +1,77 @@
package("alembic")
set_homepage("https://alembic.io/")
set_description("Open framework for storing and sharing scene data that includes a C++ library, a file format, and client plugins and applications.")
set_license("BSD-3-Clause")
add_urls("https://github.com/alembic/alembic/archive/refs/tags/$(version).tar.gz",
"https://github.com/alembic/alembic.git")
add_versions("1.8.8", "ba1f34544608ef7d3f68cafea946ec9cc84792ddf9cda3e8d5590821df71f6c6")
add_versions("1.8.7", "6de0b97cd14dcfb7b2d0d788c951b6da3c5b336c47322ea881d64f18575c33da")
add_versions("1.8.6", "c572ebdea3a5f0ce13774dd1fceb5b5815265cd1b29d142cf8c144b03c131c8c")
add_versions("1.8.5", "180a12f08d391cd89f021f279dbe3b5423b1db751a9898540c8059a45825c2e9")
add_deps("cmake", "imath")
if is_plat("linux") then
add_syslinks("m")
add_configs("arnold", {description = "Include Arnold stuff", default = false, type = "boolean"})
add_configs("hdf5", {description = "Include HDF5 stuff", default = false, type = "boolean"})
add_configs("maya", {description = "Include maya stuff", default = false, type = "boolean"})
add_configs("prman", {description = "Include prman stuff", default = false, type = "boolean"})
add_configs("tools", {description = "Build tools", default = false, type = "boolean"})
if is_plat("linux", "bsd") then
add_syslinks("m", "pthread")
end
on_load("windows", function (package)
if package:config("shared") then
add_deps("cmake", "imath")
on_load(function (package)
if package:is_plat("windows") and package:config("shared") then
package:add("defines", "ALEMBIC_DLL")
end
if package:config("tools") then
package:config_set("hdf5", true)
end
if package:config("hdf5") then
package:add("deps", "hdf5", {configs = {zlib = true}})
end
end)
on_install("windows", "macosx", "linux", function (package)
local configs = {"-DBUILD_TESTING=OFF"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
on_install(function (package)
if package:is_plat("windows", "mingw") then
io.replace("lib/Alembic/Ogawa/OStream.cpp", "#include <stdexcept>", "#include <stdexcept>\n#include <Windows.h>", {plain = true})
end
local configs = {
"-DBUILD_TESTING=OFF",
"-DUSE_TESTS=OFF",
"-DALEMBIC_DEBUG_WARNINGS_AS_ERRORS=OFF",
}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DALEMBIC_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
if package:is_plat("windows") then
table.insert(configs, "-DCMAKE_COMPILE_PDB_OUTPUT_DIRECTORY=''")
end
table.insert(configs, "-DUSE_ARNOLD=" .. (package:config("arnold") and "ON" or "OFF"))
table.insert(configs, "-DUSE_MAYA=" .. (package:config("maya") and "ON" or "OFF"))
table.insert(configs, "-DUSE_PRMAN=" .. (package:config("prman") and "ON" or "OFF"))
table.insert(configs, "-DUSE_BINARIES=" .. (package:config("tools") and "ON" or "OFF"))
local hdf5 = package:dep("hdf5")
if hdf5 then
table.insert(configs, "-DUSE_HDF5=ON")
table.insert(configs, "-DUSE_STATIC_HDF5=" .. (hdf5:config("shared") and "OFF" or "ON"))
else
table.insert(configs, "-DUSE_HDF5=OFF")
end
import("package.tools.cmake").install(package, configs)
if package:is_plat("windows") and package:is_debug() then
local dir = package:installdir(package:config("shared") and "bin" or "lib")
os.vcp(path.join(package:buildir(), "lib/**.pdb"), dir)
os.vcp(path.join(package:buildir(), "bin/**.pdb"), package:installdir("bin"))
end
end)
on_test(function (package)

@ -11,7 +11,7 @@ package("alsa-lib")
add_configs("versioned", {description = "pass flag --without-versioned", default = true, type = "boolean"})
if is_plat("linux") then
add_syslinks("pthread")
add_syslinks("pthread", "dl")
add_extsources("pacman::alsa-lib", "apt::libasound2-dev")
end

@ -9,16 +9,17 @@ package("amgcl")
add_versions("1.4.0", "018b824396494c8958faa6337cebcaba48a2584d828f279eef0bbf9e05f900a7")
add_versions("1.4.2", "db0de6b75e6c205f44542c3ac8d9935c8357a58072963228d0bb11a54181aea8")
add_versions("1.4.3", "e920d5767814ce697d707d1f359a16c9b9eb79eba28fe19e14c18c2a505fe0ad")
add_versions("1.4.4", "02fd5418e14d669422f65fc739ce72bf9516ced2d8942574d4b8caa05dda9d8c")
add_deps("cmake")
add_deps("boost", {configs = {serialization = true, program_options = true}})
on_install("windows", "macosx", "linux", function (package)
add_deps("boost", {configs = {cmake = false, serialization = true, program_options = true}})
on_install("windows", "mingw", "macosx", "linux", function (package)
io.replace("CMakeLists.txt", "unit_test_framework", "", {plain = true})
local configs = {"-DBoost_USE_STATIC_LIBS=ON"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
if package:is_plat("windows") then
table.insert(configs, "-DBoost_USE_STATIC_RUNTIME=" .. (package:config("vs_runtime"):startswith("MT") and "ON" or "OFF"))
table.insert(configs, "-DBoost_USE_STATIC_RUNTIME=" .. (package:has_runtime("MT", "MTd") and "ON" or "OFF"))
else
table.insert(configs, "-DBoost_USE_STATIC_RUNTIME=OFF")
end

@ -6,6 +6,7 @@ package("amqp-cpp")
add_urls("https://github.com/CopernicaMarketingSoftware/AMQP-CPP/archive/refs/tags/$(version).tar.gz",
"https://github.com/CopernicaMarketingSoftware/AMQP-CPP.git")
add_versions("v4.3.27", "af649ef8b14076325387e0a1d2d16dd8395ff3db75d79cc904eb6c179c1982fe")
add_versions("v4.3.26", "2baaab702f3fd9cce40563dc1e23f433cceee7ec3553bd529a98b1d3d7f7911c")
if is_plat("windows", "mingw") then

@ -0,0 +1,33 @@
diff --git a/Src/CMakeLists.txt b/Src/CMakeLists.txt
index 6e8af043..df5ca007 100644
--- a/Src/CMakeLists.txt
+++ b/Src/CMakeLists.txt
@@ -27,11 +27,7 @@ add_library(amrex ALIAS amrex_${AMReX_SPACEDIM_LAST}d)
add_library(AMReX::amrex ALIAS amrex_${AMReX_SPACEDIM_LAST}d)
# legacy symlink for build directory: libamrex.[so|a] / amrex.[dll.lib]
-add_custom_command(TARGET amrex_${AMReX_SPACEDIM_LAST}d POST_BUILD
- COMMAND ${CMAKE_COMMAND} -E create_symlink
- $<TARGET_FILE_NAME:amrex_${AMReX_SPACEDIM_LAST}d>
- $<TARGET_FILE_DIR:amrex_${AMReX_SPACEDIM_LAST}d>/$<TARGET_FILE_PREFIX:amrex_${AMReX_SPACEDIM_LAST}d>amrex$<TARGET_FILE_SUFFIX:amrex_${AMReX_SPACEDIM_LAST}d>
-)
+
#
diff --git a/Tools/CMake/AMReXInstallHelpers.cmake b/Tools/CMake/AMReXInstallHelpers.cmake
index 7c832d3a..ea5ea535 100644
--- a/Tools/CMake/AMReXInstallHelpers.cmake
+++ b/Tools/CMake/AMReXInstallHelpers.cmake
@@ -72,11 +72,6 @@ function (install_amrex_targets)
# legacy symlink for: libamrex.[so|a] / amrex.[dll.lib]
# escape spaces for generated cmake_install.cmake file
file(TO_CMAKE_PATH "${CMAKE_INSTALL_PREFIX}/lib" ABS_INSTALL_LIB_DIR)
- install(CODE "file(CREATE_LINK
- $<TARGET_FILE_NAME:amrex_${AMReX_SPACEDIM_LAST}d>
- \"${ABS_INSTALL_LIB_DIR}/$<TARGET_FILE_PREFIX:amrex_${AMReX_SPACEDIM_LAST}d>amrex$<TARGET_FILE_SUFFIX:amrex_${AMReX_SPACEDIM_LAST}d>\"
- COPY_ON_ERROR SYMBOLIC)"
- )
# Install fortran modules if Fortran is enabled
get_property(_lang GLOBAL PROPERTY ENABLED_LANGUAGES)

@ -0,0 +1,87 @@
package("amrex")
set_homepage("https://amrex-codes.github.io/amrex")
set_description("AMReX: Software Framework for Block Structured AMR")
add_urls("https://github.com/AMReX-Codes/amrex/releases/download/$(version)/amrex-$(version).tar.gz",
"https://github.com/AMReX-Codes/amrex.git")
add_versions("25.02", "2680a5a9afba04e211cd48d27799c5a25abbb36c6c3d2b6c13cd4757c7176b23")
add_versions("24.12", "ca4b41ac73fabb9cf3600b530c9823eb3625f337d9b7b9699c1089e81c67fc67")
add_versions("24.09", "a1435d16532d04a1facce9a9ae35d68a57f7cd21a5f22a6590bde3c265ea1449")
add_patches(">=24.09", "patches/24.09/remove-symlink.patch", "d71adb07252e488ee003f6f04fea756864d6af2232b43208c9e138e062eb6e4d")
add_configs("openmp", {description = "Enable OpenMP", default = false, type = "boolean"})
add_configs("mpi", {description = "Enable MPI", default = false, type = "boolean", readonly = true})
add_configs("cuda", {description = "Enable CUDA", default = false, type = "boolean"})
add_configs("hdf5", {description = "Enable HDF5-based I/O", default = false, type = "boolean"})
add_configs("fortran", {description = "Enable fortran", default = false, type = "boolean"})
add_configs("tools", {description = "Build tools", default = false, type = "boolean"})
if is_plat("linux", "bsd") then
add_syslinks("pthread")
end
add_deps("cmake")
if on_check then
on_check("windows", function (package)
import("core.base.semver")
local msvc = package:toolchain("msvc")
if msvc then
local vs_sdkver = msvc:config("vs_sdkver")
assert(vs_sdkver and semver.match(vs_sdkver):gt("10.0.19041"), "package(amrex) require vs_sdkver > 10.0.19041.0")
end
end)
end
on_load(function (package)
if package:config("openmp") then
package:add("deps", "openmp")
end
if package:config("cuda") then
package:add("deps", "cuda")
end
if package:config("hdf5") then
package:add("deps", "hdf5")
end
if package:config("fortran") and package:is_plat("linux", "macosx") then
package:add("deps", "gfortran", {kind = "binary"})
end
end)
on_install("windows", "macosx", "linux", "bsd", "mingw", "msys", function (package)
local configs = {"-DAMReX_ENABLE_TESTS=OFF"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DAMReX_PIC=" .. (package:config("pic") and "ON" or "OFF"))
local configs_map = {
openmp = "OMP",
tools = "PLOTFILE_TOOLS",
}
for name, enabled in table.orderpairs(package:configs()) do
if not package:extraconf("configs", name, "builtin") then
local real = configs_map[name] or name:upper()
local enabled = (package:config(name) and "ON" or "OFF")
table.insert(configs, format("-DAMReX_%s=%s", real, enabled))
end
end
import("package.tools.cmake").install(package, configs)
end)
on_test(function (package)
assert(package:check_cxxsnippets({test = [[
#include <AMReX.H>
#include <AMReX_Print.H>
void test(int argc, char* argv[]) {
amrex::Initialize(argc,argv);
{
amrex::Print() << "Hello world from AMReX version " << amrex::Version() << "\n";
}
amrex::Finalize();
}
]]}, {configs = {languages = "c++17"}}))
end)

@ -0,0 +1,32 @@
package("anari")
set_homepage("https://github.com/KhronosGroup/ANARI-SDK")
set_description("ANARI Software Development Kit (SDK)")
set_license("Apache-2.0")
add_urls("https://github.com/KhronosGroup/ANARI-SDK/archive/refs/tags/$(version).tar.gz",
"https://github.com/KhronosGroup/ANARI-SDK.git")
add_versions("v0.12.1", "1fc5cf360b260cc2e652bff4a41dcf3507c84d25701dc6c6630f6f6f83656b6c")
add_deps("cmake", "python 3.x", {kind = "binary"})
on_install(function (package)
if not package:config("shared") and package:is_plat("windows") then
package:add("defines", "ANARI_STATIC_DEFINE")
end
local configs = {
"-DBUILD_TESTING=OFF",
"-DBUILD_EXAMPLES=OFF",
"-DBUILD_VIEWER=OFF",
"-DCTS_ENABLE_GLTF=OFF",
"-DBUILD_HELIDE_DEVICE=OFF",
}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (not package:config("shared") and "ON" or "OFF"))
import("package.tools.cmake").install(package, configs)
end)
on_test(function (package)
assert(package:has_cfuncs("anariLoadLibrary", {includes = "anari/anari.h"}))
end)

@ -2,7 +2,7 @@ add_rules("mode.debug", "mode.release")
add_rules("utils.install.cmake_importfiles")
set_languages("c++11")
option("exceptions", {showmenu = true, default = false})
option("exceptions", {default = true})
target("angelscript")
set_kind("shared")

@ -14,7 +14,7 @@ package("angelscript")
add_patches(">=2.34.0", "patches/msvc-arm64.patch", "1433f474870102e6fd8d0c9978b6d122a098cdecded29be70176b9dab534564f")
add_configs("exceptions", {description = "Enable exception handling in script context", default = false, type = "boolean"})
add_configs("exceptions", {description = "Enable exception handling in script context", default = true, type = "boolean"})
if is_plat("linux") then
add_syslinks("pthread")

@ -0,0 +1,21 @@
package("annoy")
set_kind("library", {headeronly = true})
set_homepage("https://github.com/spotify/annoy")
set_description("Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk")
set_license("Apache-2.0")
add_urls("https://github.com/spotify/annoy/archive/refs/tags/$(version).tar.gz",
"https://github.com/spotify/annoy.git")
add_versions("v1.17.3", "c121d38cacd98f5103b24ca4e94ca097f18179eed3037e9eb93ad70ec1e6356e")
add_versions("v1.17.2", "ad3518f36bdd5ea54576dfe1c765c93d5c737342f269aada2cd7ff1bc0d0cd93")
add_deps("cmake")
on_install(function (package)
import("package.tools.cmake").install(package)
end)
on_test(function (package)
assert(package:has_cxxincludes("annoy/annoylib.h", {configs = {languages = "c++11"}}))
end)

@ -0,0 +1,13 @@
diff --git a/runtime/Cpp/runtime/src/atn/ProfilingATNSimulator.cpp b/runtime/Cpp/runtime/src/atn/ProfilingATNSimulator.cpp
index 9fd86d6..5220492 100644
--- a/runtime/Cpp/runtime/src/atn/ProfilingATNSimulator.cpp
+++ b/runtime/Cpp/runtime/src/atn/ProfilingATNSimulator.cpp
@@ -10,6 +10,7 @@
#include "support/CPPUtils.h"
#include "atn/ProfilingATNSimulator.h"
+#include <chrono>
using namespace antlr4;
using namespace antlr4::atn;

@ -9,6 +9,8 @@ package("antlr4-runtime")
add_versions("4.13.2", "9f18272a9b32b622835a3365f850dd1063d60f5045fb1e12ce475ae6e18a35bb")
add_versions("4.13.1", "da20d487524d7f0a8b13f73a8dc326de7fc2e5775f5a49693c0a4e59c6b1410c")
add_patches("4.13.2", "patches/4.13.2/add-include-chrono.patch", "79400e790cc757760a292168a52762e6e2b91045190231fdf06cba60a164309e")
if is_plat("mingw") and is_subhost("msys") then
add_extsources("pacman::antlr4-runtime-cpp")
elseif is_plat("linux") then
@ -28,18 +30,21 @@ package("antlr4-runtime")
add_deps("cmake")
on_install(function (package)
local configs = {"-DANTLR_BUILD_CPP_TESTS=OFF", "-DANTLR4_INSTALL=ON"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DANTLR_BUILD_SHARED=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DANTLR_BUILD_STATIC=" .. (package:config("shared") and "OFF" or "ON"))
if not package:config("shared") then
package:add("defines", "ANTLR4CPP_STATIC")
end
os.cd("runtime/Cpp")
io.replace("CMakeLists.txt", [[set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")]], "", {plain = true})
io.replace("CMakeLists.txt", [[set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")]], "", {plain = true})
io.replace("CMakeLists.txt", "add_subdirectory(runtime)",
"include(GNUInstallDirs)\nadd_subdirectory(runtime)", {plain = true})
local configs = {"-DANTLR_BUILD_CPP_TESTS=OFF", "-DANTLR4_INSTALL=ON"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DANTLR_BUILD_SHARED=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DANTLR_BUILD_STATIC=" .. (package:config("shared") and "OFF" or "ON"))
import("package.tools.cmake").install(package, configs)
if not package:config("shared") then
package:add("defines", "ANTLR4CPP_STATIC")
end
end)
on_test(function (package)

@ -0,0 +1,19 @@
-- https://github.com/antlr/antlr4/blob/master/runtime/Cpp/cmake/antlr4-generator.cmake.in
rule("find_antlr4")
on_config(function(target)
import("lib.detect.find_tool")
assert(target:pkg("antlr4"), "Please configure add_packages(\"antlr4\") for target(" .. target:name() .. ")")
local envs = target:pkgenvs()
local java = assert(find_tool("java", {envs = envs}), "java not found!")
local argv = {
"-classpath",
envs.CLASSPATH,
"org.antlr.v4.Tool",
"-Dlanguage=Cpp",
}
target:data_set("antlr4.tool", java)
target:data_set("antlr4.tool.argv", argv)
end)

@ -0,0 +1,53 @@
rule("lexer")
set_extensions(".g4")
add_deps("@find_antlr4")
on_config(function (target)
local includedirs = {}
local autogendir = path.join(target:autogendir(), "rules/antlr4/lexer")
for _, sourcebatch in pairs(target:sourcebatches()) do
if sourcebatch.rulename == "@antlr4/lexer" then
local sourcefiles = {}
for _, sourcefile in ipairs(sourcebatch.sourcefiles) do
-- remove parser g4
if not sourcefile:lower():find("parser", 1, true) then
table.insert(sourcefiles, sourcefile)
table.insert(includedirs, path.normalize(path.join(autogendir, path.directory(sourcefile))))
end
end
sourcebatch.sourcefiles = sourcefiles
break
end
end
target:add("includedirs", table.unique(includedirs), {public = true})
end)
before_buildcmd_file(function (target, batchcmds, sourcefile_g4, opt)
local java = target:data("antlr4.tool")
local argv = target:data("antlr4.tool.argv")
table.join2(argv, target:values("antlr4.lexer.flags"))
local autogendir = path.join(target:autogendir(), "rules/antlr4/lexer")
local sourcefile_cxx = path.normalize(path.join(autogendir, path.directory(sourcefile_g4), path.basename(sourcefile_g4) .. ".cpp"))
local sourcefile_dir = path.directory(sourcefile_cxx)
batchcmds:mkdir(sourcefile_dir)
table.insert(argv, "-o")
table.insert(argv, autogendir)
table.insert(argv, "-lib")
table.insert(argv, sourcefile_dir)
table.insert(argv, sourcefile_g4)
batchcmds:show_progress(opt.progress, "${color.build.object}compiling.g4 %s", sourcefile_g4)
batchcmds:vrunv(java.program, argv)
local objectfile = target:objectfile(sourcefile_cxx)
table.insert(target:objectfiles(), objectfile)
batchcmds:show_progress(opt.progress, "${color.build.object}compiling.$(mode) %s", sourcefile_cxx)
batchcmds:compile(sourcefile_cxx, objectfile)
batchcmds:add_depfiles(sourcefile_g4)
batchcmds:set_depmtime(os.mtime(objectfile))
batchcmds:set_depcache(target:dependfile(objectfile))
end)

@ -0,0 +1,60 @@
rule("parser")
set_extensions(".g4")
add_deps("@lexer", {order = true})
on_config(function (target)
local includedirs = {}
local autogendir = path.join(target:autogendir(), "rules/antlr4/parser")
for _, sourcebatch in pairs(target:sourcebatches()) do
if sourcebatch.rulename == "@antlr4/parser" then
local sourcefiles = {}
for _, sourcefile in ipairs(sourcebatch.sourcefiles) do
-- remove lexer g4
if not sourcefile:lower():find("lexer", 1, true) then
table.insert(sourcefiles, sourcefile)
table.insert(includedirs, path.normalize(path.join(autogendir, path.directory(sourcefile))))
end
end
sourcebatch.sourcefiles = sourcefiles
break
end
end
target:add("includedirs", table.unique(includedirs), {public = true})
end)
before_buildcmd_file(function (target, batchcmds, sourcefile_g4, opt)
local java = target:data("antlr4.tool")
local argv = target:data("antlr4.tool.argv")
local visitor = target:extraconf("rules", "@antlr4/parser", "visitor")
local listener = target:extraconf("rules", "@antlr4/parser", "listener")
table.insert(argv, (visitor and "-visitor" or "-no-visitor"))
table.insert(argv, (listener and "-listener" or "-no-listener"))
table.join2(argv, target:values("antlr4.parser.flags"))
local autogendir = path.join(target:autogendir(), "rules/antlr4/parser")
local sourcefile_cxx = path.normalize(path.join(autogendir, path.directory(sourcefile_g4), path.basename(sourcefile_g4) .. ".cpp"))
local sourcefile_dir = path.directory(sourcefile_cxx)
batchcmds:mkdir(sourcefile_dir)
table.insert(argv, "-o")
table.insert(argv, autogendir)
table.insert(argv, "-lib")
table.insert(argv, sourcefile_dir)
table.insert(argv, sourcefile_g4)
batchcmds:show_progress(opt.progress, "${color.build.object}compiling.g4 %s", sourcefile_g4)
batchcmds:vrunv(java.program, argv)
local objectfile = target:objectfile(sourcefile_cxx)
table.insert(target:objectfiles(), objectfile)
batchcmds:show_progress(opt.progress, "${color.build.object}compiling.$(mode) %s", sourcefile_cxx)
batchcmds:compile(sourcefile_cxx, objectfile)
batchcmds:add_depfiles(sourcefile_g4)
batchcmds:set_depmtime(os.mtime(objectfile))
batchcmds:set_depcache(target:dependfile(objectfile))
end)

@ -0,0 +1,33 @@
package("antlr4")
set_kind("binary")
set_homepage("https://www.antlr.org")
set_description("powerful parser generator for reading, processing, executing, or translating structured text or binary files.")
set_license("BSD-3-Clause")
add_urls("https://www.antlr.org/download/antlr-$(version)-complete.jar")
add_versions("4.13.2", "eae2dfa119a64327444672aff63e9ec35a20180dc5b8090b7a6ab85125df4d76")
add_versions("4.13.1", "bc13a9c57a8dd7d5196888211e5ede657cb64a3ce968608697e4f668251a8487")
if is_plat("linux") then
add_extsources("pacman::antlr4", "apt::antlr4")
elseif is_plat("macosx") then
add_extsources("brew::antlr")
end
set_policy("package.precompiled", false)
add_deps("openjdk")
on_load(function (package)
package:mark_as_pathenv("CLASSPATH")
package:addenv("CLASSPATH", "lib/antlr-complete.jar")
end)
on_install("@windows", "@linux", "@macosx", function (package)
os.vcp(package:originfile(), path.join(package:installdir("lib"), "antlr-complete.jar"))
end)
on_test(function (package)
os.vrun("java -classpath $(env CLASSPATH) org.antlr.v4.Tool")
end)

@ -5,6 +5,7 @@ package("apr")
add_urls("https://github.com/apache/apr/archive/refs/tags/$(version).tar.gz",
"https://github.com/apache/apr.git")
add_versions("1.7.5", "6d0712c529503cd2457011d03164491bbc16d0050bc40ef89568b1ac491c6600")
add_versions("1.7.4", "060b6e5ca8b3251545a93777c9ef744ceff02d4a59bb60a7dd9b3da9da33673e")
add_versions("1.7.0", "a7e2c5e6d60f6c7b1611b31a2f914a3e58f44eded5b064f0bae43ff30b16a4e6")

@ -11,12 +11,14 @@ package("aqt")
if os.arch() == "x86" then
add_urls("https://github.com/miurahr/aqtinstall/releases/download/v$(version)/aqt_x86.exe")
add_versions("3.1.21", "b79465e771a78a76a8967c4bc49ac93210e25d6ead58b929a57100b3c6da71df")
add_versions("3.1.17", "d3abbd3378907f2e3ebf3af3387590245bb04175e1a720d04463b047732e1cd2")
add_versions("3.1.6", "093b536fab2e3726a792cdb60292313c0c8950b8aa9b56ccdeff7adb1146f964")
add_versions("3.0.2", "aac5d8949eed3f231bfc589736afe0f88372dc590182c8b3a2bed7c78952b944")
add_versions("2.0.6", "b980985cfeb1cefef1d2ebab91ae4e648873a27fae8831deff8144661480c56a")
else
add_urls("https://github.com/miurahr/aqtinstall/releases/download/v$(version)/aqt_x64.exe")
add_versions("3.1.21", "da834e08268f3ffbb4c3e1c3e8a3ef8885d446e96e48dd35780a8d73e4a9e4ed")
add_versions("3.1.17", "02acc10c6317a2a9f76464d5c26b129b836531f81938b2b222498c495d69fcdb")
add_versions("3.1.6", "4f7e3fbc2d155f903ed9597b7929201681ffb7628e97765511cc7efa8a60f3e6")
add_versions("3.0.2", "96e46eca0d18a899db00a26facd20c799f2400645aef6445d49f4bd0aeab0a3f")
@ -25,9 +27,11 @@ package("aqt")
elseif is_host("macosx") and (os.arch() == "arm64" or os.arch() == "x86_64") then
if os.arch() == "arm64" then
add_urls("https://github.com/miurahr/aqtinstall/releases/download/v$(version)/aqt-macos")
add_versions("3.1.21", "aa720dbf0928b0843d02b06273086d0e4974b742461783c343b6ddde5ec7e0be")
add_versions("3.1.17", "cb51decbc12500d2e3e4b743dd4abb86a91fd9f25a916cafe54572963acf0690")
else
add_urls("https://github.com/miurahr/aqtinstall/releases/download/v$(version)/aqt-macos")
add_versions("3.1.21", "aa720dbf0928b0843d02b06273086d0e4974b742461783c343b6ddde5ec7e0be")
add_versions("3.1.17", "cb51decbc12500d2e3e4b743dd4abb86a91fd9f25a916cafe54572963acf0690")
end
else

@ -49,10 +49,6 @@ package("aravis")
if libusb and not libusb:is_system() then
io.replace("meson.build", "libusb-1.0", "libusb", {plain = true})
end
local libxml2 = package:dep("libxml2")
if not libxml2:is_system() then
io.replace("meson.build", "libxml-2.0", "libxml2", {plain = true})
end
local configs = {"-Dviewer=disabled", "-Dtests=false"}
table.insert(configs, "-Ddefault_library=" .. (package:config("shared") and "shared" or "static"))

@ -7,6 +7,10 @@ package("arduinojson")
add_urls("https://github.com/bblanchon/ArduinoJson/archive/refs/tags/$(version).tar.gz",
"https://github.com/bblanchon/ArduinoJson.git")
add_versions("v7.3.1", "1b00fad9bd2b86ff9814d3e0e393fee1dbf0f37ac07f1181b41bc503e6a3b1a2")
add_versions("v7.3.0", "e2b6739a00c64813169cbcea2d0884cbd63efe2223c0b1307de4e655d87730d8")
add_versions("v7.2.1", "2780504927533d64cf4256c57de51412b835b327ef4018c38d862b0664d36d4f")
add_versions("v7.2.0", "d20aefd14f12bd907c6851d1dfad173e4fcd2d993841fa8c91a1d8ab5a71188b")
add_versions("v7.1.0", "74bc745527a274bcab85c6498de77da749627113c4921ccbcaf83daa7ac35dee")
add_versions("v7.0.4", "98ca14d98e9f1e8978ce5ad3ca0eeda3d22419d17586c60f299f369078929917")
add_versions("v7.0.3", "6da2d069e0caa0c829444912ee13e78bdf9cc600be632428a164c92e69528000")

@ -6,6 +6,7 @@ package("argparse")
add_urls("https://github.com/p-ranav/argparse/archive/refs/tags/v$(version).zip",
"https://github.com/p-ranav/argparse.git")
add_versions("3.2", "14c1a0e975d6877dfeaf52a1e79e54f70169a847e29c7e13aa7fe68a3d0ecbf1")
add_versions("3.1", "3e5a59ab7688dcd1f918bc92051a10564113d4f36c3bbed3ef596c25e519a062")
add_versions("3.0", "674e724c2702f0bfef1619161815257a407e1babce30d908327729fba6ce4124")
add_versions("2.6", "ce4e58d527b83679bdcc4adfa852af7ec9df16b76c11637823ef642cb02d2618")

@ -0,0 +1,25 @@
package("arkari")
set_kind("toolchain")
set_homepage("https://github.com/KomiMoe/Arkari")
set_description("Yet another llvm based obfuscator based on goron.")
set_license("Apache-2.0")
local version_map = {
["19.1.3"] = "1.6.0"
}
add_urls("https://github.com/KomiMoe/Arkari/releases/download/$(version)/$(version).7z", {version = function (version)
local llvm_ver = tostring(version)
local obf_ver = version_map[llvm_ver]
return string.format("Win64-MT-%s-obf%s", llvm_ver, obf_ver)
end})
add_versions("19.1.3", "9a181798ef3648cf8acb2f83941792f948d589a94b9d579a783b97331770ce93")
on_install("windows|x64", function (package)
os.mv("*", package:installdir())
end)
on_test(function (package)
os.vrun("llvm-config --version")
end)

@ -7,6 +7,7 @@ package("asio")
add_urls("https://sourceforge.net/projects/asio/files/asio/$(version) (Stable)/asio-$(version).tar.gz", {alias = "sourceforge"})
add_urls("https://github.com/chriskohlhoff/asio/archive/refs/tags/asio-$(version).tar.gz", {alias = "github", version = function (version) return version:gsub("%.", "-") end})
add_versions("github:1.32.0", "f1b94b80eeb00bb63a3c8cef5047d4e409df4d8a3fe502305976965827d95672")
add_versions("github:1.30.2", "755bd7f85a4b269c67ae0ea254907c078d408cce8e1a352ad2ed664d233780e8")
add_versions("github:1.29.0", "44305859b4e6664dbbf853c1ef8ca0259d694f033753ae309fcb2534ca20f721")
add_versions("github:1.28.0", "226438b0798099ad2a202563a83571ce06dd13b570d8fded4840dbc1f97fa328")
@ -15,6 +16,10 @@ package("asio")
add_versions("sourceforge:1.20.0", "4cd5cd0ad97e752a4075f02778732a3737b587f5eeefab59cd98dc43b0dcadb3")
add_versions("github:1.20.0", "34a8f07be6f54e3753874d46ecfa9b7ab7051c4e3f67103c52a33dfddaea48e6")
if is_plat("mingw") then
add_syslinks("ws2_32", "bcrypt")
end
on_install("!wasm", function (package)
if os.isdir("asio") then
os.cp("asio/include/asio.hpp", package:installdir("include"))

@ -0,0 +1,16 @@
diff --git a/code/Common/DefaultIOStream.cpp b/code/Common/DefaultIOStream.cpp
index e423eae4f8..35bbb67a5a 100644
--- a/code/Common/DefaultIOStream.cpp
+++ b/code/Common/DefaultIOStream.cpp
@@ -157,9 +157,9 @@ size_t DefaultIOStream::FileSize() const {
return 0;
mCachedSize = (size_t)(fileStat.st_size);
#elif defined _WIN32
- struct _stat32 fileStat;
+ struct _stat fileStat;
//using fileno + fstat avoids having to handle the filename
- int err = _fstat32(_fileno(mFile), &fileStat);
+ int err = _fstat(_fileno(mFile), &fileStat);
if (0 != err)
return 0;
mCachedSize = (size_t)(fileStat.st_size);

@ -25,6 +25,7 @@ package("assimp")
add_patches("v5.2.3", path.join(os.scriptdir(), "patches", "5.2.1", "fix_zlib_filefunc_def.patch"), "a9f8a9aa1975888ea751b80c8268296dee901288011eeb1addf518eac40b71b1")
add_patches("v5.2.3", path.join(os.scriptdir(), "patches", "5.2.3", "cmake_static_crt.patch"), "3872a69976055bed9e40814e89a24a3420692885b50e9f9438036e8d809aafb4")
add_patches("v5.2.4", path.join(os.scriptdir(), "patches", "5.2.4", "fix_x86_windows_build.patch"), "becb4039c220678cf1e888e3479f8e68d1964c49d58f14c5d247c86b4a5c3293")
add_patches("v5.4.3", path.join(os.scriptdir(), "patches", "5.4.3", "fix_mingw.patch"), "2498bb9438a0108becf1c514fcbfc103e012638914c9d21160572ed24a9fa3b3")
if not is_host("windows") then
add_extsources("pkgconfig::assimp")
@ -136,6 +137,12 @@ package("assimp")
if minizip and not minizip:is_system() then
packagedeps = table.join2(packagedeps or {}, "minizip")
end
-- fix ninja debug build
os.mkdir(path.join(package:buildir(), "code/pdb"))
-- MDd == _DEBUG + _MT + _DLL
if package:is_debug() and package:has_runtime("MD", "MT") then
io.replace("CMakeLists.txt", "/D_DEBUG", "", {plain = true})
end
end
local zlib = package:dep("zlib")

@ -21,6 +21,10 @@ package("async_simple")
end)
on_install(function (package)
if package:is_plat("linux") and package:is_arch("arm.*") then
io.replace("CMakeLists.txt", [[list(APPEND CXX_FLAGS "-m]], [[#list(APPEND CXX_FLAGS "-m]], {plain = true})
end
if package:version():le("1.3") then
io.replace("async_simple/CMakeLists.txt",
[[file(GLOB coro_header "coro/*.h")]],

@ -6,6 +6,7 @@ package("atomic_queue")
add_urls("https://github.com/max0x7ba/atomic_queue/archive/refs/tags/$(version).tar.gz",
"https://github.com/max0x7ba/atomic_queue.git")
add_versions("v1.6.5", "0257efe6781637091ff7f11d836cff4a8e0b5ea22c943fa70e00e83d83360583")
add_versions("v1.6.4", "e9c3ae4b850dc6503ee484748701f06f3737ad177c5cb31030f74e3fef40e282")
add_versions("v1.5", "599b76a0222e7b54118d6f0fb686845c9d323107f2de76b3f68292b057e5a99f")
add_versions("v1.6.3", "0ad6e0203d90367f6a4e496449dfd9ad65b80168fadafef4eac08820c6bda79c")

@ -7,6 +7,7 @@ package("audiofile")
add_urls("https://github.com/adamstark/AudioFile/archive/refs/tags/$(version).tar.gz",
"https://github.com/adamstark/AudioFile.git")
add_versions("1.1.2", "d090282207421e27be57c3df1199a9893e0321ea7c971585361a3fc862bb8c16")
add_versions("1.1.1", "664f9d5fbbf1ff6c603ae054a35224f12e9856a1d8680be567909015ccaac328")
add_versions("1.1.0", "7546e39ca17ac09c653f46bfecce4a9936fae3784209ad53094915c78792a327")
add_versions("1.0.9", "1d609b80496fc5c688d8e83086cdcad5b60ddb20f02d160f80be271fab97c4c0")

@ -0,0 +1,27 @@
package("aurora-au")
set_kind("library", {headeronly = true})
set_homepage("https://aurora-opensource.github.io/au")
set_description("A C++14-compatible physical units library with no dependencies and a single-file delivery option. Emphasis on safety, accessibility, performance, and developer experience.")
set_license("Apache-2.0")
set_urls("https://github.com/aurora-opensource/au/archive/refs/tags/$(version).tar.gz",
"https://github.com/aurora-opensource/au.git")
add_versions("0.4.1", "5e88a0ffcb0a0843f4bd4d4ea4429c793f85dfcb8c1e7f7978de6fecab739b84")
add_deps("cmake")
on_install(function (package)
local configs = {"-DAU_ENABLE_TESTING=OFF", "-DAU_EXCLUDE_GTEST_DEPENDENCY=ON"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
import("package.tools.cmake").install(package, configs)
end)
on_test(function (package)
assert(package:check_cxxsnippets({test = [[
void test() {
constexpr auto length = au::meters(100.0);
}
]]}, {configs = {languages = "c++14"}, includes = "au/units/meters.hh"}))
end)

@ -0,0 +1,11 @@
package("autotools")
set_kind("binary")
if is_subhost("msys") then
add_deps("pacman::autotools")
else
add_deps("autoconf", "automake", "libtool")
end
on_install("@linux", "@macosx", "@bsd", "@msys", function (package)
end)

@ -6,6 +6,8 @@ package("aws-c-auth")
add_urls("https://github.com/awslabs/aws-c-auth/archive/refs/tags/$(version).tar.gz",
"https://github.com/awslabs/aws-c-auth.git")
add_versions("v0.8.0", "217a0ebf8d7c5ad7e5f5ae814c2a371042164b64b4b9330c1c4bb2c6db1dbd33")
add_versions("v0.7.31", "7f97aacef6bd1649734383c2bf022250671f353b7fa60d195e6865d7f4594b43")
add_versions("v0.7.29", "f49f5dce1153e908dd9c0639f4aa4b1477f8564a28635f433cc0be121a18106e")
add_versions("v0.7.25", "8f7993f8fad2992ca19c00123ea16e72c4d13acbeeb6333061034a299274f081")
add_versions("v0.7.22", "f249a12a6ac319e929c005fb7efd5534c83d3af3a3a53722626ff60a494054bb")

@ -6,6 +6,9 @@ package("aws-c-cal")
add_urls("https://github.com/awslabs/aws-c-cal/archive/refs/tags/$(version).tar.gz",
"https://github.com/awslabs/aws-c-cal.git")
add_versions("v0.8.3", "413a5226a881eb2d7c7b453707c90b6ad1c0f63edfc15e87087f56d7d10c2a1b")
add_versions("v0.8.1", "4d603641758ef350c3e5401184804e8a6bba4aa5294593cc6228b0dca77b22f5")
add_versions("v0.8.0", "3803311ee7c73446a35466199084652ec5f76dedcf20452ebdbba8ed34d4230d")
add_versions("v0.7.4", "8020ecbe850ceb402aa9c81a1ef34e3becdbcb49587a1b19eb5c7e040f369b58")
add_versions("v0.7.2", "265938e3f1d2baa6a555ec6b0a27c74d3f505cbe7c96f7539ada42d5a848dee9")
add_versions("v0.7.1", "2fbdc04d72d1f3af28b80fe3917f03f20c0a62bc22b6c7b3450486ee9cbe77f6")
@ -16,26 +19,40 @@ package("aws-c-cal")
add_versions("v0.6.2", "777feb1e88b261415e1ad607f7e420a743c3b432e21a66a5aaf9249149dc6fef")
add_configs("openssl", {description = "Set this if you want to use your system's OpenSSL 1.0.2/1.1.1 compatible libcrypto", default = false, type = "boolean"})
add_configs("asan", {description = "Enable Address Sanitize.", default = false, type = "boolean"})
if is_plat("wasm") then
add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true})
end
if is_plat("windows","mingw") then
add_syslinks("bcrypt", "ncrypt")
elseif is_plat("linux", "bsd") then
add_syslinks("pthread")
elseif is_plat("macosx", "iphoneos") then
add_frameworks("Security", "CoreFoundation")
end
add_deps("cmake", "aws-c-common")
on_load(function (package)
if not package:is_plat("windows", "mingw", "msys", "macosx") then
if package:is_plat("linux", "bsd", "cross", "android") then
package:config_set("openssl", true)
end
if package:config("openssl") then
package:add("deps", "openssl")
end
if package:is_plat("windows") and package:config("shared") then
package:add("defines", "AWS_C_RT_USE_WINDOWS_DLL_SEMANTICS", "AWS_CAL_USE_IMPORT_EXPORT")
end
end)
on_install("windows|x64", "windows|x86", "linux", "macosx", "bsd", "msys", "cross", function (package)
local cmakedir = package:dep("aws-c-common"):installdir("lib", "cmake")
if package:is_plat("windows") then
cmakedir = cmakedir:gsub("\\", "/")
end
on_install("!wasm and (!mingw or mingw|!i386)", function (package)
local cmakedir = path.unix(package:dep("aws-c-common"):installdir("lib", "cmake"))
local configs = {"-DBUILD_TESTING=OFF", "-DCMAKE_MODULE_PATH=" .. cmakedir}
local configs = {
"-DBUILD_TESTING=OFF",
"-DCMAKE_POLICY_DEFAULT_CMP0057=NEW",
"-DCMAKE_MODULE_PATH=" .. cmakedir,
}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DENABLE_SANITIZERS=" .. (package:config("asan") and "ON" or "OFF"))
@ -44,6 +61,11 @@ package("aws-c-cal")
end
table.insert(configs, "-DUSE_OPENSSL=" .. (package:config("openssl") and "ON" or "OFF"))
import("package.tools.cmake").install(package, configs)
if package:is_plat("windows") and package:is_debug() then
local dir = package:installdir(package:config("shared") and "bin" or "lib")
os.vcp(path.join(package:buildir(), "*.pdb"), dir)
end
end)
on_test(function (package)

@ -6,6 +6,11 @@ package("aws-c-common")
add_urls("https://github.com/awslabs/aws-c-common/archive/refs/tags/$(version).tar.gz",
"https://github.com/awslabs/aws-c-common.git")
add_versions("v0.11.1", "b442cc59f507fbe232c0ae433c836deff83330270a58fa13bf360562efda368a")
add_versions("v0.10.6", "d0acbabc786035d41791c3a2f45dbeda31d9693521ee746dc1375d6380eb912b")
add_versions("v0.10.3", "15cc7282cfe4837fdaf1c3bb44105247da712ae97706a8717866f8e73e1d4fd9")
add_versions("v0.10.0", "1fc7dea83f1d5a4b6fa86e3c8458200ed6e7f69c65707aa7b246900701874ad1")
add_versions("v0.9.28", "bf265e9e409d563b0eddcb66e1cb00ff6b371170db3e119348478d911d054317")
add_versions("v0.9.27", "0c0eecbd7aa04f85b1bdddf6342789bc8052737c6e9aa2ca35e26caed41d06ba")
add_versions("v0.9.25", "443f3268387715e6e2c417a87114a6b42873aeeebc793d3f6f631323e7c48a80")
add_versions("v0.9.24", "715a15399fe6dce2971c222ecabea4276e42ba3465a63c175724fc0c80d7a888")
@ -32,7 +37,11 @@ package("aws-c-common")
add_deps("cmake")
on_install("!mingw or mingw|!i386", function (package)
local configs = {"-DBUILD_TESTING=OFF"}
if package:is_plat("windows") and package:config("shared") then
package:add("defines", "AWS_COMMON_USE_IMPORT_EXPORT")
end
local configs = {"-DBUILD_TESTING=OFF", "-DCMAKE_POLICY_DEFAULT_CMP0057=NEW"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DENABLE_SANITIZERS=" .. (package:config("asan") and "ON" or "OFF"))
@ -40,6 +49,11 @@ package("aws-c-common")
table.insert(configs, "-DAWS_STATIC_MSVC_RUNTIME_LIBRARY=" .. (package:config("vs_runtime"):startswith("MT") and "ON" or "OFF"))
end
import("package.tools.cmake").install(package, configs)
if package:is_plat("windows") and package:is_debug() then
local dir = package:installdir(package:config("shared") and "bin" or "lib")
os.vcp(path.join(package:buildir(), "*.pdb"), dir)
end
end)
on_test(function (package)

@ -6,6 +6,8 @@ package("aws-c-compression")
add_urls("https://github.com/awslabs/aws-c-compression/archive/refs/tags/$(version).tar.gz",
"https://github.com/awslabs/aws-c-compression.git")
add_versions("v0.3.1", "d89fca17a37de762dc34f332d2da402343078da8dbd2224c46a11a88adddf754")
add_versions("v0.3.0", "7e5d7308d1dbb1801eae9356ef65558f707edf33660dd6443c985db9474725eb")
add_versions("v0.2.19", "51796f98a29a0d6e257c02e1f842bbc41db324758939093e6d46ec28337a3272")
add_versions("v0.2.18", "517c361f3b7fffca08efd5ad251a20489794f056eab0dfffacc6d5b341df8e86")
add_versions("v0.2.17", "703d1671e395ea26f8b0b70d678ed471421685a89e127f8aa125e2b2ecedb0e0")

@ -6,6 +6,8 @@ package("aws-c-event-stream")
add_urls("https://github.com/awslabs/aws-c-event-stream/archive/refs/tags/$(version).tar.gz",
"https://github.com/awslabs/aws-c-event-stream.git")
add_versions("v0.5.1", "22ce7a695b82debe118c9ecc641ea8bc7e59c9843f92d5acf8401fc86cac847a")
add_versions("v0.5.0", "3a53a9d05f9e2fd06036a12854a8b4f05a0c4858bb5b8df8a30edba9de8532b5")
add_versions("v0.4.3", "d7d82c38bae68d2287ac59972a76b2b6159e7a3d7c9b7edb1357495aa4d0c0de")
add_versions("v0.4.2", "c98b8fa05c2ca10aacfce7327b92a84669c2da95ccb8e7d7b3e3285fcec8beee")
add_versions("v0.4.1", "f8915fba57c86148f8df4c303ca6f31de6c23375de554ba8d6f9aef2a980e93e")

@ -6,6 +6,10 @@ package("aws-c-http")
add_urls("https://github.com/awslabs/aws-c-http/archive/refs/tags/$(version).tar.gz",
"https://github.com/awslabs/aws-c-http.git")
add_versions("v0.9.3", "63061321fd3234a4f8688cff1a6681089321519436a5f181e1bcb359204df7c8")
add_versions("v0.9.2", "328013ebc2b5725326cac01941041eec1e1010058c60709da2c23aa8fb967370")
add_versions("v0.9.0", "ffba3a208e605ed247a130e2986f9d524283faf85f26da3452aac878ecefdfa2")
add_versions("v0.8.10", "f878802a4e0bcefadce9959ce443acaf77607a68d138f9d3db04a5a878f1a871")
add_versions("v0.8.7", "173ed7634c87485c2defbd9a96a246a79ec3f3659b28b235ac38e6e92d67392a")
add_versions("v0.8.2", "a76ba75e59e1ac169df3ec00c0d1c453db1a4db85ee8acd3282a85ee63d6b31c")
add_versions("v0.8.1", "83fb47e2d7956469bb328f16dea96663e96f8f20dc60dc4e9676b82804588530")

@ -6,6 +6,10 @@ package("aws-c-io")
add_urls("https://github.com/awslabs/aws-c-io/archive/refs/tags/$(version).tar.gz",
"https://github.com/awslabs/aws-c-io.git")
add_versions("v0.15.3", "d8cb4d7d3ec4fb27cbce158d6823a1f2f5d868e116f1d6703db2ab8159343c3f")
add_versions("v0.15.1", "70f119b44f2758fc482872141cb712122f1c3c82fea16d203b7286a98c139a71")
add_versions("v0.15.0", "a8fbc39721395c12fd66bf2ce39b4cac24df395b35700b9ae718a7923d229df4")
add_versions("v0.14.19", "127aa30608084affbcc0b7b26982ab4d98404d1aa103b91693d0e76b564da21d")
add_versions("v0.14.18", "44e9dee181ed7d867d1cc2944f4b4669259b569fc56bdd6dd4c7c30440fc4bf8")
add_versions("v0.14.16", "bf78ab5dbeeaec2f55cb035e18c49ce8ba4e2ea7519e8b94e18ccd8851e39f4d")
add_versions("v0.14.14", "c62400e83232e6d7c04bacebf02d552f6699d90735d9b8b6ee5fae879735c458")
@ -17,25 +21,32 @@ package("aws-c-io")
add_versions("v0.14.5", "2700bcde062f7de1c1cbfd236b9fdfc9b24b4aa6dc0fb09bb156e16e07ebd0b6")
add_versions("v0.13.32", "2a6b18c544d014ca4f55cb96002dbbc1e52a2120541c809fa974cb0838ea72cc")
add_configs("asan", {description = "Enable Address Sanitize.", default = false, type = "boolean"})
if is_plat("wasm") then
add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true})
end
if is_plat("windows") then
if is_plat("windows","mingw") then
add_syslinks("advapi32", "crypt32", "secur32", "ncrypt")
elseif is_plat("linux", "bsd", "cross") then
elseif is_plat("linux", "bsd", "cross", "android") then
add_deps("s2n-tls")
elseif is_plat("macosx") then
elseif is_plat("macosx", "iphoneos") then
add_frameworks("Security")
end
add_deps("cmake", "aws-c-common", "aws-c-cal")
on_install("windows|x64", "windows|x86", "linux", "macosx", "bsd", "msys", "cross", function (package)
local cmakedir = package:dep("aws-c-common"):installdir("lib", "cmake")
if package:is_plat("windows") then
cmakedir = cmakedir:gsub("\\", "/")
on_install("!wasm and (!mingw or mingw|!i386)", function (package)
if package:is_plat("windows") and package:config("shared") then
package:add("defines", "USE_WINDOWS_DLL_SEMANTICS", "AWS_IO_USE_IMPORT_EXPORT")
end
local configs = {"-DBUILD_TESTING=OFF", "-DCMAKE_MODULE_PATH=" .. cmakedir}
local cmakedir = path.unix(package:dep("aws-c-common"):installdir("lib", "cmake"))
local configs = {
"-DBUILD_TESTING=OFF",
"-DCMAKE_POLICY_DEFAULT_CMP0057=NEW",
"-DCMAKE_MODULE_PATH=" .. cmakedir,
}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DENABLE_SANITIZERS=" .. (package:config("asan") and "ON" or "OFF"))
@ -43,6 +54,11 @@ package("aws-c-io")
table.insert(configs, "-DAWS_STATIC_MSVC_RUNTIME_LIBRARY=" .. (package:config("vs_runtime"):startswith("MT") and "ON" or "OFF"))
end
import("package.tools.cmake").install(package, configs)
if package:is_plat("windows") and package:is_debug() then
local dir = package:installdir(package:config("shared") and "bin" or "lib")
os.vcp(path.join(package:buildir(), "*.pdb"), dir)
end
end)
on_test(function (package)

@ -6,6 +6,10 @@ package("aws-c-mqtt")
add_urls("https://github.com/awslabs/aws-c-mqtt/archive/refs/tags/$(version).tar.gz",
"https://github.com/awslabs/aws-c-mqtt.git")
add_versions("v0.12.1", "04abe47c798bf9dcb95e25ea9acd62a35a3f22e58b61c16912a6275c2f8230fe")
add_versions("v0.11.0", "3854664c13896b6de3d56412f928435a4933259cb7fe62b10c1f497e6999333c")
add_versions("v0.10.7", "197bb549f7b121d05d59bb58dd641b56fdf80337d027f0a69146196bd8f92604")
add_versions("v0.10.6", "7579fafc74a8751c15c0196eda6ec93d00a17e7f79fb994f34a8f62ceb66cc62")
add_versions("v0.10.4", "6a41456f9eee15d71e4e2ee162b354865809f26620f1e6e5acb237f190f77f3f")
add_versions("v0.10.3", "bb938d794b0757d669b5877526363dc6f6f0e43869ca19fc196ffd0f7a35f5b9")
add_versions("v0.9.5", "987289535d3c988fe949f49d81268736c96fe27b27c98c899f0a148577f6627b")

@ -6,6 +6,11 @@ package("aws-c-s3")
add_urls("https://github.com/awslabs/aws-c-s3/archive/refs/tags/$(version).tar.gz",
"https://github.com/awslabs/aws-c-s3.git")
add_versions("v0.7.7", "843571de8cd504428bd4ef9ff574e3c91b51ae010813111757e1cfca951cf35e")
add_versions("v0.7.5", "d2f68e8a8e9a9e9b16aecd4ae72d78860e3d71d6fe9ccd8f2d50a7ee5faf5619")
add_versions("v0.7.4", "0e315694c524aece68da9327ab1c57f5d5dd9aed843fea3950429bb7cec70f35")
add_versions("v0.7.1", "0723610c85262b2ac19be0bd98622857f09edc3317be707f6cfe9a9849796ef4")
add_versions("v0.7.0", "d7a7dc82988221a1e7038a3ba1b4454c91dd66e41c08f2a83455d265d8683818")
add_versions("v0.6.5", "b671006ae2b5c1302e49ca022e0f9e6504cfe171d9e47c3e59c52b2ab8e80ef5")
add_versions("v0.6.0", "0a29dbb13ea003de3fd0d08a61fa705b1c753db4b35de9c464641432000f13ec")
add_versions("v0.5.9", "7a337195b295406658d163b6dac64ff81f7556291b8a8e79e58ebaa2d55178ee")

@ -6,6 +6,10 @@ package("aws-c-sdkutils")
add_urls("https://github.com/awslabs/aws-c-sdkutils/archive/refs/tags/$(version).tar.gz",
"https://github.com/awslabs/aws-c-sdkutils.git")
add_versions("v0.2.3", "5a0489d508341b84eea556e351717bc33524d3dfd6207ee3aba6068994ea6018")
add_versions("v0.2.2", "75defbfd4d896b8bdc0790bd25d854218acae61b9409d1956d33832924b82045")
add_versions("v0.2.1", "17bdec593f3ae8a837622ef81055db81cc2dd14b86d33b21df878a7ab918d0e4")
add_versions("v0.2.0", "5c73caa1c0ebde71b357d05a8f0ff6c1be09b32e0935b16d7385c9342f3e59c2")
add_versions("v0.1.19", "66bd7a8679703386aec1539407aaed0942a78032fe340ab44e810a3cf6d7e505")
add_versions("v0.1.16", "4a818563d7c6636b5b245f5d22d4d7c804fa33fc4ea6976e9c296d272f4966d3")
add_versions("v0.1.15", "15fa30b8b0a357128388f2f40ab0ba3df63742fd333cc2f89cb91a9169f03bdc")

@ -6,22 +6,28 @@ package("aws-checksums")
add_urls("https://github.com/awslabs/aws-checksums/archive/refs/tags/$(version).tar.gz",
"https://github.com/awslabs/aws-checksums.git")
add_versions("v0.2.2", "96acfea882c06acd5571c845e4968892d6ffc0fae81b31a0b1565100049743b2")
add_versions("v0.2.0", "aae619de7fb5908a52223eae3b80fae70260eed5919ad4c385b2d5a144a641f0")
add_versions("v0.1.20", "12f80085993662b6d2cbd2d090b49b4350d19396b1d218d52323712cc8dee252")
add_versions("v0.1.19", "844e5a4f659f454112c559d4f4043b7accfbb134e47a55f4c55f79d9c71bdab1")
add_versions("v0.1.18", "bdba9d0a8b8330a89c6b8cbc00b9aa14f403d3449b37ff2e0d96d62a7301b2ee")
add_versions("v0.1.17", "83c1fbae826631361a529e9565e64a942c412baaec6b705ae5da3f056b97b958")
add_configs("asan", {description = "Enable Address Sanitize.", default = false, type = "boolean"})
if is_plat("wasm") then
add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true})
end
add_deps("cmake", "aws-c-common")
if on_check then
on_check(function (package)
if package:version():ge("0.1.19") then
if package:is_plat("windows") and package:has_tool("cxx", "clang_cl") then
raise("package(aws-checksums >=0.1.19) unsupported clang-cl toolchain")
end
end
if package:version():eq("0.1.19") then
if package:is_plat("windows") then
if package:has_tool("cxx", "clang_cl") then
raise("package(aws-checksums 0.1.19) unsupported clang-cl toolchain")
end
elseif package:has_tool("cxx", "clang") then
if not package:is_plat("windows") and package:has_tool("cxx", "clang") then
raise("package(aws-checksums 0.1.19) unsupported clang toolchain")
end
end
@ -29,12 +35,20 @@ package("aws-checksums")
end
on_install("!mingw or mingw|!i386", function (package)
local cmakedir = package:dep("aws-c-common"):installdir("lib", "cmake")
if package:is_plat("windows") and package:config("shared") then
package:add("defines", "AWS_CHECKSUMS_USE_IMPORT_EXPORT")
end
local cmakedir = package:dep("aws-c-common"):installdir("lib/cmake")
if is_host("windows") then
cmakedir = cmakedir:gsub("\\", "/")
end
local configs = {"-DBUILD_TESTING=OFF", "-DCMAKE_MODULE_PATH=" .. cmakedir}
local configs = {
"-DBUILD_TESTING=OFF",
"-DCMAKE_POLICY_DEFAULT_CMP0057=NEW",
"-DCMAKE_MODULE_PATH=" .. cmakedir,
}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DENABLE_SANITIZERS=" .. (package:config("asan") and "ON" or "OFF"))

@ -6,6 +6,9 @@ package("aws-crt-cpp")
add_urls("https://github.com/awslabs/aws-crt-cpp/archive/refs/tags/$(version).tar.gz",
"https://github.com/awslabs/aws-crt-cpp.git")
add_versions("v0.29.8", "a693b1b6a802dd8bf0210cbb9f01fd58a95c851309a10a221e1ba7496b81384c")
add_versions("v0.29.5", "17dd4a39537b5bd4040ff951c5a658e27c5d74d3f3cfab72831d3ecbabd58d35")
add_versions("v0.28.3", "0d0255eb1983ff3b6f7a7e98a54f65e2e8b40a7c7d6118a96a9c656ada7afb5f")
add_versions("v0.28.2", "7f27df9d2028008e665bab4b2e094365eac696610610e52182c679a43dbeaf6f")
add_versions("v0.27.5", "cc69252ee132f5cc76b1fcf1ebec574e88f7080b05caa8125aab5684b26a37b9")
add_versions("v0.27.4", "0554776a4cbbea016075f4a28698ff22818c5b948296171e1f76d0a787576f83")

@ -5,6 +5,11 @@ package("aws-lc")
add_urls("https://github.com/aws/aws-lc/archive/refs/tags/$(version).tar.gz",
"https://github.com/aws/aws-lc.git")
add_versions("v1.45.0", "b136d4331583e16dbcb0c501d56e80afbe5ea1314a4a1c89056953d76e37e9fc")
add_versions("v1.41.1", "c81376005466339564c3ca5ad83c52ca350f79391414999d052b5629d008a4d6")
add_versions("v1.40.0", "5397a2fdb60230912dae4d7aeb3847c6b39a2f820504abbf55e376ed6a175a55")
add_versions("v1.39.0", "37f5a379081b97adba3e1316017e09484d6c4ed6dc336d57fae6f0b7b27472fc")
add_versions("v1.37.0", "d5ba1bd922247ce8bdd9139289bf5a021237b121e1f29a323c0ef1730cb1ed07")
add_versions("v1.34.2", "4958ac76edd53ced46d3a064cb58be8bd11e4937bcc3857623d319c2894d0904")
add_versions("v1.32.0", "67fbb78659055c2289c9068bb4ca1c0f1b6ca27700c7f6d34c6bc2f27cd46314")
@ -12,7 +17,10 @@ package("aws-lc")
add_configs("go", {description = "Enable go", default = false, type = "boolean"})
add_configs("perl", {description = "Enable perl", default = false, type = "boolean"})
add_configs("tools", {description = "Build tools", default = false, type = "boolean"})
if is_plat("wasm") then
add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true})
end
add_deps("cmake")
if is_plat("windows", "mingw") or is_host("windows") then
add_deps("nasm")
@ -26,26 +34,39 @@ package("aws-lc")
add_syslinks("pthread", "dl", "m")
end
if on_check then
on_check("wasm", function (target)
if package:version() and package:version():eq("1.45.0") then
raise("package(aws-lc 1.45.0) unsupported version")
end
end)
end
on_load(function (package)
if package:config("go") then
package:add("deps", "go")
end
if package:config("perl") and package:is_plat() and (not package:is_precompiled()) then
package:add("deps", "strawberry-perl")
if not package:is_precompiled() then
if package:config("go") then
package:add("deps", "go")
end
if is_subhost("windows") and package:config("perl") then
package:add("deps", "strawberry-perl")
end
end
end)
on_install("!cross and windows|!arm64", function (package)
if package:config("shared") and package:is_plat("windows") then
package:add("defines", "BORINGSSL_SHARED_LIBRARY")
end
end)
on_install("!cross and (!windows or windows|!arm64)", function (package)
io.replace("CMakeLists.txt", "-WX", "", {plain = true})
io.replace("CMakeLists.txt", [[set(C_CXX_FLAGS "${C_CXX_FLAGS} -Werror -Wformat=2 -Wsign-compare -Wmissing-field-initializers -Wwrite-strings")]], "", {plain = true})
local configs = {
"-DBUILD_TESTING=OFF",
"-DCMAKE_POLICY_DEFAULT_CMP0057=NEW",
"-DCMAKE_INSTALL_INCLUDEDIR=include",
"-DBUILD_LIBSSL=ON",
}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
@ -53,6 +74,10 @@ package("aws-lc")
table.insert(configs, "-DDISABLE_GO=" .. (package:config("go") and "OFF" or "ON"))
table.insert(configs, "-DDISABLE_PERL=" .. (package:config("perl") and "OFF" or "ON"))
table.insert(configs, "-DBUILD_TOOL=" .. (package:config("tools") and "ON" or "OFF"))
if package:is_plat("mingw") and not package:is_arch64() then
table.insert(configs, "-DOPENSSL_NO_ASM=ON")
end
import("package.tools.cmake").install(package, configs)
end)

@ -0,0 +1,40 @@
package("babl")
set_homepage("https://gegl.org/babl/")
set_description("A pixel encoding and color space conversion engine.")
set_license("LGPL-3.0-or-later")
add_urls("https://ftp.fau.de/gimp/babl/$(version).tar.xz", {version = function (version)
return format("%d.%d/babl-%s", version:major(), version:minor(), version)
end})
add_versions("0.1.110", "bf47be7540d6275389f66431ef03064df5376315e243d0bab448c6aa713f5743")
add_configs("lcms", {description = "Build with lcms", default = false, type = "boolean"})
if is_plat("mingw", "msys") then
add_configs("shared", {description = "Build shared library.", default = true, type = "boolean", readonly = true})
end
if is_plat("linux", "bsd", "android") then
add_syslinks("dl", "m")
end
add_deps("meson", "ninja")
on_load(function (package)
if package:config("lcms") then
package:add("deps", "lcms")
end
end)
on_install("!iphoneos and !windows and !wasm", function (package)
local configs = {"-Dwith-docs=false", "-Denable-gir=false", "-Denable-vapi=false", "-Dgi-docgen=disabled"}
table.insert(configs, "-Dwith-lcms=" .. (package:config("lcms") and "true" or "false"))
table.insert(configs, "-Ddefault_library=" .. (package:config("shared") and "shared" or "static"))
import("package.tools.meson").install(package, configs)
os.cp(package:installdir("include/babl-0.1/babl/*.h"), package:installdir("include/babl"))
end)
on_test(function (package)
assert(package:has_cfuncs("babl_init", {includes = "babl/babl.h"}))
end)

@ -0,0 +1,43 @@
package("barkeep")
set_kind("library", {headeronly = true})
set_homepage("https://oir.github.io/barkeep/")
set_description("Small C++ header to display async animations, counters, and progress bars")
set_license("Apache-2.0")
add_urls("https://github.com/oir/barkeep/archive/refs/tags/$(version).tar.gz",
"https://github.com/oir/barkeep.git")
add_versions("v0.1.5", "2577b09cfa7e5e117d13b765cfa4792f9e2b50719715786be275ae32dbf63b7c")
add_versions("v0.1.4", "2dc1b2cf6f0e0c0de1a0f18a1d31a97bc698ed0cfdf186780daf5a17aa56dfa2")
add_versions("v0.1.3", "211425e348b570547b49d11edfb6e3750701d97cc89f073771b16d6012530a66")
add_configs("fmt", {description = "Use fmt format", default = true, type = "boolean"})
if is_plat("linux", "bsd") then
add_syslinks("pthread")
end
on_load(function (package)
if package:config("fmt") then
package:add("deps", "fmt")
package:add("defines", "BARKEEP_ENABLE_FMT_FORMAT")
else
package:add("defines", "BARKEEP_ENABLE_STD_FORMAT")
end
end)
on_install(function (package)
if package:has_tool("cxx", "cl") then
package:add("cxxflags", "/utf-8")
end
os.cp("barkeep", package:installdir("include"))
end)
on_test(function (package)
assert(package:check_cxxsnippets({test = [[
void test() {
auto anim = barkeep::Animation({.message = "Working"});
}
]]}, {configs = {languages = "c++20"}, includes = {"barkeep/barkeep.h"}}))
end)

@ -0,0 +1,65 @@
package("bddisasm")
set_homepage("https://github.com/bitdefender/bddisasm")
set_description("bddisasm is a fast, lightweight, x86/x64 instruction decoder. The project also features a fast, basic, x86/x64 instruction emulator, designed specifically to detect shellcode-like behavior.")
set_license("Apache-2.0")
add_urls("https://github.com/bitdefender/bddisasm/archive/refs/tags/$(version).tar.gz",
"https://github.com/bitdefender/bddisasm.git")
add_versions("v2.2.0", "b1aa8749ef1d61ecdc4e5469a823b40e06cf1d077a518995bf86bcac09ba530d")
add_configs("isagenerator", {description = "Include the x86 isagenerator target", default = false, type = "boolean"})
add_configs("vsnprintf", {description = "Expect nd_vsnprintf_s implementation from the integrator", default = false, type = "boolean"})
add_configs("memset", {description = "Expect nd_memset implementation from the integrator", default = false, type = "boolean"})
add_configs("mnemonics", {description = "include mnemonics", default = true, type = "boolean"})
add_configs("tools", {description = "Build tools", default = false, type = "boolean"})
add_links("bddisasm", "bdshemu")
add_deps("cmake")
on_load(function (package)
if package:config("isagenerator") then
package:add("deps", "python 3.x", {kind = "binary"})
end
if not package:config("mnemonics") then
package:add("defines", "BDDISASM_NO_MNEMONIC", "BDDISASM_NO_FORMAT")
end
end)
on_install("!wasm", function (package)
io.replace("CMakeLists.txt", "/WX", "", {plain = true})
io.replace("CMakeLists.txt", "STATIC", "", {plain = true})
if package:is_cross() then
io.replace("CMakeLists.txt", "-march=native", "", {plain = true})
end
local configs = {}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DBDD_ASAN=" .. (package:config("asan") and "ON" or "OFF"))
table.insert(configs, "-DBDD_UBSAN=" .. (package:config("ubsan") and "ON" or "OFF"))
table.insert(configs, "-DBDD_LTO=" .. (package:config("lto") and "ON" or "OFF"))
table.insert(configs, "-DBDD_INCLUDE_ISAGENERATOR_X86=" .. (package:config("isagenerator") and "ON" or "OFF"))
table.insert(configs, "-DBDD_USE_EXTERNAL_VSNPRINTF=" .. (package:config("vsnprintf") and "ON" or "OFF"))
table.insert(configs, "-DBDD_USE_EXTERNAL_MEMSET=" .. (package:config("memset") and "ON" or "OFF"))
table.insert(configs, "-DBDD_NO_MNEMONIC=" .. (package:config("mnemonics") and "OFF" or "ON"))
table.insert(configs, "-DBDD_INCLUDE_TOOL=" .. (package:config("tools") and "ON" or "OFF"))
if package:is_plat("windows") then
table.insert(configs, "-DCMAKE_COMPILE_PDB_OUTPUT_DIRECTORY=''")
if package:config("shared") then
table.insert(configs, "-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON")
end
end
import("package.tools.cmake").install(package, configs)
if package:is_plat("windows") and package:is_debug() then
local dir = package:installdir(package:config("shared") and "bin" or "lib")
os.vcp(path.join(package:buildir(), "*.pdb"), dir)
end
end)
on_test(function (package)
assert(package:has_cfuncs("NdDecodeEx", {includes = "bddisasm/bddisasm.h"}))
end)

@ -1,25 +1,26 @@
package("benchmark")
set_homepage("https://github.com/google/benchmark")
set_description("A microbenchmark support library")
set_license("Apache-2.0")
add_urls("https://github.com/google/benchmark/archive/refs/tags/v$(version).tar.gz",
add_urls("https://github.com/google/benchmark/archive/refs/tags/$(version).tar.gz",
"https://github.com/google/benchmark.git")
add_versions("1.9.0", "35a77f46cc782b16fac8d3b107fbfbb37dcd645f7c28eee19f3b8e0758b48994")
add_versions("1.5.2", "dccbdab796baa1043f04982147e67bb6e118fe610da2c65f88912d73987e700c")
add_versions("1.5.3", "e4fbb85eec69e6668ad397ec71a3a3ab165903abe98a8327db920b94508f720e")
add_versions("1.5.4", "e3adf8c98bb38a198822725c0fc6c0ae4711f16fbbf6aeb311d5ad11e5a081b5")
add_versions("1.5.5", "3bff5f237c317ddfd8d5a9b96b3eede7c0802e799db520d38ce756a2a46a18a0")
add_versions("1.5.6", "789f85b4810d13ff803834ea75999e41b326405d83d6a538baf01499eda96102")
add_versions("1.6.0", "1f71c72ce08d2c1310011ea6436b31e39ccab8c2db94186d26657d41747c85d6")
add_versions("1.6.1", "6132883bc8c9b0df5375b16ab520fac1a85dc9e4cf5be59480448ece74b278d4")
add_versions("1.7.0", "3aff99169fa8bdee356eaa1f691e835a6e57b1efeadb8a0f9f228531158246ac")
add_versions("1.7.1", "6430e4092653380d9dc4ccb45a1e2dc9259d581f4866dc0759713126056bc1d7")
add_versions("1.8.0", "ea2e94c24ddf6594d15c711c06ccd4486434d9cf3eca954e2af8a20c88f9f172")
add_versions("1.8.3", "6bc180a57d23d4d9515519f92b0c83d61b05b5bab188961f36ac7b06b0d9e9ce")
add_versions("1.8.4", "3e7059b6b11fb1bbe28e33e02519398ca94c1818874ebed18e504dc6f709be45")
add_versions("1.8.5", "d26789a2b46d8808a48a4556ee58ccc7c497fcd4c0af9b90197674a81e04798a")
add_versions("v1.9.1", "32131c08ee31eeff2c8968d7e874f3cb648034377dfc32a4c377fa8796d84981")
add_versions("v1.9.0", "35a77f46cc782b16fac8d3b107fbfbb37dcd645f7c28eee19f3b8e0758b48994")
add_versions("v1.8.5", "d26789a2b46d8808a48a4556ee58ccc7c497fcd4c0af9b90197674a81e04798a")
add_versions("v1.8.4", "3e7059b6b11fb1bbe28e33e02519398ca94c1818874ebed18e504dc6f709be45")
add_versions("v1.8.3", "6bc180a57d23d4d9515519f92b0c83d61b05b5bab188961f36ac7b06b0d9e9ce")
add_versions("v1.8.0", "ea2e94c24ddf6594d15c711c06ccd4486434d9cf3eca954e2af8a20c88f9f172")
add_versions("v1.7.1", "6430e4092653380d9dc4ccb45a1e2dc9259d581f4866dc0759713126056bc1d7")
add_versions("v1.7.0", "3aff99169fa8bdee356eaa1f691e835a6e57b1efeadb8a0f9f228531158246ac")
add_versions("v1.6.1", "6132883bc8c9b0df5375b16ab520fac1a85dc9e4cf5be59480448ece74b278d4")
add_versions("v1.6.0", "1f71c72ce08d2c1310011ea6436b31e39ccab8c2db94186d26657d41747c85d6")
add_versions("v1.5.6", "789f85b4810d13ff803834ea75999e41b326405d83d6a538baf01499eda96102")
add_versions("v1.5.5", "3bff5f237c317ddfd8d5a9b96b3eede7c0802e799db520d38ce756a2a46a18a0")
add_versions("v1.5.4", "e3adf8c98bb38a198822725c0fc6c0ae4711f16fbbf6aeb311d5ad11e5a081b5")
add_versions("v1.5.3", "e4fbb85eec69e6668ad397ec71a3a3ab165903abe98a8327db920b94508f720e")
add_versions("v1.5.2", "dccbdab796baa1043f04982147e67bb6e118fe610da2c65f88912d73987e700c")
if is_plat("mingw") and is_subhost("msys") then
add_extsources("pacman::benchmark")
@ -29,29 +30,53 @@ package("benchmark")
add_extsources("brew::google-benchmark")
end
if is_plat("linux") then
if is_plat("linux", "bsd") then
add_syslinks("pthread")
elseif is_plat("windows", "mingw") then
add_syslinks("shlwapi")
end
if is_plat("mingw") then
add_configs("shared", {description = "Build shared library.", default = true, type = "boolean", readonly = true})
end
add_configs("exceptions", {description = "Enable exception", default = true, type = "boolean"})
add_deps("cmake")
add_links("benchmark_main", "benchmark")
on_load("windows", function (package)
if on_check then
on_check("android", function (package)
if package:is_plat("android") and package:is_arch("armeabi-v7a") then
local ndk_sdkver = package:toolchain("ndk"):config("ndk_sdkver")
if ndk_sdkver and tonumber(ndk_sdkver) < 24 then
raise("package(benchmark) require ndk api >= 24")
end
end
end)
end
on_load(function (package)
if not package:config("shared") then
package:add("defines", "BENCHMARK_STATIC_DEFINE")
end
end)
on_install("macosx", "linux", "windows", "mingw", function (package)
local configs = {"-DBENCHMARK_ENABLE_TESTING=OFF", "-DBENCHMARK_INSTALL_DOCS=OFF"}
on_install(function (package)
local configs = {
"-DBENCHMARK_ENABLE_TESTING=OFF",
"-DBENCHMARK_INSTALL_DOCS=OFF",
"-DBENCHMARK_ENABLE_WERROR=OFF",
}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DBENCHMARK_ENABLE_LTO=" .. (package:config("lto") and "ON" or "OFF"))
table.insert(configs, "-DBENCHMARK_ENABLE_EXCEPTIONS=" .. (package:config("exceptions") and "ON" or "OFF"))
if package:is_plat("windows") then
table.insert(configs, "-DCMAKE_COMPILE_PDB_OUTPUT_DIRECTORY=''")
end
import("package.tools.cmake").install(package, configs)
if package:is_plat("windows") and package:is_debug() then
local dir = package:installdir(package:config("shared") and "bin" or "lib")
os.cp(path.join(package:buildir(), "src/*.pdb"), dir)
end
end)
on_test(function (package)

@ -4,7 +4,14 @@ package("bison")
set_description("A general-purpose parser generator.")
set_license("GPL-3.0")
if not is_plat("windows") then
if on_source then
on_source(function (package)
if not package:is_plat("windows", "mingw", "msys") then
package:add("urls", "http://ftpmirror.gnu.org/gnu/bison/bison-$(version).tar.gz",
"http://ftp.gnu.org/gnu/bison/bison-$(version).tar.gz")
end
end)
elseif not is_plat("windows", "mingw", "msys") then
add_urls("http://ftpmirror.gnu.org/gnu/bison/bison-$(version).tar.gz",
"http://ftp.gnu.org/gnu/bison/bison-$(version).tar.gz")
end
@ -13,29 +20,40 @@ package("bison")
add_versions("3.7.6", "69dc0bb46ea8fc307d4ca1e0b61c8c355eb207d0b0c69f4f8462328e74d7b9ea")
add_versions("3.8.2", "06c9e13bdf7eb24d4ceb6b59205a4f67c2c7e7213119644430fe82fbd14a0abb")
if is_plat("windows") then
add_deps("winflexbison", {private = true})
elseif is_plat("linux", "bsd") then
add_deps("m4")
end
on_load("macosx", "linux", "bsd", "windows", "@msys", function (package)
if package:is_plat("windows") then
package:add("deps", "winflexbison", {private = true})
elseif package:is_plat("linux", "bsd") then
package:add("deps", "m4")
end
on_load("macosx", "linux", "bsd", "windows", function (package)
-- we always set it, because flex may be modified as library
-- we always set it, because bison may be modified as library
-- by add_deps("bison", {kind = "library"})
package:addenv("PATH", "bin")
end)
if package:is_library() then
package:set("kind", "library", {headeronly = true})
end
on_install(function (package)
if package:is_plat("windows") then
os.cp(path.join(package:dep("winflexbison"):installdir(), "*"), package:installdir())
os.rm(path.join(package:installdir(), "bin", "flex.exe"))
os.rm(path.join(package:installdir(), "include", "FlexLexer.h"))
else
import("package.tools.autoconf").install(package)
os.rm(package:installdir("share", "doc"))
if is_subhost("msys") and xmake:version():ge("2.9.7") then
package:add("deps", "pacman::bison", {configs = {msystem = "msys"}})
end
end)
on_install("@msys", function (package) end)
on_install("windows", function (package)
os.cp(path.join(package:dep("winflexbison"):installdir(), "*"), package:installdir())
os.rm(path.join(package:installdir(), "bin", "flex.exe"))
os.rm(path.join(package:installdir(), "include", "FlexLexer.h"))
end)
on_install("macosx", "linux", "bsd", "android", "iphoneos", "cross", function (package)
import("package.tools.autoconf").install(package)
os.rm(package:installdir("share", "doc"))
end)
on_test(function (package)
os.vrun("bison -h")
if not package:is_cross() then
os.vrun("bison -h")
end
end)

@ -7,7 +7,7 @@ package("blah")
add_versions("2023.01.03", "a0cccca457cfb91213fae6e4e994d1c181c358fe")
add_deps("cmake")
add_deps("libsdl >=2.26")
add_deps("libsdl2 >=2.26")
if is_plat("macosx") then
add_frameworks("ForceFeedback", "CoreVideo", "CoreGraphics", "CoreFoundation", "Foundation", "AppKit", "IOKit")
@ -21,13 +21,13 @@ package("blah")
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
io.replace("CMakeLists.txt", "if (NOT DEFINED BLAH_SDL2_LIBS)", "IF(FALSE)", {plain = true})
import("package.tools.cmake").build(package, configs, {buildir = "build", packagedeps = "libsdl"})
import("package.tools.cmake").build(package, configs, {buildir = "build", packagedeps = "libsdl2"})
os.cp("include", package:installdir())
os.trycp("build/*.a", package:installdir("lib"))
os.trycp("build/*.so", package:installdir("lib"))
os.trycp("build/*.dylib", package:installdir("lib"))
os.trycp("build/*/*.lib", package:installdir("lib"))
os.trycp("build/*/*.dll", package:installdir("bin"))
os.trycp("build/**.lib", package:installdir("lib"))
os.trycp("build/**.dll", package:installdir("bin"))
end)
on_test(function (package)

@ -6,6 +6,7 @@ package("blake3")
add_urls("https://github.com/BLAKE3-team/BLAKE3/archive/refs/tags/$(version).tar.gz",
"https://github.com/BLAKE3-team/BLAKE3.git")
add_versions("1.5.5", "6feba0750efc1a99a79fb9a495e2628b5cd1603e15f56a06b1d6cb13ac55c618")
add_versions("1.5.4", "ddd24f26a31d23373e63d9be2e723263ac46c8b6d49902ab08024b573fd2a416")
add_versions("1.5.3", "ec9114480857334858e73b727199c573bfdbed6138a83be573f076d37e671fc1")
add_versions("1.5.2", "1bc38cd3cc501458054c3bb473e5e00338d6175121424040079025ea305ddef3")

@ -4,6 +4,15 @@ package("bluez")
set_license("GPL-2.0-or-later")
add_urls("https://git.kernel.org/pub/scm/bluetooth/bluez.git")
add_versions("5.79", "0845b8f6ef2ac004b1c953cf4fe4ca3458cd8e36")
add_versions("5.78", "e8575b6196ab8d457342c2d332bd402f2bedd9f7")
add_versions("5.77", "68864d1aa818aca00d67f7a4d6078344483e9509")
add_versions("5.76", "f6241a10e460ab14fa3e2b943460673df0ded603")
add_versions("5.75", "249216dce21f97d92144f0f72cc8b97f25203184")
add_versions("5.74", "f1a7ab0ef75b9e11f04a028b50d4172a4b5f8601")
add_versions("5.73", "19f8fcdc2084048bebe5bd9ea4fb97f7ece16df0")
add_versions("5.72", "770ad5614e7e8074133e6f563495ce4822f63fe4")
add_versions("5.71", "04ecf635ffaa2f7f8bca89cec3a0fbdbeb016dc9")
add_versions("5.70", "c56970cbea3b5482a586b7570e79a28e7d84d295")
add_versions("5.69", "bbe41152d4c1c3fd608f3d933dba445a790a5331")
add_versions("5.68", "d764f78f27653bc1df71c462e9aca7a18bc75f9f")

@ -0,0 +1,269 @@
import("core.tool.toolchain")
import("core.base.option")
function _get_compiler(package, toolchain)
local cxx = package:build_getenv("cxx")
if package:is_plat("macosx") then
-- we uses ld/clang++ for link stdc++ for shared libraries
-- and we need `xcrun -sdk macosx clang++` to make b2 to get `-isysroot` automatically
local cc = package:build_getenv("ld")
if cc and cc:find("clang", 1, true) and cc:find("Xcode", 1, true) then
cc = "xcrun -sdk macosx clang++"
end
return format("using darwin : : %s ;", cc)
elseif package:is_plat("windows") then
local vs_toolset = toolchain:config("vs_toolset")
local msvc_ver = ""
local win_toolset = "msvc"
if toolchain:name() == "clang-cl" then
win_toolset = "clang-win"
cxx = cxx:gsub("(clang%-cl)$", "%1.exe", 1)
msvc_ver = ""
elseif vs_toolset then
local i = vs_toolset:find("%.")
msvc_ver = i and vs_toolset:sub(1, i + 1)
end
-- Specifying a version will disable b2 from forcing tools
-- from the latest installed msvc version.
return format("using %s : %s : \"%s\" ;", win_toolset, msvc_ver, cxx:gsub("\\", "\\\\"))
else
cxx = cxx:gsub("gcc$", "g++")
cxx = cxx:gsub("gcc%-", "g++-")
cxx = cxx:gsub("clang$", "clang++")
cxx = cxx:gsub("clang%-", "clang++-")
if cxx and cxx:find("clang", 1, true) then
return format("using clang : : \"%s\" ;", cxx:gsub("\\", "/"))
else
return format("using gcc : : \"%s\" ;", cxx:gsub("\\", "/"))
end
end
end
function _config_deppath(package, file, depname, rule)
local dep = package:dep(depname)
local info = dep:fetch({external = false})
if info then
local includedirs = table.wrap(info.sysincludedirs or info.includedirs)
for i, dir in ipairs(includedirs) do
includedirs[i] = path.unix(dir)
end
local linkdirs = table.wrap(info.linkdirs)
for i, dir in ipairs(linkdirs) do
linkdirs[i] = path.unix(dir)
end
local links = table.wrap(info.links)
local usingstr = format("\nusing %s : %s : <include>%s <search>%s <name>%s ;",
rule, dep:version(),
table.concat(includedirs, ";"),
table.concat(linkdirs, ";"),
table.concat(links, ";"))
file:write(usingstr)
end
end
function main(package)
import("libs", {rootdir = package:scriptdir()})
-- get host toolchain
local host_toolchain
if package:is_plat("windows") then
host_toolchain = toolchain.load("msvc", {plat = "windows", arch = os.arch()})
if not host_toolchain:check() then
host_toolchain = toolchain.load("clang-cl", {plat = "windows", arch = os.arch()})
end
assert(host_toolchain:check(), "host msvc or clang-cl not found!")
end
-- force boost to compile with the desired compiler
local file = io.open("user-config.jam", "w")
if file then
file:write(_get_compiler(package, host_toolchain))
file:close()
end
local bootstrap_argv =
{
"--prefix=" .. package:installdir(),
"--libdir=" .. package:installdir("lib"),
"--without-icu"
}
if package:has_tool("cxx", "clang", "clangxx") then
table.insert(bootstrap_argv, "--with-toolset=clang")
end
if package:is_plat("windows") then
-- for bootstrap.bat, all other arguments are useless
bootstrap_argv = { "msvc" }
os.vrunv("bootstrap.bat", bootstrap_argv, {envs = host_toolchain:runenvs()})
elseif package:is_plat("mingw") and is_host("windows") then
bootstrap_argv = { "gcc" }
os.vrunv("bootstrap.bat", bootstrap_argv)
-- todo looking for better solution to fix the confict between user-config.jam and project-config.jam
io.replace("project-config.jam", "using[^\n]+", "")
else
os.vrunv("./bootstrap.sh", bootstrap_argv)
end
-- get build toolchain
local build_toolchain
local build_toolset
local runenvs
if package:is_plat("windows") then
if package:has_tool("cxx", "clang_cl") then
build_toolset = "clang-win"
build_toolchain = package:toolchain("clang-cl")
elseif package:has_tool("cxx", "clang") then
build_toolset = "clang-win"
build_toolchain = package:toolchain("clang") or package:toolchain("llvm")
elseif package:has_tool("cxx", "cl") then
build_toolset = "msvc"
build_toolchain = package:toolchain("msvc")
end
if build_toolchain then
runenvs = build_toolchain:runenvs()
end
end
local file = io.open("user-config.jam", "w")
if file then
file:write(_get_compiler(package, build_toolchain))
if package:config("lzma") then
_config_deppath(package, file, "xz", "lzma")
end
if package:config("zstd") then
_config_deppath(package, file, "zstd", "zstd")
end
if package:config("zlib") then
_config_deppath(package, file, "zlib", "zlib")
end
if package:config("bzip2") then
_config_deppath(package, file, "bzip2", "bzip2")
end
file:close()
end
os.vrun("./b2 headers")
local njobs = option.get("jobs") or tostring(os.default_njob())
local argv =
{
"--prefix=" .. package:installdir(),
"--libdir=" .. package:installdir("lib"),
"-d2",
"-j" .. njobs,
"--hash",
"-q", -- quit on first error
"--layout=tagged-1.66", -- prevent -x64 suffix in case cmake can't find it
"--user-config=user-config.jam",
"install",
"threading=" .. (package:config("multi") and "multi" or "single"),
"debug-symbols=" .. (package:debug() and "on" or "off"),
"link=" .. (package:config("shared") and "shared" or "static"),
"variant=" .. (package:is_debug() and "debug" or "release"),
"runtime-debugging=" .. (package:is_debug() and "on" or "off")
}
local cxxflags = {}
if package:config("lzma") then
if package:is_plat("windows") and not package:dep("xz"):config("shared") then
table.insert(cxxflags, "-DLZMA_API_STATIC")
end
else
table.insert(argv, "-sNO_LZMA=1")
end
if not package:config("zstd") then
table.insert(argv, "-sNO_ZSTD=1")
end
if not package:config("zlib") then
table.insert(argv, "-sNO_ZLIB=1")
end
if not package:config("bzip2") then
table.insert(argv, "-sNO_BZIP2=1")
end
if package:config("lto") then
table.insert(argv, "lto=on")
end
if package:is_arch("aarch64", "arm+.*") then
table.insert(argv, "architecture=arm")
end
if package:is_arch(".+64.*") then
table.insert(argv, "address-model=64")
else
table.insert(argv, "address-model=32")
end
local linkflags = {}
table.join2(cxxflags, table.wrap(package:config("cxflags")))
table.join2(cxxflags, table.wrap(package:config("cxxflags")))
if package:is_plat("windows") then
if package:config("shared") then
table.insert(argv, "runtime-link=shared")
elseif package:has_runtime("MT", "MTd") then
table.insert(argv, "runtime-link=static")
else
table.insert(argv, "runtime-link=shared")
end
table.insert(argv, "toolset=" .. build_toolset)
table.insert(cxxflags, "-std:c++14")
elseif package:is_plat("mingw") then
table.insert(argv, "toolset=gcc")
elseif package:is_plat("macosx") then
table.insert(argv, "toolset=darwin")
-- fix macosx arm64 build issue https://github.com/microsoft/vcpkg/pull/18529
table.insert(cxxflags, "-std=c++14")
table.insert(cxxflags, "-arch")
table.insert(cxxflags, package:arch())
local xcode = package:toolchain("xcode") or import("core.tool.toolchain").load("xcode", {plat = package:plat(), arch = package:arch()})
if xcode:check() then
local xcode_dir = xcode:config("xcode")
local xcode_sdkver = xcode:config("xcode_sdkver")
local target_minver = xcode:config("target_minver")
if xcode_dir and xcode_sdkver then
local xcode_sdkdir = xcode_dir .. "/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX" .. xcode_sdkver .. ".sdk"
table.insert(cxxflags, "-isysroot")
table.insert(cxxflags, xcode_sdkdir)
end
if target_minver then
table.insert(cxxflags, "-mmacosx-version-min=" .. target_minver)
end
end
else
table.insert(cxxflags, "-std=c++14")
if package:config("pic") ~= false then
table.insert(cxxflags, "-fPIC")
end
end
if package.has_runtime and package:has_runtime("c++_shared", "c++_static") then
table.insert(cxxflags, "-stdlib=libc++")
table.insert(linkflags, "-stdlib=libc++")
if package:has_runtime("c++_static") then
table.insert(linkflags, "-static-libstdc++")
end
end
if package:config("asan") then
table.insert(cxxflags, "-fsanitize=address")
table.insert(linkflags, "-fsanitize=address")
end
if cxxflags then
table.insert(argv, "cxxflags=" .. table.concat(cxxflags, " "))
end
if linkflags then
table.insert(argv, "linkflags=" .. table.concat(linkflags, " "))
end
libs.for_each(function (libname)
if package:config("all") or package:config(libname) then
table.insert(argv, "--with-" .. libname)
end
end)
if package:is_plat("linux") then
table.insert(argv, "pch=off")
end
local ok = os.execv("./b2", argv, {envs = runenvs, try = true, stdout = "boost-log.txt"})
if ok ~= 0 then
raise("boost build failed, please check log in " .. path.join(os.curdir(), "boost-log.txt"))
end
end

@ -0,0 +1,97 @@
function _get_linkname(package, libname)
local linkname
if package:is_plat("windows") then
linkname = (package:config("shared") and "boost_" or "libboost_") .. libname
else
linkname = "boost_" .. libname
end
if libname == "python" or libname == "numpy" then
linkname = linkname .. package:config("pyver"):gsub("%p+", "")
end
if package:config("multi") then
linkname = linkname .. "-mt"
end
if package:is_plat("windows") then
if package:config("shared") then
if package:debug() then
linkname = linkname .. "-gd"
end
elseif package:config("asan") or package:has_runtime("MTd") then
linkname = linkname .. "-sgd"
elseif package:has_runtime("MT") then
linkname = linkname .. "-s"
elseif package:config("asan") or package:has_runtime("MDd") then
linkname = linkname .. "-gd"
end
else
if package:debug() then
linkname = linkname .. "-d"
end
end
return linkname
end
function main(package)
import("libs", {rootdir = package:scriptdir()})
-- we need the fixed link order
local headeronly = not package:config("all")
local sublibs = {log = {"log_setup", "log"},
python = {"python", "numpy"},
stacktrace = {"stacktrace_backtrace", "stacktrace_basic"}}
libs.for_each(function (libname)
if package:config(libname) then
headeronly = false
end
local libs = sublibs[libname]
if libs then
for _, lib in ipairs(libs) do
package:add("links", _get_linkname(package, lib))
end
else
package:add("links", _get_linkname(package, libname))
end
end)
if headeronly then
package:set("kind", "library", {headeronly = true})
end
-- disable auto-link all libs
if package:is_plat("windows") then
package:add("defines", "BOOST_ALL_NO_LIB")
if package:config("shared") then
package:add("defines", "BOOST_ALL_DYN_LINK")
end
end
if package:config("python") then
if not package:config("shared") then
package:add("defines", "BOOST_PYTHON_STATIC_LIB")
end
package:add("deps", "python " .. package:config("pyver") .. ".x", {configs = {headeronly = true}})
end
if package:config("zstd") then
package:add("deps", "zstd")
end
if package:config("lzma") then
package:add("deps", "xz")
end
if package:config("zlib") then
package:add("deps", "zlib")
end
if package:config("bzip2") then
package:add("deps", "bzip2")
end
if package:is_plat("windows") and package:version():le("1.85.0") then
local vs_toolset = package:toolchain("msvc"):config("vs_toolset")
if vs_toolset then
local vs_toolset_ver = import("core.base.semver").new(vs_toolset)
local minor = vs_toolset_ver:minor()
if minor and minor >= 40 then
package:add("patches", "<=1.85.0", "patches/1.85.0/fix-v144.patch", "1ba99cb2e2f03a4ba489a32596c62e1310b6c73ba4d19afa8796bcf180c84422")
end
end
end
end

@ -0,0 +1,133 @@
import("core.base.hashset")
import("core.base.option")
function _mangle_link_string(package)
local link = "boost_"
if package:is_plat("windows") and not package:config("shared") then
link = "lib" .. link
end
return link
end
-- Only get package dep version in on_install
function _add_links(package)
local prefix = _mangle_link_string(package)
local sub_libs_map = libs.get_sub_libs(package)
libs.for_each(function (libname)
if not package:config(libname) then
return
end
local sub_libs = sub_libs_map[libname]
if sub_libs then
for _, sub_libname in ipairs(sub_libs) do
package:add("links", prefix .. sub_libname)
end
if libname == "test" then
-- always static
package:add("links", "libboost_test_exec_monitor")
end
else
package:add("links", prefix .. libname)
end
end)
end
function _check_links(package)
local lib_files = {}
local links = hashset.from(table.wrap(package:get("links")))
for _, libfile in ipairs(os.files(package:installdir("lib/*"))) do
local link = path.basename(libfile)
if not links:remove(link) then
table.insert(lib_files, path.filename(libfile))
end
end
links = links:to_array()
if #links ~= 0 then
-- TODO: Remove header only "link" or unsupported platform link
wprint("Missing library files\n" .. table.concat(links, "\n"))
end
if #lib_files ~= 0 then
wprint("Missing links\n" .. table.concat(lib_files, "\n"))
end
end
function _add_iostreams_configs(package, configs)
local iostreams_deps = {"zlib", "bzip2", "lzma", "zstd"}
for _, dep in ipairs(iostreams_deps) do
local config = format("-DBOOST_IOSTREAMS_ENABLE_%s=%s", dep:upper(), (package:config(dep) and "ON" or "OFF"))
table.insert(configs, config)
end
end
function _add_libs_configs(package, configs)
if not package:config("all") then
local header_only_buildable
if package:is_headeronly() then
header_only_buildable = hashset.from(libs.get_header_only_buildable())
end
local exclude_libs = {}
libs.for_each(function (libname)
if header_only_buildable and header_only_buildable:has(libname) then
-- continue
else
if not package:config(libname) then
table.insert(exclude_libs, libname)
end
end
end)
table.insert(configs, "-DBOOST_EXCLUDE_LIBRARIES=" .. table.concat(exclude_libs, ";"))
end
table.insert(configs, "-DBOOST_ENABLE_PYTHON=" .. (package:config("python") and "ON" or "OFF"))
table.insert(configs, "-DBOOST_ENABLE_MPI=" .. (package:config("mpi") and "ON" or "OFF"))
if package:config("locale") then
table.insert(configs, "-DCMAKE_CXX_STANDARD=17")
end
_add_iostreams_configs(package, configs)
local openssl = package:dep("openssl")
if openssl and not openssl:is_system() then
table.insert(configs, "-DOPENSSL_ROOT_DIR=" .. openssl:installdir())
end
end
function _add_opt(package, opt)
opt.cxflags = {}
local lzma = package:dep("xz")
if lzma and not lzma:config("shared") then
table.insert(opt.cxflags, "-DLZMA_API_STATIC")
end
if package:has_tool("cxx", "cl") then
table.insert(opt.cxflags, "/EHsc")
end
end
function main(package)
import("libs", {rootdir = package:scriptdir()})
local configs = {"-DBOOST_INSTALL_LAYOUT=system"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
_add_libs_configs(package, configs)
if option.get("verbose") then
table.insert(configs, "-DBoost_DEBUG=ON")
end
local opt = {}
_add_opt(package, opt)
import("package.tools.cmake").install(package, configs, opt)
_add_links(package)
if option.get("verbose") then
_check_links(package)
end
end

@ -0,0 +1,112 @@
function _add_defines(package)
if package:is_plat("windows") then
package:add("defines", "BOOST_ALL_NO_LIB")
end
if package:config("shared") then
package:add("defines", "BOOST_ALL_DYN_LINK")
end
end
function _recursion_enabled_dep_configs(package, libname, deps, visited_table)
if package:config(libname) and not visited_table[libname] then
visited_table[libname] = true
for _, dep_libname in ipairs(deps) do
package:config_set(dep_libname, true)
_recursion_enabled_dep_configs(package, dep_libname, libs.get_lib_deps()[dep_libname], visited_table)
end
end
end
function _auto_enabled_dep_configs(package)
-- workaround
if package:config("locale") then
package:config_set("regex", true)
end
if package:config("python") then
package:config_set("thread", true)
end
local visited_table = {}
libs.for_each_lib_deps(function (libname, deps)
_recursion_enabled_dep_configs(package, libname, deps, visited_table)
end)
end
function _add_iostreams_deps(package)
if package:config("zlib") then
package:add("deps", "zlib")
end
if package:config("bzip2") then
package:add("deps", "bzip2")
end
if package:config("lzma") then
package:add("deps", "xz")
end
if package:config("zstd") then
package:add("deps", "zstd")
package:add("deps", (is_subhost("windows") and "pkgconf") or "pkg-config")
package:add("patches", ">=1.86.0", "patches/1.86.0/find-zstd.patch", "7a90f2cbf01fc26bc8a98d58468c20627974f30e45bdd4a00c52644b60af1ef6")
end
end
function _add_deps(package)
if package:config("regex") and package:config("icu") then
package:add("deps", "icu4c")
end
if package:config("locale") then
package:add("deps", "libiconv")
if package:config("icu") then
package:add("deps", "icu4c")
end
end
if package:config("python") then
package:add("deps", "python", {configs = {headeronly = true}})
end
if package:config("openssl") then
package:add("deps", "openssl >=1.1.1-a") -- same as python on_load
end
if package:config("iostreams") then
_add_iostreams_deps(package)
end
end
function _add_header_only_configs(package)
libs.for_each(function (libname)
package:config_set(libname, false)
end)
-- TODO: find cmake option to install header only library
-- libs.for_each_header_only_buildable_lib(function (libname)
-- package:config_set(libname, true)
-- end)
end
function main(package)
import("libs", {rootdir = package:scriptdir()})
if package:config("header_only") then
package:set("kind", "library", {headeronly = true})
_add_header_only_configs(package)
else
if package:config("all") then
package:config_set("openssl", true) -- mysql/redis require
libs.for_each(function (libname)
package:config_set(libname, true)
end)
else
_auto_enabled_dep_configs(package)
end
end
if package:config("mpi") then
-- TODO: add mpi to xrepo
package:config_set("mpi", false)
wprint("package(boost) Unsupported mpi config")
end
_add_deps(package)
_add_defines(package)
end

@ -0,0 +1,85 @@
import("lib.detect.find_library")
import("lib.detect.find_tool")
import("core.base.semver")
function _get_python_libs()
local opt = {version = true}
local result = find_tool("python3", opt)
if not result then
result = find_tool("python", opt)
end
local libs = {}
local version = result and result.version
if version then
local py_ver = semver.new(version)
py_ver = py_ver:major() .. py_ver:minor()
table.insert(libs, "python" .. py_ver)
table.insert(libs, "numpy" .. py_ver)
end
return libs
end
function _add_info(linkinfo, result)
table.insert(result.linkdirs, linkinfo.linkdir)
if linkinfo.filename then
local filepath = path.join(linkinfo.linkdir, linkinfo.filename)
if os.isfile(filepath) then
table.insert(result.libfiles, filepath)
end
end
table.insert(result.links, linkinfo.link)
end
function main(package, opt)
if opt.system then
import("libs", {rootdir = package:scriptdir()})
local paths = {
"/usr/lib",
"/usr/lib64",
"/usr/local/lib",
"/usr/lib/x86_64-linux-gnu",
}
local result = {
libfiles = {},
linkdirs = {},
links = {},
}
local opt = {
plat = package:plat(),
kind = package:config("shared") and "shared" or "static",
}
local sub_libs_map = libs.get_sub_libs(package)
sub_libs_map.python = _get_python_libs()
table.insert(sub_libs_map.test, "test_exec_monitor")
local found
libs.for_each(function (libname)
local sub_libs = sub_libs_map[libname]
if sub_libs then
for _, sub_libname in ipairs(sub_libs) do
local linkinfo = find_library("boost_" .. sub_libname, paths, opt)
if linkinfo then
_add_info(linkinfo, result)
found = true
end
end
else
local linkinfo = find_library("boost_" .. libname, paths, opt)
if linkinfo then
_add_info(linkinfo, result)
found = true
end
end
end)
if found then
result.linkdirs = table.unique(result.linkdirs)
return result
end
end
end

@ -0,0 +1,228 @@
local sorted_libs = {
"asio",
"wave",
"url",
"type_erasure",
"timer",
"test",
"stacktrace",
"program_options",
"process",
"nowide",
"log",
"locale",
"json",
"iostreams",
"graph_parallel",
"mpi",
"python",
"graph",
"serialization",
"regex",
"math",
"random",
"fiber",
"filesystem",
"coroutine",
"contract",
"thread",
"date_time",
"exception",
"cobalt",
"context",
"container",
"chrono",
"system",
"charconv",
"atomic"
}
local libs_dep = {
asio = {
"date_time",
},
json = {
"container",
"system"
},
python = {
"graph"
},
test = {
"exception"
},
type_erasure = {
"thread"
},
thread = {
"atomic",
"chrono",
"container",
"date_time",
"exception",
"system"
},
fiber = {
"context",
"filesystem"
},
chrono = {
"system"
},
charconv = { },
contract = {
"exception",
"thread"
},
timer = { },
wave = {
"filesystem",
"serialization"
},
stacktrace = { },
coroutine = {
"context",
"exception",
"system"
},
math = {
"random"
},
exception = { },
filesystem = {
"atomic",
"system"
},
date_time = {
"container",
"exception",
"regex"
},
atomic = { },
url = {
"system"
},
serialization = { },
process = {
"filesystem",
"system"
},
regex = { },
container = { },
random = {
"system"
},
nowide = {
"filesystem"
},
program_options = { },
system = { },
cobalt = {
"container",
"context",
"system"
},
graph = {
"math",
"random",
"regex",
"serialization"
},
context = { },
mpi = {
"graph",
"python",
"serialization"
},
log = {
"atomic",
"date_time",
"exception",
"filesystem",
"random",
"regex",
"system",
"thread"
},
iostreams = {
"random",
"regex"
},
locale = {
"thread"
},
graph_parallel = {
"filesystem",
"graph",
"mpi",
"random",
"serialization"
}
}
local header_only_buildable = {
"graph_parallel",
"system",
"exception",
"regex",
"math",
}
function get_libs()
return sorted_libs
end
function get_lib_deps()
return libs_dep
end
function get_header_only_buildable()
return header_only_buildable
end
function for_each(lambda)
for _, libname in ipairs(get_libs()) do
lambda(libname)
end
end
function for_each_header_only_buildable_lib(lambda)
for _, libname in ipairs(get_header_only_buildable()) do
lambda(libname)
end
end
function for_each_lib_deps(lambda)
for libname, deps in pairs(get_lib_deps()) do
lambda(libname, deps)
end
end
function get_sub_libs(package)
local sub_libs_map = {
test = {"prg_exec_monitor", "unit_test_framework"},
serialization = {"wserialization", "serialization"},
fiber = {"fiber", "fiber_numa"},
log = {"log", "log_setup"},
stacktrace = {
"stacktrace_noop",
"stacktrace_backtrace",
"stacktrace_addr2line",
"stacktrace_basic",
"stacktrace_windbg",
"stacktrace_windbg_cached",
},
}
if package:config("python") then
local py_ver = assert(package:dep("python"):version(), "Can't get python version")
py_ver = py_ver:major() .. py_ver:minor()
-- TODO: detect numpy
sub_libs_map["python"] = {
"python" .. py_ver,
"numpy" .. py_ver,
}
end
return sub_libs_map
end

@ -0,0 +1,19 @@
diff --git a/libs/iostreams/CMakeLists.txt b/libs/iostreams/CMakeLists.txt
index 1d8352f..01b612c 100644
--- a/libs/iostreams/CMakeLists.txt
+++ b/libs/iostreams/CMakeLists.txt
@@ -27,7 +27,13 @@ function(boost_iostreams_option name description package version found target) #
if(${name})
- find_package(${package} ${version} REQUIRED)
+ if("${package}" STREQUAL "zstd")
+ include(FindPkgConfig)
+ pkg_search_module("libzstd" REQUIRED IMPORTED_TARGET "libzstd")
+ set(target "PkgConfig::libzstd")
+ else()
+ find_package(${package} ${version} REQUIRED)
+ endif()
target_sources(boost_iostreams PRIVATE ${ARGN})
target_link_libraries(boost_iostreams PRIVATE ${target})

@ -0,0 +1,125 @@
function _iostreams(package, snippets)
if not package:config("iostreams") then
return
end
if package:config("zstd") then
table.insert(snippets,
[[
#include <boost/iostreams/filter/zstd.hpp>
#include <boost/iostreams/filtering_stream.hpp>
#if defined(BOOST_NO_EXCEPTIONS)
namespace boost { BOOST_NORETURN inline void throw_exception(std::exception const & e) {} }
#endif
void test() {
boost::iostreams::filtering_ostream out;
out.push(boost::iostreams::zstd_compressor());
}
]]
)
end
if package:config("lzma") then
table.insert(snippets,
[[
#include <boost/iostreams/filter/lzma.hpp>
#include <boost/iostreams/filtering_stream.hpp>
#if defined(BOOST_NO_EXCEPTIONS)
namespace boost { BOOST_NORETURN inline void throw_exception(std::exception const & e) {} }
#endif
void test() {
boost::iostreams::filtering_ostream out;
out.push(boost::iostreams::lzma_compressor());
}
]]
)
end
end
function _filesystem(package, snippets)
if package:config("filesystem") then
table.insert(snippets,
[[
#include <boost/filesystem.hpp>
#include <iostream>
#if defined(BOOST_NO_EXCEPTIONS)
namespace boost { BOOST_NORETURN inline void throw_exception(std::exception const & e) {} }
#endif
void test() {
boost::filesystem::path path("/path/to/directory");
if (boost::filesystem::exists(path)) {
std::cout << "Directory exists" << std::endl;
} else {
std::cout << "Directory does not exist" << std::endl;
}
}
]]
)
end
end
function _date_time(package, snippets)
if package:config("date_time") then
table.insert(snippets,
[[
#include <boost/date_time/gregorian/gregorian.hpp>
#if defined(BOOST_NO_EXCEPTIONS)
namespace boost { BOOST_NORETURN inline void throw_exception(std::exception const & e) {} }
#endif
void test() {
boost::gregorian::date d(2010, 1, 30);
}
]]
)
end
end
function _header_only(package, snippets)
table.insert(snippets,
[[
#include <boost/algorithm/string.hpp>
#include <string>
#include <vector>
#if defined(BOOST_NO_EXCEPTIONS)
namespace boost { BOOST_NORETURN inline void throw_exception(std::exception const & e) {} }
#endif
void test() {
std::string str("a,b");
std::vector<std::string> vec;
boost::algorithm::split(vec, str, boost::algorithm::is_any_of(","));
}
]]
)
table.insert(snippets,
[[
#include <boost/unordered_map.hpp>
#if defined(BOOST_NO_EXCEPTIONS)
namespace boost { BOOST_NORETURN inline void throw_exception(std::exception const & e) {} }
#endif
void test() {
boost::unordered_map<std::string, int> map;
map["2"] = 2;
}
]]
)
end
function main(package)
local snippets = {}
if package:config("header_only") then
_header_only(package, snippets)
else
if not package:config("cmake") then
_header_only(package, snippets)
end
_iostreams(package, snippets)
_filesystem(package, snippets)
_date_time(package, snippets)
end
local opt = {configs = {languages = "c++14"}}
for _, snippet in ipairs(snippets) do
assert(package:check_cxxsnippets({test = snippet}, opt))
end
end

@ -3,18 +3,26 @@ package("boost")
set_description("Collection of portable C++ source libraries.")
set_license("BSL-1.0")
-- xrepo does not support `package:config("cmake")` in on_source to set the download url, so if you want to build with cmake, we need to `add_urls` cmake archive url at first line.
-- Users can also download the cmake archive and put it in `xmake g --pkg_searchdirs=` to avoid xrepo using a non-cmake archive url.
add_urls("https://github.com/boostorg/boost/releases/download/boost-$(version)/boost-$(version)-cmake.tar.gz", {alias = "cmake"})
add_urls("https://github.com/boostorg/boost/releases/download/boost-$(version)/boost-$(version)-b2-nodocs.tar.gz")
add_urls("https://github.com/boostorg/boost/releases/download/boost-$(version)/boost-$(version).tar.gz")
add_urls("https://github.com/xmake-mirror/boost/releases/download/boost-$(version).tar.bz2", {alias = "mirror", version = function (version)
return version .. "/boost_" .. (version:gsub("%.", "_"))
end})
add_versions("cmake:1.87.0", "78fbf579e3caf0f47517d3fb4d9301852c3154bfecdc5eeebd9b2b0292366f5b")
add_versions("cmake:1.86.0", "c62ce6e64d34414864fef946363db91cea89c1b90360eabed0515f0eda74c75c")
add_versions("1.87.0", "d6c69e4459eb5d6ec208250291221e7ff4a2affde9af6e49c9303b89c687461f")
add_versions("1.86.0", "2128a4c96862b5c0970c1e34d76b1d57e4a1016b80df85ad39667f30b1deba26")
add_versions("1.85.0", "f4a7d3f81b8a0f65067b769ea84135fd7b72896f4f59c7f405086c8c0dc61434")
add_versions("1.84.0", "4d27e9efed0f6f152dc28db6430b9d3dfb40c0345da7342eaa5a987dde57bd95")
add_versions("1.83.0", "0c6049764e80aa32754acd7d4f179fd5551d8172a83b71532ae093e7384e98da")
add_versions("1.82.0", "b62bd839ea6c28265af9a1f68393eda37fab3611425d3b28882d8e424535ec9d")
add_versions("1.81.0", "121da556b718fd7bd700b5f2e734f8004f1cfa78b7d30145471c526ba75a151c")
add_versions("mirror:1.80.0", "1e19565d82e43bc59209a168f5ac899d3ba471d55c7610c677d4ccf2c9c500c0")
add_versions("mirror:1.79.0", "475d589d51a7f8b3ba2ba4eda022b170e562ca3b760ee922c146b6c65856ef39")
add_versions("mirror:1.78.0", "8681f175d4bdb26c52222665793eef08490d7758529330f98d3b29dd0735bccc")
@ -26,6 +34,26 @@ package("boost")
add_versions("mirror:1.72.0", "59c9b274bc451cf91a9ba1dd2c7fdcaf5d60b1b3aa83f2c9fa143417cc660722")
add_versions("mirror:1.70.0", "430ae8354789de4fd19ee52f3b1f739e1fba576f0aded0897c3c2bc00fb38778")
add_patches("1.75.0", "patches/1.75.0/warning.patch", "43ff97d338c78b5c3596877eed1adc39d59a000cf651d0bcc678cf6cd6d4ae2e")
includes(path.join(os.scriptdir(), "libs.lua"))
for _, libname in ipairs(get_libs()) do
add_configs(libname, {description = "Enable " .. libname .. " library.", default = (libname == "filesystem"), type = "boolean"})
end
add_configs("zlib", {description = "Enable zlib for iostreams", default = false, type = "boolean"})
add_configs("bzip2", {description = "Enable bzip2 for iostreams", default = false, type = "boolean"})
add_configs("lzma", {description = "Enable lzma for iostreams", default = false, type = "boolean"})
add_configs("zstd", {description = "Enable zstd for iostreams", default = false, type = "boolean"})
add_configs("openssl", {description = "Enable openssl for mysql/redis", default = false, type = "boolean"})
add_configs("icu", {description = "Enable icu for regex/locale", default = false, type = "boolean"})
add_configs("cmake", {description = "Use cmake build system (>= 1.86)", default = true, type = "boolean"})
add_configs("all", {description = "Enable all library modules support.", default = false, type = "boolean"})
add_configs("header_only", {description = "Enable header only modules", default = false, type = "boolean"})
add_configs("pyver", {description = "python version x.y, etc. 3.10 (only for b2)", default = "3.10"})
add_configs("multi", {description = "Enable multi-thread support (only for b2)", default = true, type = "boolean"})
if is_plat("mingw") and is_subhost("msys") then
add_extsources("pacman::boost")
elseif is_plat("linux") then
@ -34,476 +62,53 @@ package("boost")
add_extsources("brew::boost")
end
add_patches("1.75.0", path.join(os.scriptdir(), "patches", "1.75.0", "warning.patch"), "43ff97d338c78b5c3596877eed1adc39d59a000cf651d0bcc678cf6cd6d4ae2e")
if is_plat("linux") then
add_deps("bzip2", "zlib")
if is_plat("linux", "bsd") then
add_syslinks("pthread", "dl")
elseif is_plat("windows", "mingw") then
add_syslinks("ntdll", "shell32", "advapi32", "user32", "ws2_32")
end
add_configs("pyver", {description = "python version x.y, etc. 3.10", default = "3.10"})
local libnames = {"atomic",
"charconv",
"chrono",
"cobalt",
"container",
"context",
"contract",
"coroutine",
"date_time",
"exception",
"fiber",
"filesystem",
"graph",
"graph_parallel",
"headers",
"iostreams",
"json",
"locale",
"log",
"math",
"mpi",
"nowide",
"program_options",
"python",
"random",
"regex",
"serialization",
"stacktrace",
"system",
"test",
"thread",
"timer",
"type_erasure",
"url",
"wave"}
add_configs("all", { description = "Enable all library modules support.", default = false, type = "boolean"})
add_configs("multi", { description = "Enable multi-thread support.", default = true, type = "boolean"})
for _, libname in ipairs(libnames) do
add_configs(libname, { description = "Enable " .. libname .. " library.", default = (libname == "filesystem"), type = "boolean"})
end
add_configs("zstd", {description = "enable zstd for iostreams", default = false, type = "boolean"})
add_configs("lzma", {description = "enable lzma for iostreams", default = false, type = "boolean"})
add_configs("zlib", {description = "enable zlib for iostreams", default = false, type = "boolean"})
add_configs("bzip2", {description = "enable bzip2 for iostreams", default = false, type = "boolean"})
on_load(function (package)
local function get_linkname(package, libname)
local linkname
if package:is_plat("windows") then
linkname = (package:config("shared") and "boost_" or "libboost_") .. libname
else
linkname = "boost_" .. libname
end
if libname == "python" or libname == "numpy" then
linkname = linkname .. package:config("pyver"):gsub("%p+", "")
end
if package:config("multi") then
linkname = linkname .. "-mt"
end
if package:is_plat("windows") then
if package:config("shared") then
if package:debug() then
linkname = linkname .. "-gd"
end
elseif package:config("asan") or package:has_runtime("MTd") then
linkname = linkname .. "-sgd"
elseif package:has_runtime("MT") then
linkname = linkname .. "-s"
elseif package:config("asan") or package:has_runtime("MDd") then
linkname = linkname .. "-gd"
end
else
if package:debug() then
linkname = linkname .. "-d"
end
end
return linkname
end
on_fetch("fetch")
-- we need the fixed link order
local sublibs = {log = {"log_setup", "log"},
python = {"python", "numpy"},
stacktrace = {"stacktrace_backtrace", "stacktrace_basic"}}
for _, libname in ipairs(libnames) do
local libs = sublibs[libname]
if libs then
for _, lib in ipairs(libs) do
package:add("links", get_linkname(package, lib))
if on_check then
on_check(function (package)
if not package:is_plat("macosx", "linux", "windows", "bsd", "mingw", "cross") then
if not package:config("cmake") then
raise("package(boost/b2) unsupported current platform.")
end
else
package:add("links", get_linkname(package, libname))
end
end
-- disable auto-link all libs
if package:is_plat("windows") then
package:add("defines", "BOOST_ALL_NO_LIB")
end
if package:config("python") then
if not package:config("shared") then
package:add("defines", "BOOST_PYTHON_STATIC_LIB")
end
package:add("deps", "python " .. package:config("pyver") .. ".x", {configs = {headeronly = true}})
end
if package:config("zstd") then
package:add("deps", "zstd")
end
if package:config("lzma") then
package:add("deps", "xz")
end
if package:config("zlib") then
package:add("deps", "zlib")
end
if package:config("bzip2") then
package:add("deps", "bzip2")
end
if package:is_plat("windows") and package:version():le("1.85.0") then
local vs_toolset = package:toolchain("msvc"):config("vs_toolset")
if vs_toolset then
local vs_toolset_ver = import("core.base.semver").new(vs_toolset)
local minor = vs_toolset_ver:minor()
if minor and minor >= 40 then
package:add("patches", "<=1.85.0", "patches/1.85.0/fix-v144.patch", "1ba99cb2e2f03a4ba489a32596c62e1310b6c73ba4d19afa8796bcf180c84422")
end
end
end
end)
on_install("macosx", "linux", "windows", "bsd", "mingw", "cross", function (package)
import("core.base.option")
local function get_compiler(package, toolchain)
local cxx = package:build_getenv("cxx")
if package:is_plat("macosx") then
-- we uses ld/clang++ for link stdc++ for shared libraries
-- and we need `xcrun -sdk macosx clang++` to make b2 to get `-isysroot` automatically
local cc = package:build_getenv("ld")
if cc and cc:find("clang", 1, true) and cc:find("Xcode", 1, true) then
cc = "xcrun -sdk macosx clang++"
end
return format("using darwin : : %s ;", cc)
elseif package:is_plat("windows") then
local vs_toolset = toolchain:config("vs_toolset")
local msvc_ver = ""
local win_toolset = "msvc"
if toolchain:name() == "clang-cl" then
win_toolset = "clang-win"
cxx = cxx:gsub("(clang%-cl)$", "%1.exe", 1)
msvc_ver = ""
elseif vs_toolset then
local i = vs_toolset:find("%.")
msvc_ver = i and vs_toolset:sub(1, i + 1)
end
-- Specifying a version will disable b2 from forcing tools
-- from the latest installed msvc version.
return format("using %s : %s : \"%s\" ;", win_toolset, msvc_ver, cxx:gsub("\\", "\\\\"))
else
cxx = cxx:gsub("gcc$", "g++")
cxx = cxx:gsub("gcc%-", "g++-")
cxx = cxx:gsub("clang$", "clang++")
cxx = cxx:gsub("clang%-", "clang++-")
if cxx and cxx:find("clang", 1, true) then
return format("using clang : : \"%s\" ;", cxx:gsub("\\", "/"))
else
return format("using gcc : : \"%s\" ;", cxx:gsub("\\", "/"))
end
end
end
-- get host toolchain
import("core.tool.toolchain")
local host_toolchain
if package:is_plat("windows") then
host_toolchain = toolchain.load("msvc", {plat = "windows", arch = os.arch()})
if not host_toolchain:check() then
host_toolchain = toolchain.load("clang-cl", {plat = "windows", arch = os.arch()})
end
assert(host_toolchain:check(), "host msvc or clang-cl not found!")
end
end)
end
-- force boost to compile with the desired compiler
local file = io.open("user-config.jam", "w")
if file then
file:write(get_compiler(package, host_toolchain))
file:close()
on_load(function (package)
local version = package:version()
if package:config("cmake") and version:lt("1.86") then
-- Don't break old version
package:config_set("cmake", false)
end
local bootstrap_argv =
{
"--prefix=" .. package:installdir(),
"--libdir=" .. package:installdir("lib"),
"--without-icu"
}
if package:has_tool("cxx", "clang", "clangxx") then
table.insert(bootstrap_argv, "--with-toolset=clang")
end
if package:config("cmake") then
wprint("If cmake build failure, set package config cmake = false fallback to b2 for the build")
if package:is_plat("windows") then
-- for bootstrap.bat, all other arguments are useless
bootstrap_argv = { "msvc" }
os.vrunv("bootstrap.bat", bootstrap_argv, {envs = host_toolchain:runenvs()})
elseif package:is_plat("mingw") and is_host("windows") then
bootstrap_argv = { "gcc" }
os.vrunv("bootstrap.bat", bootstrap_argv)
-- todo looking for better solution to fix the confict between user-config.jam and project-config.jam
io.replace("project-config.jam", "using[^\n]+", "")
package:add("deps", "cmake")
import("cmake.load")(package)
else
os.vrunv("./bootstrap.sh", bootstrap_argv)
end
-- get build toolchain
local build_toolchain
local build_toolset
local runenvs
if package:is_plat("windows") then
if package:has_tool("cxx", "clang_cl") then
build_toolset = "clang-win"
build_toolchain = package:toolchain("clang-cl")
elseif package:has_tool("cxx", "clang") then
build_toolset = "clang-win"
build_toolchain = package:toolchain("clang") or package:toolchain("llvm")
elseif package:has_tool("cxx", "cl") then
build_toolset = "msvc"
build_toolchain = package:toolchain("msvc")
end
if build_toolchain then
runenvs = build_toolchain:runenvs()
if package:is_plat("linux") then
package:add("deps", "bzip2", "zlib")
end
import("b2.load")(package)
end
end)
local function config_deppath(file, depname, rule)
local dep = package:dep(depname)
local info = dep:fetch({external = false})
if info then
local includedirs = table.wrap(info.sysincludedirs or info.includedirs)
for i, dir in ipairs(includedirs) do
includedirs[i] = path.unix(dir)
end
local linkdirs = table.wrap(info.linkdirs)
for i, dir in ipairs(linkdirs) do
linkdirs[i] = path.unix(dir)
end
local links = table.wrap(info.links)
local usingstr = format("\nusing %s : %s : <include>%s <search>%s <name>%s ;",
rule, dep:version(),
table.concat(includedirs, ";"),
table.concat(linkdirs, ";"),
table.concat(links, ";"))
file:write(usingstr)
end
end
local file = io.open("user-config.jam", "w")
if file then
file:write(get_compiler(package, build_toolchain))
if package:config("lzma") then
config_deppath(file, "xz", "lzma")
end
if package:config("zstd") then
config_deppath(file, "zstd", "zstd")
end
if package:config("zlib") then
config_deppath(file, "zlib", "zlib")
end
if package:config("bzip2") then
config_deppath(file, "bzip2", "bzip2")
end
file:close()
end
os.vrun("./b2 headers")
local njobs = option.get("jobs") or tostring(os.default_njob())
local argv =
{
"--prefix=" .. package:installdir(),
"--libdir=" .. package:installdir("lib"),
"-d2",
"-j" .. njobs,
"--hash",
"-q", -- quit on first error
"--layout=tagged-1.66", -- prevent -x64 suffix in case cmake can't find it
"--user-config=user-config.jam",
"install",
"threading=" .. (package:config("multi") and "multi" or "single"),
"debug-symbols=" .. (package:debug() and "on" or "off"),
"link=" .. (package:config("shared") and "shared" or "static"),
"variant=" .. (package:is_debug() and "debug" or "release"),
"runtime-debugging=" .. (package:is_debug() and "on" or "off")
}
local cxxflags = {}
if package:config("lzma") then
if package:is_plat("windows") and not package:dep("xz"):config("shared") then
table.insert(cxxflags, "-DLZMA_API_STATIC")
end
else
table.insert(argv, "-sNO_LZMA=1")
end
if not package:config("zstd") then
table.insert(argv, "-sNO_ZSTD=1")
end
if not package:config("zlib") then
table.insert(argv, "-sNO_ZLIB=1")
end
if not package:config("bzip2") then
table.insert(argv, "-sNO_BZIP2=1")
end
if package:config("lto") then
table.insert(argv, "lto=on")
end
if package:is_arch("aarch64", "arm+.*") then
table.insert(argv, "architecture=arm")
end
if package:is_arch(".+64.*") then
table.insert(argv, "address-model=64")
else
table.insert(argv, "address-model=32")
end
local linkflags = {}
table.join2(cxxflags, table.wrap(package:config("cxflags")))
table.join2(cxxflags, table.wrap(package:config("cxxflags")))
if package:is_plat("windows") then
if package:config("shared") then
table.insert(argv, "runtime-link=shared")
elseif package:has_runtime("MT", "MTd") then
table.insert(argv, "runtime-link=static")
else
table.insert(argv, "runtime-link=shared")
end
table.insert(argv, "toolset=" .. build_toolset)
table.insert(cxxflags, "-std:c++14")
elseif package:is_plat("mingw") then
table.insert(argv, "toolset=gcc")
elseif package:is_plat("macosx") then
table.insert(argv, "toolset=darwin")
-- fix macosx arm64 build issue https://github.com/microsoft/vcpkg/pull/18529
table.insert(cxxflags, "-std=c++14")
table.insert(cxxflags, "-arch")
table.insert(cxxflags, package:arch())
local xcode = package:toolchain("xcode") or import("core.tool.toolchain").load("xcode", {plat = package:plat(), arch = package:arch()})
if xcode:check() then
local xcode_dir = xcode:config("xcode")
local xcode_sdkver = xcode:config("xcode_sdkver")
local target_minver = xcode:config("target_minver")
if xcode_dir and xcode_sdkver then
local xcode_sdkdir = xcode_dir .. "/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX" .. xcode_sdkver .. ".sdk"
table.insert(cxxflags, "-isysroot")
table.insert(cxxflags, xcode_sdkdir)
end
if target_minver then
table.insert(cxxflags, "-mmacosx-version-min=" .. target_minver)
end
end
on_install(function (package)
if package:config("cmake") then
assert(os.isfile("CMakeLists.txt"), "Currently the source archive only has the b2 build system, you need to download the cmake archive and put it in `xmake g --pkg_searchdirs=` to avoid xrepo using a non-cmake archive url.")
import("cmake.install")(package)
else
table.insert(cxxflags, "-std=c++14")
if package:config("pic") ~= false then
table.insert(cxxflags, "-fPIC")
end
end
if package.has_runtime and package:has_runtime("c++_shared", "c++_static") then
table.insert(cxxflags, "-stdlib=libc++")
table.insert(linkflags, "-stdlib=libc++")
if package:has_runtime("c++_static") then
table.insert(linkflags, "-static-libstdc++")
end
end
if package:config("asan") then
table.insert(cxxflags, "-fsanitize=address")
table.insert(linkflags, "-fsanitize=address")
end
if cxxflags then
table.insert(argv, "cxxflags=" .. table.concat(cxxflags, " "))
end
if linkflags then
table.insert(argv, "linkflags=" .. table.concat(linkflags, " "))
end
for _, libname in ipairs(libnames) do
if package:config("all") or package:config(libname) then
table.insert(argv, "--with-" .. libname)
end
end
if package:is_plat("linux") then
table.insert(argv, "pch=off")
end
local ok = os.execv("./b2", argv, {envs = runenvs, try = true, stdout = "boost-log.txt"})
if ok ~= 0 then
raise("boost build failed, please check log in " .. path.join(os.curdir(), "boost-log.txt"))
import("b2.install")(package)
end
end)
on_test(function (package)
assert(package:check_cxxsnippets({test = [[
#include <boost/algorithm/string.hpp>
#include <string>
#include <vector>
static void test() {
std::string str("a,b");
std::vector<std::string> vec;
boost::algorithm::split(vec, str, boost::algorithm::is_any_of(","));
}
]]}, {configs = {languages = "c++14"}}))
assert(package:check_cxxsnippets({test = [[
#include <boost/unordered_map.hpp>
static void test() {
boost::unordered_map<std::string, int> map;
map["2"] = 2;
}
]]}, {configs = {languages = "c++14"}}))
if package:config("date_time") then
assert(package:check_cxxsnippets({test = [[
#include <boost/date_time/gregorian/gregorian.hpp>
static void test() {
boost::gregorian::date d(2010, 1, 30);
}
]]}, {configs = {languages = "c++14"}}))
end
if package:config("filesystem") then
assert(package:check_cxxsnippets({test = [[
#include <boost/filesystem.hpp>
#include <iostream>
static void test() {
boost::filesystem::path path("/path/to/directory");
if (boost::filesystem::exists(path)) {
std::cout << "Directory exists" << std::endl;
} else {
std::cout << "Directory does not exist" << std::endl;
}
}
]]}, {configs = {languages = "c++14"}}))
end
if package:config("iostreams") then
if package:config("zstd") then
assert(package:check_cxxsnippets({test = [[
#include <boost/iostreams/filter/zstd.hpp>
#include <boost/iostreams/filtering_stream.hpp>
static void test() {
boost::iostreams::filtering_ostream out;
out.push(boost::iostreams::zstd_compressor());
}
]]}, {configs = {languages = "c++14"}}))
end
if package:config("lzma") then
assert(package:check_cxxsnippets({test = [[
#include <boost/iostreams/filter/lzma.hpp>
#include <boost/iostreams/filtering_stream.hpp>
static void test() {
boost::iostreams::filtering_ostream out;
out.push(boost::iostreams::lzma_compressor());
}
]]}, {configs = {languages = "c++14"}}))
end
end
import("test")(package)
end)

@ -6,6 +6,8 @@ package("boost_ut")
add_urls("https://github.com/boost-ext/ut/archive/refs/tags/$(version).tar.gz")
add_urls("https://github.com/boost-ext/ut.git")
add_versions("v2.3.0", "9c07a2b7947cc169fc1713ad462ccc43a704076447893a1fd25bdda5eec4aab6")
add_versions("v2.1.1", "016ac5ece1808cd1100be72f90da4fa59ea41de487587a3283c6c981381cc216")
add_versions("v2.1.0", "1c9c35c039ad3a9795a278447db6da0a4ec1a1d223bf7d64687ad28f673b7ae8")
add_versions("v1.1.9", "1a666513157905aa0e53a13fac602b5673dcafb04a869100a85cd3f000c2ed0d")
add_versions("v2.0.1", "1e43be17045a881c95cedc843d72fe9c1e53239b02ed179c1e39e041ebcd7dad")

@ -0,0 +1,30 @@
-- Boost Root build
add_rules("mode.debug", "mode.release")
set_languages("c++17")
target("filesystem")
set_kind("static")
add_files("libs/filesystem/src/*.cpp|windows_file_codecvt.cpp")
add_defines("BOOST_FILESYSTEM_NO_CXX20_ATOMIC_REF")
add_defines("BOOST_FILESYSTEM_STATIC_LINK=1", {public = true})
for _, dir in ipairs(os.dirs("libs/*")) do
add_includedirs(path.join(dir, "include"), {public = true})
end
if is_plat("windows", "mingw", "msys2") then
add_files("libs/filesystem/src/*.cpp")
add_defines("BOOST_USE_WINDOWS_H", "WIN32_LEAN_AND_MEAN", "NOMINMAX")
add_syslinks("bcrypt")
if is_plat("windows") then
add_defines("BOOST_ALL_NO_LIB", {public = true})
end
end
target("boostdep")
set_kind("binary")
add_files("tools/boostdep/src/*.cpp")
add_deps("filesystem")

@ -0,0 +1,31 @@
package("boostdep")
set_kind("binary")
set_homepage("https://boost.org/tools/boostdep")
set_description("A tool to create Boost module dependency reports")
set_license("BSL-1.0")
add_urls("https://github.com/boostorg/boostdep.git")
add_versions("2024.10.07", "289f2a16286e62348676f2abb75c0bd9968f156b")
add_deps("boost", {configs = {filesystem = true}})
on_install(function (package)
io.writefile("xmake.lua", [[
add_rules("mode.debug", "mode.release")
add_requires("boost", {configs = {filesystem = true}})
add_packages("boost")
set_languages("c++17")
target("boostdep")
set_kind("binary")
add_files("src/*.cpp")
]])
import("package.tools.xmake").install(package)
end)
on_test(function (package)
local boostdep = package:installdir("bin/boostdep")
if is_host("windows") then
boostdep = boostdep .. ".exe"
end
assert(os.isexec(boostdep), "boostdep not found!")
end)

@ -0,0 +1,28 @@
diff --git a/src/build-data/ninja.in b/src/build-data/ninja.in
index 414663a..b983a95 100644
--- a/src/build-data/ninja.in
+++ b/src/build-data/ninja.in
@@ -59,7 +59,7 @@ default all
rule link_static
rspfile = %{response_file_dir}/static.txt
rspfile_content = $in
- command = %{ar_command} %{ar_options} %{ar_output_to}$out @%{response_file_dir}/static.txt
+ command = xargs %{ar_command} %{ar_options} %{ar_output_to}$out < %{response_file_dir}/static.txt
build %{out_dir}/%{static_lib_name}: link_static %{join lib_objs}
@@ -86,12 +86,12 @@ build %{out_dir}/%{soname_patch}: symlink %{out_dir}/%{shared_lib_name}
rule link_cli
rspfile = %{response_file_dir}/cli_${cli_name}.txt
rspfile_content = $in
- command = ${EXE_LINK_CMD} ${ABI_FLAGS} @%{response_file_dir}/cli_${cli_name}.txt ${BUILD_DIR_LINK_PATH} ${LANG_EXE_FLAGS} ${LDFLAGS} ${EXE_LINKS_TO} %{output_to_exe}$out
+ command = xargs ${EXE_LINK_CMD} ${ABI_FLAGS} ${BUILD_DIR_LINK_PATH} ${LANG_EXE_FLAGS} ${LDFLAGS} ${EXE_LINKS_TO} %{output_to_exe}$out < %{response_file_dir}/cli_${cli_name}.txt
rule link_tests
rspfile = %{response_file_dir}/tests.txt
rspfile_content = $in
- command = ${EXE_LINK_CMD} ${ABI_FLAGS} @%{response_file_dir}/tests.txt ${BUILD_DIR_LINK_PATH} ${LANG_EXE_FLAGS} ${LDFLAGS} %{test_exe_extra_ldflags} ${EXE_LINKS_TO} %{output_to_exe}$out
+ command = xargs ${EXE_LINK_CMD} ${ABI_FLAGS} ${BUILD_DIR_LINK_PATH} ${LANG_EXE_FLAGS} ${LDFLAGS} %{test_exe_extra_ldflags} ${EXE_LINKS_TO} %{output_to_exe}$out < %{response_file_dir}/tests.txt
# Executable targets

@ -0,0 +1,159 @@
From 4f0218bcc0e311e37dd191329a6757bddb2ea97b Mon Sep 17 00:00:00 2001
From: Jack Lloyd <jack@randombit.net>
Date: Sun, 1 Dec 2024 13:51:19 -0500
Subject: [PATCH] Don't implicitly/always pass CXXFLAGS into LDFLAGS
This was done to handle LTO (#4196 #4200) but causes problems especially for
MSVC which in some (unclear) circumstances treats unknown flags to the linker as
a hard error (#4451). Instead only pass CXXFLAGS into LDFLAGS when an extra
option `--lto-cxxflags-to-ldflags` is provided to opt into this behavior.
---
configure.py | 76 +++++++++++++++++++-------------------
src/build-data/makefile.in | 2 +-
src/build-data/ninja.in | 2 +-
3 files changed, 41 insertions(+), 39 deletions(-)
diff --git a/configure.py b/configure.py
index 8d8d85d56c9..35c78bc10f7 100755
--- a/configure.py
+++ b/configure.py
@@ -379,6 +379,9 @@ def add_enable_disable_pair(group, what, default, msg=optparse.SUPPRESS_HELP):
target_group.add_option('--extra-cxxflags', metavar='FLAGS', default=[], action='append',
help='set extra compiler flags')
+ target_group.add_option('--lto-cxxflags-to-ldflags', default=False, action='store_true',
+ help='set all compilation flags also during linking (for LTO)')
+
target_group.add_option('--ldflags', metavar='FLAGS',
help='set linker flags', default=None)
@@ -1515,48 +1518,50 @@ def cc_lang_flags(self):
def cc_lang_binary_linker_flags(self):
return self.lang_binary_linker_flags
- def cc_compile_flags(self, options, with_debug_info=None, enable_optimizations=None):
- def gen_flags(with_debug_info, enable_optimizations):
+ def ldflags(self, options):
+ if options.ldflags:
+ yield options.ldflags
+
+ if options.lto_cxxflags_to_ldflags:
+ yield from self.cc_compile_flags(options)
- sanitizers_enabled = options.with_sanitizers or (len(options.enable_sanitizers) > 0)
+ def cc_compile_flags(self, options):
+ sanitizers_enabled = options.with_sanitizers or (len(options.enable_sanitizers) > 0)
- if with_debug_info is None:
- with_debug_info = options.with_debug_info
- if enable_optimizations is None:
- enable_optimizations = not options.no_optimizations
+ if options.cxxflags:
+ # CXXFLAGS is assumed to be the entire set of desired compilation flags
+ # if not the case the user should have used --extra-cxxflags
+ yield options.cxxflags
+ return
- if with_debug_info:
- yield self.debug_info_flags
+ if options.with_debug_info:
+ yield self.debug_info_flags
- if enable_optimizations:
- if options.optimize_for_size:
- if self.size_optimization_flags != '':
- yield self.size_optimization_flags
- else:
- logging.warning("No size optimization flags set for current compiler")
- yield self.optimization_flags
- elif sanitizers_enabled and self.sanitizer_optimization_flags != '':
- yield self.sanitizer_optimization_flags
+ if not options.no_optimizations:
+ if options.optimize_for_size:
+ if self.size_optimization_flags != '':
+ yield self.size_optimization_flags
else:
+ logging.warning("No size optimization flags set for current compiler")
yield self.optimization_flags
+ elif sanitizers_enabled and self.sanitizer_optimization_flags != '':
+ yield self.sanitizer_optimization_flags
+ else:
+ yield self.optimization_flags
- if options.arch in self.cpu_flags:
- yield self.cpu_flags[options.arch]
-
- if options.arch in self.cpu_flags_no_debug:
-
- # Only enable these if no debug/sanitizer options enabled
-
- if not (options.debug_mode or sanitizers_enabled):
- yield self.cpu_flags_no_debug[options.arch]
+ if options.arch in self.cpu_flags:
+ yield self.cpu_flags[options.arch]
- for flag in options.extra_cxxflags:
- yield flag
+ if options.arch in self.cpu_flags_no_debug:
+ # Only enable these if no debug/sanitizer options enabled
+ if not (options.debug_mode or sanitizers_enabled):
+ yield self.cpu_flags_no_debug[options.arch]
- for definition in options.define_build_macro:
- yield self.add_compile_definition_option + definition
+ for flag in options.extra_cxxflags:
+ yield flag
- return (' '.join(gen_flags(with_debug_info, enable_optimizations))).strip()
+ for definition in options.define_build_macro:
+ yield self.add_compile_definition_option + definition
@staticmethod
def _so_link_search(osname, debug_info):
@@ -2264,9 +2269,6 @@ def test_exe_extra_ldflags():
'sanitizer_types' : sorted(cc.sanitizer_types),
- 'cc_compile_opt_flags': cc.cc_compile_flags(options, False, True),
- 'cc_compile_debug_flags': cc.cc_compile_flags(options, True, False),
-
'dash_o': cc.output_to_object,
'dash_c': cc.compile_flags,
@@ -2274,8 +2276,8 @@ def test_exe_extra_ldflags():
'cc_lang_binary_linker_flags': cc.cc_lang_binary_linker_flags(),
'os_feature_macros': osinfo.macros(cc),
'cc_sysroot': sysroot_option(),
- 'cc_compile_flags': options.cxxflags or cc.cc_compile_flags(options),
- 'ldflags': options.ldflags or '',
+ 'cc_compile_flags': ' '.join(cc.cc_compile_flags(options)).strip(),
+ 'ldflags': ' '.join(cc.ldflags(options)).strip(),
'test_exe_extra_ldflags': test_exe_extra_ldflags(),
'extra_libs': extra_libs(options.extra_libs, cc),
'cc_warning_flags': cc.cc_warning_flags(options),
diff --git a/src/build-data/makefile.in b/src/build-data/makefile.in
index e59085667bb..9b3ac587477 100644
--- a/src/build-data/makefile.in
+++ b/src/build-data/makefile.in
@@ -16,7 +16,7 @@ LANG_EXE_FLAGS = %{cc_lang_binary_linker_flags}
CXXFLAGS = %{cc_compile_flags}
WARN_FLAGS = %{cc_warning_flags}
LIB_FLAGS = %{lib_flags}
-LDFLAGS = %{ldflags} %{cc_compile_flags}
+LDFLAGS = %{ldflags}
EXE_LINK_CMD = %{exe_link_cmd}
diff --git a/src/build-data/ninja.in b/src/build-data/ninja.in
index a6279d3dea2..414663acfeb 100644
--- a/src/build-data/ninja.in
+++ b/src/build-data/ninja.in
@@ -10,7 +10,7 @@ LANG_EXE_FLAGS = %{cc_lang_binary_linker_flags}
CXXFLAGS = %{cc_compile_flags}
WARN_FLAGS = %{cc_warning_flags}
-LDFLAGS = %{ldflags} %{cc_compile_flags}
+LDFLAGS = %{ldflags}
EXE_LINK_CMD = %{exe_link_cmd}

@ -6,15 +6,22 @@ package("botan")
set_urls("https://github.com/randombit/botan/archive/refs/tags/$(version).tar.gz",
"https://github.com/randombit/botan.git")
add_versions("3.7.1", "8d2a072c7cdca6cadd16f89bb966fce1b3ec77cb4614bf1d87dec1337a3d2330")
add_versions("3.7.0", "ebd1b965ed2afa12dfaf47650187142cbe870b99528185c88ca7c0ac19307c6c")
add_versions("3.6.1", "a6c4e8dcb6c7f4b9b67e2c8b43069d65b548970ca17847e3b1e031d3ffdd874a")
add_versions("3.6.0", "950199a891fab62dca78780b36e12f89031c37350b2a16a2c35f2e423c041bad")
add_versions("3.5.0", "7d91d3349e6029e1a6929a50ab587f9fd4e29a9af3f3d698553451365564001f")
add_versions("3.4.0", "6ef2a16a0527b1cfc9648a644877f7b95c4d07e8ef237273b030c623418c5e5b")
-- Backport MSVC flags regression after 3.5.0 (fixed in 3.7.0: https://github.com/randombit/botan/pull/4452)
add_patches(">=3.6.0 <3.7.0", "patches/3.6.0/msvc-compiler-flags.patch", "fc41a662f34a5fa52b232b25a396f595984698dc0029e4aa75423c8c4782028c")
add_configs("tools", {description = "Build tools.", default = false, type = "boolean"})
add_configs("python", {description = "Enable python module", default = false, type = "boolean"})
add_configs("endian", {description = [[The parameter should be either “little” or “big”. If not used then if the target architecture has a default, that is used. Otherwise left unspecified, which causes less optimal codepaths to be used but will work on either little or big endian.]], default = nil, type = "string", values = {"little", "big"}})
add_configs("modules", {description = [[Enable modules, example: {configs = {modules = {"zlib", "lzma"}}}]], type = "table"})
if is_plat("wasm") then
add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true})
if is_plat("wasm") then
add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true})
end
add_deps("python 3.x", "ninja", {kind = "binary"})
@ -69,6 +76,11 @@ package("botan")
end
end
end
if not package:is_plat("windows") then
-- Patch to support versions of ar that don't support response files (which are first used in 3.6.0)
package:add("patches", ">=3.6.0", "patches/3.6.0/ar-response-files.patch", "864443a77921d9da970cebe5b413e8ee18c60205011364b7bb422a65193ecb5f")
end
end)
on_install("windows", "linux", "macosx|native", "bsd", "mingw@windows", "msys", "wasm", function (package)
@ -136,7 +148,11 @@ package("botan")
-- let configure.py detech bsd host name
table.insert(configs, "--os=" .. package:plat())
end
table.insert(configs, "--cpu=" .. package:arch())
local arch = package:arch()
if arch == "arm64-v8a" then
arch = "arm64"
end
table.insert(configs, "--cpu=" .. arch)
end
if package:is_debug() then
@ -149,9 +165,16 @@ package("botan")
end
table.insert(configs, "--build-targets=" .. targets)
-- necessary functions were moved to a separate module in 3.7.0
local modules = package:config("modules")
local needs_os_utils = package:version():ge("3.7.0")
if modules then
if needs_os_utils and not table.contains(modules, "os_utils") then
table.insert(modules, "os_utils")
end
table.insert(configs, "--enable-modules=" .. table.concat(modules, ","))
elseif needs_os_utils then
table.insert(configs, "--enable-modules=os_utils")
end
if not package:config("python") then

@ -1,27 +1,38 @@
package("box2d")
set_homepage("https://box2d.org")
set_description("A 2D Physics Engine for Games")
set_license("MIT")
set_urls("https://github.com/erincatto/box2d/archive/v$(version).zip")
add_versions("2.4.0", "6aebbc54c93e367c97e382a57ba12546731dcde51526964c2ab97dec2050f8b9")
add_versions("2.4.1", "0cb512dfa5be79ca227cd881b279adee61249c85c8b51caf5aa036b71e943002")
add_versions("2.4.2", "593f165015fdd07ea521a851105f1c86ae313c5af0a15968ed95f864417fa8a7")
if is_arch("x64", "x86_64", "arm64.*") then
add_versions("3.0.0", "c2983a30a95037c46c19e42f398de6bc375d6ae87f30e0d0bbabb059ec60f8c0")
end
set_urls("https://github.com/erincatto/box2d/archive/refs/tags/$(version).tar.gz",
"https://github.com/erincatto/box2d.git")
add_versions("v3.0.0", "64ad759006cd2377c99367f51fb36942b57f0e9ad690ed41548dd620e6f6c8b1")
add_versions("v2.4.2", "85b9b104d256c985e6e244b4227d447897fac429071cc114e5cc819dae848852")
if is_arch("x64", "x86_64") then
add_configs("avx2", {description = "Enable AVX2.", default = false, type = "boolean"})
add_configs("avx2", {description = "Enable AVX2.", default = false, type = "boolean"})
if is_plat("linux", "bsd") then
add_syslinks("pthread")
end
add_deps("cmake")
if on_check then
on_check("windows", function (package)
if package:version():ge("3.0.0") then
assert(not package:is_arch("arm64.*"), "package(box2d =>3.0.0) Unsupported architecture.")
on_check(function (package)
if package:gitref() or package:version():ge("3.0.0") then
if package:check_sizeof("void*") == "4" then
raise("package(box2d >=3.0.0) unsupported 32-bit")
end
if package:is_plat("windows") then
assert(not package:is_arch("arm64.*"), "package(box2d/arm >=3.0.0) Unsupported architecture.")
end
if package:is_plat("android") then
local ndk = package:toolchain("ndk")
local ndk_sdkver = ndk:config("ndk_sdkver")
assert(ndk_sdkver and tonumber(ndk_sdkver) >= 28, "package(box2d >=3.0.0) requires ndk api level >= 28")
end
local configs = {languages = "c11"}
if package:has_tool("cc", "cl") then
@ -33,37 +44,45 @@ package("box2d")
end)
end
on_install("windows", "linux", "macosx", "mingw", function (package)
local configs = {}
if package:version():ge("3.0.0") then
table.insert(configs, "--compile-no-warning-as-error")
table.insert(configs, "-DBOX2D_SANITIZE=OFF")
table.insert(configs, "-DBOX2D_SAMPLES=OFF")
table.insert(configs, "-DBOX2D_BENCHMARKS=OFF")
table.insert(configs, "-DBOX2D_DOCS=OFF")
table.insert(configs, "-DBOX2D_PROFILE=OFF")
table.insert(configs, "-DBOX2D_VALIDATE=OFF")
table.insert(configs, "-DBOX2D_UNIT_TESTS=OFF")
table.insert(configs, "-DBOX2D_AVX2=" .. (package:config("avx2") and "ON" or "OFF"))
else
table.insert(configs, "-DBOX2D_BUILD_UNIT_TESTS=OFF")
table.insert(configs, "-DBOX2D_BUILD_TESTBED=OFF")
table.insert(configs, "-DBOX2D_BUILD_DOCS=OFF")
on_install("!bsd", function (package)
if package:config("shared") then
package:add("defines", "B2_SHARED")
end
if package:is_plat("windows") and package:is_debug() then
package:add("defines", "B2_ENABLE_ASSERT")
end
io.replace("CMakeLists.txt", [[set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")]], "", {plain = true})
local configs = {
"-DBOX2D_BUILD_UNIT_TESTS=OFF",
"-DBOX2D_BUILD_TESTBED=OFF",
"-DBOX2D_SAMPLES=OFF",
"-DBOX2D_UNIT_TESTS=OFF",
"-DBOX2D_VALIDATE=OFF",
"--compile-no-warning-as-error",
}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DBOX2D_SANITIZE=" .. (package:config("asan") and "ON" or "OFF"))
table.insert(configs, "-DBOX2D_AVX2=" .. (package:config("avx2") and "ON" or "OFF"))
os.mkdir(path.join(package:buildir(), "src/pdb"))
import("package.tools.cmake").install(package, configs)
if package:gitref() or package:version():ge("3.0.0") then
os.cp("include", package:installdir())
end
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
import("package.tools.cmake").build(package, configs, {buildir = "build"})
if package:is_plat("windows") then
os.trycp(path.join("build", "src", "*", "*.lib"), package:installdir("lib"))
os.trycp(path.join("build", "bin", "*", "*.lib"), package:installdir("lib"))
if package:config("shared") then
os.trycp(path.join(package:buildir(), "bin/box2d.pdb"), package:installdir("bin"))
else
os.trycp("build/src/*.a", package:installdir("lib"))
os.trycp("build/bin/*.a", package:installdir("lib"))
os.trycp(path.join(package:buildir(), "bin/box2d.pdb"), package:installdir("lib"))
end
os.cp("include", package:installdir())
end)
on_test(function (package)
if package:version():ge("3.0.0") then
if package:gitref() or package:version():ge("3.0.0") then
assert(package:check_csnippets({test = [[
void test(int argc, char** argv) {
b2WorldDef worldDef = b2DefaultWorldDef();

@ -0,0 +1,32 @@
package("boxfort")
set_homepage("https://github.com/Snaipe/BoxFort")
set_description("Convenient & cross-platform sandboxing C library")
set_license("MIT")
add_urls("https://github.com/Snaipe/BoxFort.git")
add_versions("2024.05.02", "1018a44e63b57e9ffc3b8b68b6c8a8aa8f342d2a")
add_configs("arena_reopen_shm", {description = "Reopen shared memory file in worker process rather than just inherit a file descriptor", default = false, type = "boolean"})
add_configs("arena_file_backed", {description = "Use a file in tempfs to store the arena rather than using shm facilities", default = false, type = "boolean"})
if is_plat("linux") then
add_syslinks("rt", "m")
end
add_deps("meson", "ninja")
on_install("windows|!arm64", "linux", "macosx", "bsd", "mingw", "msys", "cross", function (package)
if not package:config("shared") then
package:add("defines", "BXF_STATIC_LIB")
end
local configs = {"-Dsamples=false", "-Dtests=false"}
table.insert(configs, "-Ddefault_library=" .. (package:config("shared") and "shared" or "static"))
table.insert(configs, "-Darena_reopen_shm=" .. (package:config("arena_reopen_shm") and "true" or "false"))
table.insert(configs, "-Darena_reopen_shm=" .. (package:config("arena_reopen_shm") and "true" or "false"))
import("package.tools.meson").install(package, configs)
end)
on_test(function (package)
assert(package:has_cfuncs("bxf_arena_init", {includes = "boxfort.h"}))
end)

@ -0,0 +1,85 @@
package("bqlog")
set_homepage("https://github.com/Tencent/BqLog")
set_description("Maybe the world's fastest logging library, originating from the client of the top mobile game Honor of Kings, is lightweight, works on PC, mobile, and servers, supports C#, Java, and C++, and is well adapted to Unity and Unreal engines.")
add_urls("https://github.com/Tencent/BqLog/archive/refs/tags/Release_$(version).tar.gz",
"https://github.com/Tencent/BqLog.git")
add_versions("1.4.4", "c32a8eae1f935a0dfc2d67e93b0d6cad6a0c551d65e72b10713da304ab33ee11")
if is_plat("windows", "mingw") then
add_syslinks("shell32")
elseif is_plat("linux") then
add_syslinks("pthread")
elseif is_plat("bsd") then
add_syslinks("pthread", "execinfo")
elseif is_plat("android") then
add_syslinks("log", "android")
elseif is_plat("iphoneos") then
add_frameworks("Security", "UIKit")
end
add_deps("cmake")
if on_check then
on_check("windows", function (package)
local vs_toolset = package:toolchain("msvc"):config("vs_toolset")
if vs_toolset then
local vs_toolset_ver = import("core.base.semver").new(vs_toolset)
local minor = vs_toolset_ver:minor()
assert(minor and minor >= 30, "package(bqlog) require vs_toolset >= 14.3")
end
end)
end
on_install("windows|x64", "linux", "macosx", "bsd", "android", "iphoneos", function (package)
if package:config("shared") then
package:add("defines", "BQ_DYNAMIC_LIB_IMPORT")
end
local configs = {}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_TYPE=" .. (package:config("shared") and "dynamic_lib" or "static_lib"))
local plat = package:plat()
if package:is_plat("windows", "mingw") then
plat = "win64"
elseif package:is_plat("macosx") then
plat = "mac"
elseif package:is_plat("iphoneos") then
plat = "ios"
elseif not package:is_plat("android", "linux") then
plat = "unix"
end
table.insert(configs, "-DTARGET_PLATFORM=" .. plat)
io.writefile("CMakeLists.txt", [[
cmake_minimum_required(VERSION 3.22)
add_subdirectory(src)
include(GNUInstallDirs)
install(TARGETS BqLog
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
]])
io.replace("src/CMakeLists.txt", "/WX", "", {plain = true})
io.replace("src/CMakeLists.txt", "-Werror", "", {plain = true})
io.replace("src/CMakeLists.txt", [[set_xcode_property(BqLog GCC_GENERATE_DEBUGGING_SYMBOLS NO "ALL")]],
[[ macro (set_xcode_property TARGET XCODE_PROPERTY XCODE_VALUE)
set_xcode_property(BqLog GCC_GENERATE_DEBUGGING_SYMBOLS NO "ALL")
endmacro (set_xcode_property)
]], {plain = true})
import("package.tools.cmake").install(package, configs)
end)
on_test(function (package)
assert(package:check_cxxsnippets({test = [[
#include <string>
void test() {
std::string config;
auto log = bq::log::create_log("my_first_log", config);
}
]]}, {configs = {languages = "c++17"}, includes = "bq_log/bq_log.h"}))
end)

@ -6,6 +6,7 @@ package("bzip3")
add_urls("https://github.com/kspalaiologos/bzip3/archive/refs/tags/$(version).tar.gz",
"https://github.com/kspalaiologos/bzip3.git")
add_versions("1.5.1", "1116c5984c87c2193f3981b53669c8cbb4ffd1b158de880be3c5ff27a35db400")
add_versions("1.4.0", "d70334c19c7cce2cc6c823566b7d8968ff08a52043d518f55caebd2e407b2233")
add_configs("native", {description = "Enable CPU-specific optimizations", default = false, type = "boolean"})
@ -20,6 +21,10 @@ package("bzip3")
local configs = {"-DBZIP3_BUILD_APPS=OFF"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
if package:config("shared") and package:is_plat("windows") then
table.insert(configs, "-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON")
end
table.insert(configs, "-DBZIP3_ENABLE_ARCH_NATIVE=" .. (package:config("native") and "ON" or "OFF"))
table.insert(configs, "-DBZIP3_ENABLE_PTHREAD=" .. (package:is_plat("linux", "bsd") and "ON" or "OFF"))
import("package.tools.cmake").install(package, configs)

@ -12,6 +12,9 @@ package("c-ares")
end
end})
add_versions("1.34.4", "fa38dbed659ee4cc5a32df5e27deda575fa6852c79a72ba1af85de35a6ae222f")
add_versions("1.34.3", "26e1f7771da23e42a18fdf1e58912a396629e53a2ac71b130af93bbcfb90adbe")
add_versions("1.34.1", "7e846f1742ab5998aced36d170408557de5292b92ec404fb0f7422f946d60103")
add_versions("1.33.1", "06869824094745872fa26efd4c48e622b9bd82a89ef0ce693dc682a23604f415")
add_versions("1.33.0", "3e41df2f172041eb4ecb754a464c11ccc5046b2a1c8b1d6a40dac45d3a3b2346")
add_versions("1.32.3", "5f02cc809aac3f6cc5edc1fac6c4423fd5616d7406ce47b904c24adf0ff2cd0f")

@ -6,6 +6,8 @@ package("c-blosc2")
add_urls("https://github.com/Blosc/c-blosc2/archive/refs/tags/$(version).tar.gz",
"https://github.com/Blosc/c-blosc2.git")
add_versions("v2.16.0", "9c2d4a92b43414239120cedf757cbdfbe1e5d9ba21c8779396c553fc0c883f3a")
add_versions("v2.15.2", "32d0cb011303878bc5307d06625bc6e5fc28e788377873016bc52681e4e9fee9")
add_versions("v2.15.1", "6cf32fcfc615542b9ba35e021635c8ab9fd3d328fd99d5bf04b7eebc80f1fae2")
add_versions("v2.15.0", "1e7d9d099963ad0123ddd76b2b715b5aa1ea4b95c491d3a11508e487ebab7307")
add_versions("v2.14.4", "b5533c79aacc9ac152c80760ed1295a6608938780c3e1eecd7e53ea72ad986b0")

@ -6,6 +6,7 @@ package("c4core")
add_urls("https://github.com/biojppm/c4core/releases/download/v$(version)/c4core-$(version)-src.zip",
"https://github.com/biojppm/c4core.git")
add_versions("0.2.5", "3d87765a612d72182d161f0bea401adf6f0df1c65fba54fb7f0727fa8585d0d2")
add_versions("0.2.2", "5a9508385daa5b2608ed007784d76586af21c5367411efe9ae26d5b4aea03305")
add_versions("0.2.1", "81ff1c0d15e24da6d76fdd1b6fdd903fa23d0df7c82e564f993147a4dac88773")

@ -9,6 +9,7 @@ package("ca-certificates")
add_versions("20220604", "a56ded4677055bbf05d94c32bddd76b22a134cab764e1ed8da8e3c080ca80ca6")
add_versions("20230306", "f9228e16c17b411de9d592e43242b4405568daad029380b2db7e3e4227d5a6a6")
add_versions("20240207", "8f533c3791c6d3249eddb181ae4ff06b20facdefba1f514d9fed03f48ffc4c09")
add_versions("20250131", "d54be45156b2ad034f2ce582f85baefa157ab23142e8c2b75a1379d97cd16186")
on_install(function (package)
os.cp("cacert.pem", package:installdir())

@ -4,16 +4,41 @@ package("capnproto")
set_description("Cap'n Proto serialization/RPC system - core tools and C++ library.")
set_license("MIT")
set_urls("https://github.com/capnproto/capnproto/archive/v$(version).zip")
add_urls("https://github.com/capnproto/capnproto/archive/v$(version).zip")
add_urls("https://github.com/capnproto/capnproto.git")
add_versions("1.1.0", "cefc757d4ee07acb17070b0c5c90bfa106b79468670869052246712bf8781fd9")
add_versions("1.0.2", "3c9afa5dffa4d81a3cbd0581a15a5b1633feaf43093a3b108aded0f636622752")
add_versions("0.9.0", "18cf46aa4e05446a3d34bad8d56f9d0c73e72020a2b7548b6ec7cb7b1a828d5b")
add_versions("0.8.0", "9a5e090b1f3ad39bb47fed5fd03672169493674ce273418b76c868393fced2e4")
add_versions("0.7.0", "1054a879e174b8f797f1b506fedb14ecba5556c656e33ac51bd0a62bd90f925f")
add_links("capnpc", "capnp-json", "capnp", "capnp-websocket", "capnp-rpc")
add_links("kj-gzip", "kj-async", "kj-http", "kj", "kj-test", "kj-tls")
if is_plat("windows") then
add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true})
end
if is_plat("windows", "mingw") then
add_syslinks("ws2_32")
elseif is_plat("linux", "bsd") then
add_syslinks("pthread")
end
add_deps("cmake", "zlib")
-- Add on_check to fail for version greater than 1.0.2 on Windows ARM and MingW
on_check(function (package)
if package:version() >= "1.0.2" then
if package:is_plat("windows") and package:is_arch("arm.*") then
raise("package(capnproto): Unsupported version on Windows ARM. Version 0.9.0 is the latest supported version on Windows ARM.")
end
if package:is_plat("mingw") then
raise("package(capnproto): Unsupported version on MingW. Version 0.9.0 is the latest supported version on MingW.")
end
end
end)
on_install("windows", "mingw@windows,msys", "linux", "macosx", "bsd", function (package)
local configs = {"-DBUILD_TESTING=OFF"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
@ -23,5 +48,10 @@ package("capnproto")
end)
on_test(function (package)
assert(package:has_cxxtypes("capnp::MallocMessageBuilder", {configs = {languages = "c++14"}, includes = "capnp/message.h"}))
assert(package:check_cxxsnippets({test = [[
#include "capnp/message.h"
void test() {
capnp::MallocMessageBuilder message;
}
]]}, {configs = {languages = "c++14"}}))
end)

@ -1,27 +1,43 @@
package("capstone")
set_homepage("http://www.capstone-engine.org")
set_description("Disassembly framework with the target of becoming the ultimate disasm engine for binary analysis and reversing in the security community.")
add_urls("https://github.com/aquynh/capstone/archive/$(version).tar.gz")
set_description("Capstone disassembly/disassembler framework for ARM, ARM64 (ARMv8), Alpha, BPF, Ethereum VM, HPPA, LoongArch, M68K, M680X, Mips, MOS65XX, PPC, RISC-V(rv32G/rv64G), SH, Sparc, SystemZ, TMS320C64X, TriCore, Webassembly, XCore and X86.")
set_license("BSD-3-Clause")
add_urls("https://github.com/capstone-engine/capstone/archive/refs/tags/$(version).tar.gz",
"https://github.com/capstone-engine/capstone.git", {submodules = false})
add_versions("5.0.5", "3bfd3e7085fbf0fab75fb1454067bf734bb0bebe9b670af7ce775192209348e9")
add_versions("5.0.3", "3970c63ca1f8755f2c8e69b41432b710ff634f1b45ee4e5351defec4ec8e1753")
add_versions("4.0.2", "7c81d798022f81e7507f1a60d6817f63aa76e489aa4e7055255f21a22f5e526a")
add_deps("cmake")
on_load(function (package)
package:addenv("PATH", "bin")
end)
on_install("!iphoneos", function (package)
if not package:is_cross() then
package:addenv("PATH", "bin")
end
io.replace("CMakeLists.txt", "include(CPackConfig.txt)", "", {plain = true})
on_install("windows", "linux", "macosx", "iphoneos", "mingw", "android", "msys", "bsd", function (package)
local configs = {"-DCAPSTONE_BUILD_CSTOOL=ON", "-DCAPSTONE_BUILD_TESTS=OFF"}
table.insert(configs, "-DCAPSTONE_BUILD_STATIC=" .. (package:config("shared") and "OFF" or "ON"))
table.insert(configs, "-DCAPSTONE_BUILD_SHARED=" .. (package:config("shared") and "ON" or "OFF"))
io.gsub("CMakeLists.txt", "CAPSTONE_BUILD_SHARED AND CAPSTONE_BUILD_CSTOOL", "CAPSTONE_BUILD_CSTOOL")
local configs = {
"-DCAPSTONE_BUILD_CSTOOL=ON",
"-DCAPSTONE_BUILD_LEGACY_TESTS=OFF",
"-DCAPSTONE_BUILD_TESTS=OFF",
-- xmake will pass CMAKE_MSVC_RUNTIME_LIBRARY
"-DCAPSTONE_BUILD_STATIC_RUNTIME=OFF",
"-DCAPSTONE_BUILD_STATIC_MSVC_RUNTIME=OFF",
}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DCAPSTONE_BUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DBUILD_STATIC_LIBS=" .. (package:config("shared") and "OFF" or "ON"))
table.insert(configs, "-DCAPSTONE_BUILD_STATIC_LIBS=" .. (package:config("shared") and "OFF" or "ON"))
table.insert(configs, "-DENABLE_ASAN=" .. (package:config("asan") and "ON" or "OFF"))
import("package.tools.cmake").install(package, configs)
os.cp("include", package:installdir())
end)
on_test(function (package)
if package:is_plat(os.host()) then
if not package:is_cross() then
os.vrun("cstool -v")
end
assert(package:has_cfuncs("cs_version", {includes = "capstone/capstone.h"}))
end)
end)

@ -5,6 +5,8 @@ package("catch2")
add_urls("https://github.com/catchorg/Catch2/archive/refs/tags/$(version).zip",
"https://github.com/catchorg/Catch2.git")
add_versions("v3.8.0", "bffd2c45a84e5a4b0c17e695798e8d2f65931cbaf5c7556d40388d1d8d04eb83")
add_versions("v3.7.1", "7d771897398704ecb61eae534912e50c4d3ec6129c4d01c174a55c29657970d7")
add_versions("v3.7.0", "75b04c94471a70680f10f5d0d985bd1a96b8941d040d6a7bfd43f6c6b1de9daf")
add_versions("v3.6.0", "aa0ebf551ffbf098ec1e253b5fee234c30b4ee54a31b1be63cb1a7735d3cf391")
add_versions("v3.5.4", "190a236fe0772ac4f5eebfdebfc18f92eeecfd270c55a1e5095ae4f10be2343f")
@ -68,7 +70,7 @@ package("catch2")
end
component:add("links", link)
if package:is_plat("windows") and package:version():le("3.0") then
if package:has_tool("cxx", "cl") then
if package:has_tool("cxx", "cl", "clang-cl") then
component:add("ldflags", "-subsystem:console")
elseif package:has_tool("cxx", "clang", "clangxx") then
component:add("ldflags", "-Wl,/subsystem:console")
@ -80,11 +82,12 @@ package("catch2")
if package:version():ge("3.0") then
if package:is_plat("windows") then
local main_component = package:component("main")
if package:has_tool("cxx", "cl") then
if package:has_tool("cxx", "cl", "clang-cl") then
main_component:add("ldflags", "-subsystem:console")
elseif package:has_tool("cxx", "clang", "clangxx") then
main_component:add("ldflags", "-Wl,/subsystem:console")
end
os.mkdir(path.join(package:buildir(), "src/pdb"))
end
local configs = {"-DCATCH_INSTALL_DOCS=OFF", "-DCATCH_BUILD_TESTING=OFF", "-DCATCH_BUILD_EXAMPLES=OFF"}
@ -97,6 +100,11 @@ package("catch2")
else
os.cp("single_include/catch2", package:installdir("include"))
end
if package:is_plat("windows") and package:is_debug() then
local dir = package:installdir(package:config("shared") and "bin" or "lib")
os.cp(path.join(package:buildir(), "src/*.pdb"), dir)
end
end)
on_test(function (package)

@ -28,8 +28,8 @@ package("centurion")
add_includedirs("include", "include/SDL2")
on_load(function (package)
package:add("deps", "libsdl", { configs = { shared = package:config("shared") } })
package:add("deps", "libsdl2", { configs = { shared = package:config("shared") } })
if not package:config("pragma_once") then
package:add("defines", "CENTURION_NO_PRAGMA_ONCE")
end
@ -38,17 +38,17 @@ package("centurion")
end
if package:config("sdl_image") then
package:add("deps", "libsdl_image", { configs = { shared = package:config("shared") } })
package:add("deps", "libsdl2_image", { configs = { shared = package:config("shared") } })
else
package:add("defines", "CENTURION_NO_SDL_IMAGE")
end
if package:config("sdl_mixer") then
package:add("deps", "libsdl_mixer", { configs = { shared = package:config("shared") } })
package:add("deps", "libsdl2_mixer", { configs = { shared = package:config("shared") } })
else
package:add("defines", "CENTURION_NO_SDL_MIXER")
end
if package:config("sdl_ttf") then
package:add("deps", "libsdl_ttf", { configs = { shared = package:config("shared") } })
package:add("deps", "libsdl2_ttf", { configs = { shared = package:config("shared") } })
else
package:add("defines", "CENTURION_NO_SDL_TTF")
end

@ -5,6 +5,7 @@ package("cgal")
set_license("LGPL-3.0")
add_urls("https://github.com/CGAL/cgal/releases/download/v$(version)/CGAL-$(version)-library.zip")
add_versions("6.0", "f4a66cf4e276a377d263ee3db627919d1000e29bf24664a5d0b8cb82081ef706")
add_versions("5.6.1", "cf3900280d96847db8ac5e174d5e889f9764c7fa4e3d99f316f89910058335e6")
add_versions("5.1.1", "ceca7ea896505941878f6c1fb7a7ae86653fdd9b3d87b276da72227f173a9cd2")
add_versions("5.2.1", "ccdea67db79153417504f50c534cea3bb6b0e9754e7f32fb753fc19005114db0")
@ -13,6 +14,7 @@ package("cgal")
add_versions("5.5.2", "77b17ba5d43fe844c0eca7fb7eff7d5687174b037290c390f1251ef44cc4909b")
add_configs("header_only", {description = "Use header only version.", default = true, type = "boolean"})
add_configs("gmp", {description = "Use gmp/mpfr.", default = is_plat("macosx", "linux"), type = "boolean"})
if is_plat("mingw") and is_subhost("msys") then
add_extsources("pacman::cgal")
@ -24,14 +26,21 @@ package("cgal")
add_deps("cmake")
add_deps("boost", "eigen")
if is_plat("macosx", "linux") then
add_deps("gmp", "mpfr")
end
on_check("windows", "mingw", function (package)
if not package:config("header_only") and (package:version():lt("6.0") or package:config("gmp")) then
raise("GMP is not supported on windows yet!")
end
end)
on_load("windows", "mingw", function (package)
package:add("defines", "CGAL_NO_GMP")
if not package:config("header_only") then
raise("Non-header-only version is not supported yet!")
on_load("windows", "mingw", "macosx", "linux", function (package)
if package:config("header_only") then
package:set("kind", "library", {headeronly = true})
end
if package:config("gmp") then
package:add("deps", "gmp", "mpfr")
else
package:add("defines", "CGAL_DISABLE_GMP")
package:add("defines", "CGAL_NO_GMP")
end
end)
@ -41,6 +50,7 @@ package("cgal")
end
local configs = {"-DBUILD_TESTING=OFF", "-DBUILD_DOC=OFF"}
table.insert(configs, "-DCGAL_HEADER_ONLY=" .. (package:config("header_only") and "ON" or "OFF"))
table.insert(configs, "-DCGAL_DISABLE_GMP=" .. (package:config("gmp") and "OFF" or "ON"))
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
import("package.tools.cmake").install(package, configs)
@ -55,5 +65,5 @@ package("cgal")
DT::Point p;
std::vector<DT::Point> points;
}
]]}, {configs = {languages = "c++14"}, includes = {"CGAL/Epick_d.h", "CGAL/Delaunay_triangulation.h"}}))
]]}, {configs = {languages = "c++17"}, includes = {"CGAL/Epick_d.h", "CGAL/Delaunay_triangulation.h"}}))
end)

@ -6,9 +6,14 @@ package("cgif")
add_urls("https://github.com/dloebl/cgif/archive/refs/tags/$(version).tar.gz",
"https://github.com/dloebl/cgif.git")
add_versions("v0.5.0", "d6cb312c7da2c6c9f310811aa3658120c0316ba130c48a012e7baf3698920fe9")
add_versions("v0.4.1", "8666f9c5f8123d1c22137a6dd714502a330377fb74e2007621926fe4258529d5")
add_versions("v0.4.0", "130ff8a604f047449e81ddddf818bd0e03826b5f468e989b02726b16b7d4742e")
if is_plat("wasm") then
add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true})
end
if is_plat("linux") then
add_extsources("apt::libcgif-dev", "pacman::libcgif")
elseif is_plat("macosx") then
@ -17,7 +22,14 @@ package("cgif")
add_deps("meson", "ninja")
on_install("windows", "linux", "macosx", "bsd", "mingw", "msys", "iphoneos", "cross", function (package)
if on_check then
on_check("android", function (package)
local ndk = package:toolchain("ndk"):config("ndkver")
assert(ndk and tonumber(ndk) > 22, "package(cgif) require ndk version > 22")
end)
end
on_install(function (package)
local opt = {}
if package:is_plat("windows") and package:config("shared") then
io.replace("inc/cgif.h", "CGIF* cgif_newgif", "LIBRARY_API CGIF* cgif_newgif", {plain = true})

@ -6,6 +6,7 @@ package("cglm")
add_urls("https://github.com/recp/cglm/archive/refs/tags/$(version).tar.gz",
"https://github.com/recp/cglm.git")
add_versions("v0.9.6", "be5e7d384561eb0fca59724a92b7fb44bf03e588a7eae5123a7d796002928184")
add_versions("v0.9.4", "101376d9f5db7139a54db35ccc439e40b679bc2efb756d3469d39ee38e69c41b")
add_versions("v0.9.3", "4eda95e34f116c36203777f4fe770d64a3158b1450ea40364abb111cf4ba4773")
add_versions("v0.9.2", "5c0639fe125c00ffaa73be5eeecd6be999839401e76cf4ee05ac2883447a5b4d")

@ -6,6 +6,7 @@ package("cgltf")
add_urls("https://github.com/jkuhlmann/cgltf/archive/refs/tags/$(version).tar.gz",
"https://github.com/jkuhlmann/cgltf.git")
add_versions("v1.15", "84e352092e5cd6aab7f66de62ddb66beb5e6f18d412ca9d12950d7a55bfef25a")
add_versions("v1.14", "2f3c97a6b989943f50e7d7f228688f6558fe37b1411c13a350e3560d061707d8")
add_versions("v1.13", "053d5320097334767486c6e33d01dd1b1c6224eac82aac2d720f4ec456d8c50b")

@ -4,6 +4,7 @@ package("cgns")
set_description("CFD General Notation System")
add_urls("https://github.com/CGNS/CGNS/archive/refs/tags/$(version).tar.gz")
add_versions("v4.5.0", "c72355219318755ba0a8646a8e56ee1c138cf909c1d738d258d2774fa4b529e9")
add_versions("v4.4.0", "3b0615d1e6b566aa8772616ba5fd9ca4eca1a600720e36eadd914be348925fe2")
add_versions("v4.2.0", "090ec6cb0916d90c16790183fc7c2bd2bd7e9a5e3764b36c8196ba37bf1dc817")

@ -1,5 +1,4 @@
package("cgraph")
set_kind("library", {headeronly = true})
set_homepage("http://www.chunel.cn")
set_description("A common used C++ DAG framework")
set_license("MIT")
@ -7,15 +6,39 @@ package("cgraph")
add_urls("https://github.com/ChunelFeng/CGraph/archive/refs/tags/$(version).tar.gz",
"https://github.com/ChunelFeng/CGraph.git")
add_versions("v2.6.2", "7067ed97b8c4ad118dccc93aca58e739717d87bcd21d6ea937ffe2e2bd45706d")
add_versions("v2.6.1", "0024854adfa836d424ff38782c926173f2d869af205c39a031cf0dc13c418c84")
add_versions("v2.6.0", "1b055ee86f0340f2c35b4ed40c4a3b4cc05081b115b0fb634d778671018648f2")
add_versions("v2.5.4", "fd5a53dc0d7e3fc11050ccc13fac987196ad42184a4e244b9d5e5d698b1cb101")
if is_plat("windows") then
add_cxxflags("/source-charset:utf-8")
if is_plat("linux", "bsd") then
add_syslinks("pthread")
end
on_install(function (package)
os.vcp("src/*", package:installdir("include"))
if package:has_tool("cxx", "cl") then
package:add("cxxflags", "/utf-8")
end
io.writefile("xmake.lua", [[
add_rules("mode.debug", "mode.release")
set_languages("c++11")
set_encodings("utf-8")
target("cgraph")
set_kind("$(kind)")
add_files("src/**.cpp")
add_headerfiles("src/(**.h)", "src/(**.inl)")
if is_plat("windows") and is_kind("shared") then
add_rules("utils.symbols.export_all", {export_classes = true})
end
if is_plat("linux", "macosx") then
add_defines("_ENABLE_LIKELY_")
end
if is_plat("linux", "bsd") then
add_syslinks("pthread")
end
]])
import("package.tools.xmake").install(package)
end)
on_test(function (package)

@ -9,6 +9,10 @@ package("cimg")
end})
add_urls("https://github.com/greyclab/cimg.git")
add_versions("v3.5.2", "6ece3344b65cfcc30b286df9c621a66634c3a79da0b5041b4e01e3b33f2d22f1")
add_versions("v3.5.1", "41930b9ab4627a87140bacee8f98e97332df3f60993bd568b89f6ac5b7186e1f")
add_versions("v3.5.0", "e23205a75b640423fdac394bd77b5e36a56070743892656fe6705597f38bfc3a")
add_versions("v3.4.3", "87dc0a945a350222253d61dc680fdca3878b92827d63a47a6cb1e1b3772050e0")
add_versions("v3.4.2", "d427168370301f6d288d9e1c69fcc48d9d4919e977ac5c2ec013ae6ac5613efb")
add_versions("v3.4.1", "ea8bc2186142eb59fbb391b0debfc4150f839a0b39552bc8093225cf02eda335")
add_versions("v3.4.0", "987bddc3a98ec684c2ffc7968881adb2626f5b09c90e6102947b3c4acd0de931")

@ -14,7 +14,7 @@ if has_config("glfw") then
end
if has_config("sdl2") then
add_requires("libsdl")
add_requires("libsdl2")
end
if has_config("vulkan") then
@ -63,7 +63,7 @@ target("cimgui")
add_files("imgui/backends/imgui_impl_sdl.cpp")
add_headerfiles("imgui/(backends/imgui_impl_sdl.h)")
end
add_packages("libsdl")
add_packages("libsdl2")
end
if has_config("vulkan") then

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save