Compare commits

...

579 Commits

Author SHA1 Message Date
ruki 864f51f504
Update arduinojson to v7.3.1 (#6511) 1 month ago
ruki ee39a6d461
Update lzav to 4.7 (#6509) 1 month ago
ruki 1e7bcb5322
Update microsoft-gsl to v4.2.0 (#6510) 1 month ago
ruki 186b92ca7b
Auto-update hlslpp to 3.6 (#6504) 1 month ago
Saikari 883e42b021
Add portmidi v2.0.4 (#6495) 1 month ago
Jérôme Leclercq 60015fbc45
Update xmake.lua (#6497) 1 month ago
ruki b416f0a348
Update plutovg to v0.0.13 (#6500) 1 month ago
ruki 8817c10862
Update zstd to v1.5.7 (#6501) 1 month ago
ruki 4b1f1fb499
Update xsimd to 13.2.0 (#6503) 1 month ago
Maxime 969fa5e4e0
Remove OpenSSL dependency for GNS on windows (#6498) 1 month ago
Saikari 68b55e6531
add libkeyfinder 2.2.8 (#6493) 1 month ago
Dozingfiretruck 2efbdfa071
add:sdl2 add 2.32.2 (#6492) 1 month ago
Doekin 1938273e10
p11-kit: add package (#6490) 1 month ago
ruki 0137f5ea49
Update lapack to v3.12.1 (#6439) 1 month 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) 2 months ago
ruki fec260f635
Update nanoflann to v1.7.0 (#6404) 2 months ago
ruki 51c72baaed
Update c4core to 0.2.5 (#6405) 2 months ago
ruki a76c54a94b
Update lunasvg to v3.2.0 (#6406) 2 months ago
star9029 97843e50e7
antlr4-runtime: Fix build with latest msvc stl (#6403) 2 months ago
ruki 42e710cb29
add msys platform for kotlin-native (#6400) 2 months ago
star9029 ee29fff6a4
aurora-au: add package (#6401) 2 months ago
ruki 3eefa043fb
Auto-update watcher to 0.13.5 (#6394) 2 months ago
ruki 8bce4a7daf
Update microsoft-proxy to 3.2.1 (#6397) 2 months ago
ruki 861eab114e
Update libpng to v1.6.47 (#6395) 2 months ago
ruki 7bc89bf784
Update amrex to 25.02 (#6392) 2 months ago
ruki 5fa1956e39
Update glaze to v4.4.3 (#6390) 2 months ago
ruki 220737c918
Update plutosvg to v0.0.5 (#6391) 2 months ago
fantasy-peak 80f3fb8002
Configurable openssl version for grpc (#6388) 2 months ago
Aidan Sun 9e71a99bfe
Add imgui versions v1.91.7 and v1.91.8 (#6389) 2 months ago
ruki 60e1de7eed
Auto-update libsdl2_image to 2.8.5 (#6334) 2 months ago
ruki 59c18d1c5d
Auto-update ozz-animation to 0.16.0 (#6386) 2 months ago
ruki 2d41348a38
Update c-blosc2 to v2.16.0 (#6383) 2 months ago
ruki 69b4802464
Update jsoncons to v1.2.0 (#6384) 2 months ago
ruki 6475c440af
Update glaze to v4.4.2 (#6385) 2 months ago
Aidan Sun 9e9457ed22
Update imguitextselect to 1.1.4 (#6382) 2 months ago
star9029 d11b01271c
implot3d: add package (#6381) 2 months ago
ruki 408de0af62
Update quill to v8.1.1 (#6379) 2 months ago
ruki d5f2209538
Update libsdl2_mixer to 2.8.1 (#6375) 2 months ago
ruki 4acf0f864c
Update paul_thread_pool to 0.7.0 (#6376) 2 months ago
ruki ab08b3393c
Auto-update aws-lc to v1.45.0 (#6364) 2 months ago
star9029 02ece0ce1b
cpr: support clang-cl toolchain (#6374) 2 months ago
ruki 22778ae537
Auto-update streamvbyte to v2.0.0 (#6368) 2 months ago
ruki 91bea96fb0
Auto-update fmtlog to v2.3.0 (#6372) 2 months ago
Aidan Sun 102ef4f39e
Add bluez versions 5.71 to 5.79 (#6373) 2 months ago
ruki 483602b7eb
Update fast-cdr to v2.2.6 (#6369) 2 months ago
ruki 6bc709390e
Update snmalloc to 0.7.1 (#6370) 2 months ago
ruki 8f65a7d5c3
Update boost_ut to v2.3.0 (#6371) 2 months ago
star9029 df8a72f922
zxing-cpp: Improve 2.3.0 version build (#6367) 2 months ago
star9029 c660b4cab6
zint: add package (#6366) 2 months 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) 3 months ago
mirageAlchemy fc3bc1fc78
fix reflect-cpp compilation when msgpack is enabled (#6205) 3 months ago
star9029 c621edaa57 nanomsg: remove unused code 3 months ago
star9029 45489dfe11 range-v3: add extsources 3 months ago
star9029 04b34dd272 faker-cxx: Improve on_check 3 months ago
ruki 852a92081f
Update verilator to v5.032 (#6213) 3 months ago
star9029 4fd9216b6d
lastools: add package (#6209) 3 months ago
Doekin 19c9021c8c
aqt: update to 3.1.21 (#6210) 3 months ago
ruki 49a7531c6f
Auto-update faker-cxx to v4.0.1 (#6202) 3 months ago
ruki 6168c84416
improve cmake for ninja (#6207) 3 months ago
ruki dad864f9b2
Update harfbuzz to 10.2.0 (#6201) 3 months ago
ruki 233328880b
Update cpp-httplib to v0.18.5 (#6203) 3 months ago
xpxz d6ad68dc09
add winpcap support for pcapplusplus (#6197) 3 months ago
ruki 287bd9af3c
Update catch2 to v3.8.0 (#6200) 3 months ago
ruki 1404fa2a00
Update cutlass to v3.7.0 (#6192) 3 months ago
ruki 8cc5580b17
Auto-update ocilib to v4.7.7 (#6182) 3 months ago
ruki 802b3493c5 fix is_supported 3 months ago
Saikari 376edcc845
Update pugixml to v1.15 (#6166) 3 months ago
icysky efd55d0e53
pcl: fix boost version requirement (#6163) 3 months ago
xpxz d4e6bed41f
add winpcap (#6196) 3 months ago
NahidaChan ffb3319c27
python: update 3.13.1 (#6171) 3 months ago
ruki abc4bd52fe
Update oniguruma to v6.9.10 (#6195) 3 months ago
Chi Huu Huynh 1a996c990d
quickjs-ng: remove limits (#6188) 3 months ago
yh-sb 2cf62b3514
Enable Qt6 for macOS arm64 (#6190) 3 months ago
ruki c83867e24a
Update spectra to v1.1.0 (#6191) 3 months ago
ruki 4bb65c18d2
Update aws-c-sdkutils to v0.2.2 (#6193) 3 months ago
ruki eccc765c51
Update jsoncons to v1.1.0 (#6186) 3 months ago
ruki 9d2243f5f5
Update quill to v8.0.0 (#6183) 3 months ago
ruki 3664154695
Update barkeep to v0.1.5 (#6184) 3 months ago
ruki 46bd6aa9f5
Update sse2neon to v1.8.0 (#6185) 3 months ago
Shiwei Wang 0b10ad1186
spdlog: only add '/utf-8' when not use std_format (#6173) 3 months ago
star9029 459aba852f
Fix ci (#6181) 3 months ago
xpxz a266c23449
Update utf8proc and install to all plat (#6179) 3 months ago
star9029 5c5d720e0d
Add hosted arm64 ci (#6175) 3 months ago
apocelipes e1f194ce61
go: update to v1.22.11 & v1.23.5 (#6174) 3 months ago
Inari0 f06c542d49
fix libigl on windows (#6172) 3 months ago
Altina Orion e76d08c499
New package: google-cloud-cpp (#5991) 3 months ago
star9029 b9d3d7770f
crc32c: Fix windows shared build (#6170) 3 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) 4 months ago
star9029 17ac65bce9
tbb: remove alias package (#6026) 4 months ago
ruki 0eafd8ba20
Update rocksdb to v9.9.3 (#6032) 4 months ago
ruki b65fdb6022
Update samurai to v0.19.0 (#6029) 4 months ago
ruki 0efbd89dc3
Update glaze to v4.2.2 (#6030) 4 months ago
Inari0 a0cd7edd95
update python (#6027) 4 months ago
ruki eaaa5323f8
Update cppjieba to v5.4.1 (#6021) 4 months ago
ruki d39264eac2
Update protobuf-cpp to 29.2 (#6022) 4 months ago
ruki 6efcab71a7
Update cpptrace to v0.7.4 (#6023) 4 months ago
ruki 704a105068
Update boost_ut to v2.1.1 (#6015) 4 months ago
ruki 66849a72a9
Update meson to 1.6.1 (#6017) 4 months ago
star9029 c62ebd316d
clay: add package (#6013) 4 months ago
ruki 260eb1e42f update readme 4 months ago
star9029 88272611c8
annoy: add package (#6011) 4 months ago
ruki 6db95290ee
Update libzip to v1.11.2 (#6006) 4 months ago
ruki 0146c6eaf4
Update mongoose to 7.16 (#6007) 4 months ago
ruki a7917fb08f
Update aws-c-compression to v0.3.0 (#6008) 4 months ago
Doekin 258d2f720f
date: Add release version (#6002) 4 months ago
Anthony Verdon ac5a890212
adding imgui v1.91.2 to v1.91.6 (#6003) 4 months ago
apocelipes 590f874381
StringZilla: update to v3.11.1 (#6001) 4 months ago
star9029 4d3a0494c3
plfit: add package (#5992) 4 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 5 months ago
ruki f4442f7364
Update arduinojson to v7.2.1 (#5812) 5 months ago
star9029 32b4e3ac1d
imath: support more platform (#5807) 5 months ago
ruki ac1b35f0bc
Update ngtcp2 to 1.9.0 (#5809) 5 months ago
ruki 55d7d577c3
Update simsimd to v6.1.1 (#5810) 5 months ago
  1. 11
      .github/workflows/android_windows.yml
  2. 2
      .github/workflows/macos_x86_64.yml
  3. 37
      .github/workflows/ubuntu_arm64.yml
  4. 12
      .github/workflows/windows.yml
  5. 11
      .github/workflows/windows_v3.yml
  6. 2
      README.md
  7. 2
      README_zh.md
  8. 26
      packages/a/abseil/xmake.lua
  9. 6
      packages/a/actor-framework/xmake.lua
  10. 34
      packages/a/ada/xmake.lua
  11. 65
      packages/a/alembic/xmake.lua
  12. 7
      packages/a/amgcl/xmake.lua
  13. 1
      packages/a/amqp-cpp/xmake.lua
  14. 10
      packages/a/amrex/xmake.lua
  15. 32
      packages/a/anari/xmake.lua
  16. 2
      packages/a/angelscript/port/xmake.lua
  17. 2
      packages/a/angelscript/xmake.lua
  18. 21
      packages/a/annoy/xmake.lua
  19. 13
      packages/a/antlr4-runtime/patches/4.13.2/add-include-chrono.patch
  20. 10
      packages/a/antlr4-runtime/xmake.lua
  21. 12
      packages/a/antlr4/rules/lexer.lua
  22. 41
      packages/a/antlr4/rules/parser.lua
  23. 5
      packages/a/antlr4/xmake.lua
  24. 4
      packages/a/aqt/xmake.lua
  25. 3
      packages/a/arduinojson/xmake.lua
  26. 1
      packages/a/argparse/xmake.lua
  27. 25
      packages/a/arkari/xmake.lua
  28. 16
      packages/a/assimp/patches/5.4.3/fix_mingw.patch
  29. 1
      packages/a/assimp/xmake.lua
  30. 4
      packages/a/async_simple/xmake.lua
  31. 1
      packages/a/audiofile/xmake.lua
  32. 27
      packages/a/aurora-au/xmake.lua
  33. 1
      packages/a/aws-c-cal/xmake.lua
  34. 2
      packages/a/aws-c-common/xmake.lua
  35. 2
      packages/a/aws-c-compression/xmake.lua
  36. 1
      packages/a/aws-c-event-stream/xmake.lua
  37. 1
      packages/a/aws-c-http/xmake.lua
  38. 1
      packages/a/aws-c-mqtt/xmake.lua
  39. 3
      packages/a/aws-c-s3/xmake.lua
  40. 2
      packages/a/aws-c-sdkutils/xmake.lua
  41. 2
      packages/a/aws-crt-cpp/xmake.lua
  42. 41
      packages/a/aws-lc/xmake.lua
  43. 40
      packages/b/babl/xmake.lua
  44. 2
      packages/b/barkeep/xmake.lua
  45. 1
      packages/b/benchmark/xmake.lua
  46. 13
      packages/b/bison/xmake.lua
  47. 8
      packages/b/blah/xmake.lua
  48. 1
      packages/b/blake3/xmake.lua
  49. 9
      packages/b/bluez/xmake.lua
  50. 3
      packages/b/boost/cmake/install.lua
  51. 9
      packages/b/boost/cmake/load.lua
  52. 34
      packages/b/boost/fetch.lua
  53. 10
      packages/b/boost/libs.lua
  54. 18
      packages/b/boost/test.lua
  55. 5
      packages/b/boost/xmake.lua
  56. 2
      packages/b/boost_ut/xmake.lua
  57. 28
      packages/b/botan/patches/3.6.0/ar-response-files.patch
  58. 159
      packages/b/botan/patches/3.6.0/msvc-compiler-flags.patch
  59. 29
      packages/b/botan/xmake.lua
  60. 2
      packages/b/box2d/xmake.lua
  61. 32
      packages/b/boxfort/xmake.lua
  62. 5
      packages/b/bzip3/xmake.lua
  63. 1
      packages/c/c-ares/xmake.lua
  64. 2
      packages/c/c-blosc2/xmake.lua
  65. 1
      packages/c/c4core/xmake.lua
  66. 1
      packages/c/ca-certificates/xmake.lua
  67. 34
      packages/c/capnproto/xmake.lua
  68. 22
      packages/c/capstone/xmake.lua
  69. 1
      packages/c/catch2/xmake.lua
  70. 10
      packages/c/centurion/xmake.lua
  71. 14
      packages/c/cgif/xmake.lua
  72. 1
      packages/c/cglm/xmake.lua
  73. 1
      packages/c/cgltf/xmake.lua
  74. 1
      packages/c/cgns/xmake.lua
  75. 30
      packages/c/cgraph/xmake.lua
  76. 3
      packages/c/cimg/xmake.lua
  77. 4
      packages/c/cimgui/port/xmake.lua
  78. 8
      packages/c/cimgui/xmake.lua
  79. 15
      packages/c/cinatra/xmake.lua
  80. 25
      packages/c/clay/xmake.lua
  81. 1
      packages/c/clove-unit/xmake.lua
  82. 4
      packages/c/cmake/xmake.lua
  83. 45
      packages/c/cnats/patches/3.9.1/fix-cmake-mingw.patch
  84. 3
      packages/c/cnats/xmake.lua
  85. 5
      packages/c/cosmocc/xmake.lua
  86. 4
      packages/c/cpp-httplib/xmake.lua
  87. 1
      packages/c/cpp-peglib/xmake.lua
  88. 2
      packages/c/cpp-rotor/xmake.lua
  89. 1
      packages/c/cppcheck/xmake.lua
  90. 3
      packages/c/cppfront/xmake.lua
  91. 9
      packages/c/cppitertools/xmake.lua
  92. 1
      packages/c/cppjieba/xmake.lua
  93. 27
      packages/c/cpptrace/xmake.lua
  94. 60
      packages/c/cpr/xmake.lua
  95. 16
      packages/c/crc32c/xmake.lua
  96. 9
      packages/c/crow/xmake.lua
  97. 1
      packages/c/cuda-samples/xmake.lua
  98. 30
      packages/c/cunit/xmake.lua
  99. 2
      packages/c/cutlass/xmake.lua
  100. 56
      packages/c/cwt-cucumber/xmake.lua
  101. Some files were not shown because too many files have changed in this diff Show More

@ -23,6 +23,8 @@ 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.4
@ -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 }}

@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-12]
os: [macos-13]
arch: [x86_64]
kind: [static, shared]

@ -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,6 +25,8 @@ 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.4
@ -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,6 +24,8 @@ 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.4
@ -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,8 @@ 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")
@ -17,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)

@ -1,30 +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)

@ -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

@ -5,9 +5,11 @@ package("amrex")
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_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})
@ -49,7 +51,7 @@ package("amrex")
end
end)
on_install("windows", "macosx", "linux", "bsd", "mingw", function (package)
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"))
@ -66,10 +68,6 @@ package("amrex")
table.insert(configs, format("-DAMReX_%s=%s", real, enabled))
end
end
if package:is_plat("windows") then
os.mkdir(path.join(package:buildir(), "Src/pdb"))
end
import("package.tools.cmake").install(package, configs)
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
@ -42,15 +44,7 @@ package("antlr4-runtime")
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 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.vcp(path.join(package:buildir(), "runtime/*.pdb"), dir)
end
end)
on_test(function (package)

@ -4,19 +4,23 @@ rule("lexer")
add_deps("@find_antlr4")
on_config(function (target)
-- remove parser g4
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
if not sourcefile:lower():find("parser") then
-- 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)
@ -25,7 +29,7 @@ rule("lexer")
table.join2(argv, target:values("antlr4.lexer.flags"))
local autogendir = path.join(target:autogendir(), "rules/antlr4/lexer")
local sourcefile_cxx = path.join(autogendir, path.directory(sourcefile_g4), path.basename(sourcefile_g4) .. ".cpp")
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)
@ -34,8 +38,6 @@ rule("lexer")
table.insert(argv, "-lib")
table.insert(argv, sourcefile_dir)
target:add("includedirs", sourcefile_dir, {public = true})
table.insert(argv, sourcefile_g4)
batchcmds:show_progress(opt.progress, "${color.build.object}compiling.g4 %s", sourcefile_g4)
batchcmds:vrunv(java.program, argv)

@ -4,19 +4,23 @@ rule("parser")
add_deps("@lexer", {order = true})
on_config(function (target)
-- remove lexer g4
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
if not sourcefile:lower():find("lexer") then
-- 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)
@ -32,7 +36,7 @@ rule("parser")
table.join2(argv, target:values("antlr4.parser.flags"))
local autogendir = path.join(target:autogendir(), "rules/antlr4/parser")
local sourcefile_cxx = path.join(autogendir, path.directory(sourcefile_g4), path.basename(sourcefile_g4) .. ".cpp")
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)
@ -41,35 +45,16 @@ rule("parser")
table.insert(argv, "-lib")
table.insert(argv, sourcefile_dir)
target:add("includedirs", sourcefile_dir, {public = true})
table.insert(argv, sourcefile_g4)
batchcmds:show_progress(opt.progress, "${color.build.object}compiling.g4 %s", sourcefile_g4)
batchcmds:vrunv(java.program, argv)
local sourcefiles_cxx = {sourcefile_cxx}
local sourcefile_file_dir = path.join(autogendir, path.directory(sourcefile_g4))
if visitor then
table.insert(sourcefiles_cxx, path.join(sourcefile_file_dir, path.basename(sourcefile_g4) .. "Visitor.cpp"))
table.insert(sourcefiles_cxx, path.join(sourcefile_file_dir, path.basename(sourcefile_g4) .. "BaseVisitor.cpp"))
end
if listener then
table.insert(sourcefiles_cxx, path.join(sourcefile_file_dir, path.basename(sourcefile_g4) .. "Listener.cpp"))
table.insert(sourcefiles_cxx, path.join(sourcefile_file_dir, path.basename(sourcefile_g4) .. "BaseListener.cpp"))
end
for _, cxx in ipairs(sourcefiles_cxx) do
local objectfile = target:objectfile(cxx)
table.insert(target:objectfiles(), objectfile)
batchcmds:show_progress(opt.progress, "${color.build.object}compiling.$(mode) %s", cxx)
batchcmds:compile(cxx, objectfile)
if cxx == sourcefile_cxx then
batchcmds:set_depmtime(os.mtime(objectfile))
batchcmds:set_depcache(target:dependfile(objectfile))
end
end
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)

@ -25,10 +25,7 @@ package("antlr4")
end)
on_install("@windows", "@linux", "@macosx", function (package)
local source = "antlr-" .. package:version() .. "-complete.jar"
local target = path.join(package:installdir("lib"), "antlr-complete.jar")
os.vcp("../" .. source, package:installdir("lib"))
os.vmv(package:installdir("lib", source), target)
os.vcp(package:originfile(), path.join(package:installdir("lib"), "antlr-complete.jar"))
end)
on_test(function (package)

@ -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

@ -7,6 +7,9 @@ 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")

@ -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)

@ -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")

@ -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")]],

@ -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)

@ -6,6 +6,7 @@ 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")

@ -6,6 +6,8 @@ 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")

@ -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,7 @@ 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")

@ -6,6 +6,7 @@ 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")

@ -6,6 +6,7 @@ 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")

@ -6,6 +6,9 @@ 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")

@ -6,6 +6,8 @@ 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")

@ -6,6 +6,8 @@ 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")

@ -5,6 +5,9 @@ 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")
@ -14,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")
@ -28,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"))
@ -55,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)

@ -7,6 +7,8 @@ package("barkeep")
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"})

@ -6,6 +6,7 @@ package("benchmark")
add_urls("https://github.com/google/benchmark/archive/refs/tags/$(version).tar.gz",
"https://github.com/google/benchmark.git")
add_versions("v1.9.1", "32131c08ee31eeff2c8968d7e874f3cb648034377dfc32a4c377fa8796d84981")
add_versions("v1.9.0", "35a77f46cc782b16fac8d3b107fbfbb37dcd645f7c28eee19f3b8e0758b48994")
add_versions("v1.8.5", "d26789a2b46d8808a48a4556ee58ccc7c497fcd4c0af9b90197674a81e04798a")
add_versions("v1.8.4", "3e7059b6b11fb1bbe28e33e02519398ca94c1818874ebed18e504dc6f709be45")

@ -20,11 +20,7 @@ package("bison")
add_versions("3.7.6", "69dc0bb46ea8fc307d4ca1e0b61c8c355eb207d0b0c69f4f8462328e74d7b9ea")
add_versions("3.8.2", "06c9e13bdf7eb24d4ceb6b59205a4f67c2c7e7213119644430fe82fbd14a0abb")
if is_subhost("msys") then
add_deps("pacman::bison")
end
on_load("macosx", "linux", "bsd", "windows", function (package)
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
@ -37,11 +33,14 @@ package("bison")
if package:is_library() then
package:set("kind", "library", {headeronly = true})
end
end)
on_install("@msys", function (package)
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"))

@ -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")

@ -114,9 +114,6 @@ function main(package)
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"))
if package:is_plat("windows") then
table.insert(configs, "-DCMAKE_COMPILE_PDB_OUTPUT_DIRECTORY=''")
end
_add_libs_configs(package, configs)

@ -48,16 +48,19 @@ function _add_iostreams_deps(package)
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")
package:add("patches", ">=1.86.0", "patches/1.86.0/find-zstd.patch", "7a90f2cbf01fc26bc8a98d58468c20627974f30e45bdd4a00c52644b60af1ef6")
end
end
function _add_deps(package)
if package:config("regex") then
if package:config("regex") and package:config("icu") then
package:add("deps", "icu4c")
end
if package:config("locale") then
package:add("deps", "libiconv", "icu4c")
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}})

@ -10,7 +10,7 @@ function _get_python_libs()
end
local libs = {}
local version = result.version
local version = result and result.version
if version then
local py_ver = semver.new(version)
py_ver = py_ver:major() .. py_ver:minor()
@ -21,11 +21,14 @@ function _get_python_libs()
end
function _add_info(linkinfo, result)
if linkinfo then
table.insert(result.linkdirs, linkinfo.linkdir)
table.insert(result.libfiles, linkinfo.filename)
table.insert(result.links, linkinfo.link)
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)
@ -38,7 +41,7 @@ function main(package, opt)
"/usr/local/lib",
"/usr/lib/x86_64-linux-gnu",
}
local result = {
libfiles = {},
linkdirs = {},
@ -51,23 +54,32 @@ function main(package, opt)
}
local sub_libs_map = libs.get_sub_libs(package)
sub_libs_map["python"] = _get_python_libs()
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)
_add_info(linkinfo, result)
if linkinfo then
_add_info(linkinfo, result)
found = true
end
end
else
local linkinfo = find_library("boost_" .. libname, paths, opt)
_add_info(linkinfo, result)
if linkinfo then
_add_info(linkinfo, result)
found = true
end
end
end)
result.linkdirs = table.unique(result.linkdirs)
return result
if found then
result.linkdirs = table.unique(result.linkdirs)
return result
end
end
end

@ -1,4 +1,5 @@
local sorted_libs = {
"asio",
"wave",
"url",
"type_erasure",
@ -37,6 +38,9 @@ local sorted_libs = {
}
local libs_dep = {
asio = {
"date_time",
},
json = {
"container",
"system"
@ -89,7 +93,11 @@ local libs_dep = {
"atomic",
"system"
},
date_time = { },
date_time = {
"container",
"exception",
"regex"
},
atomic = { },
url = {
"system"

@ -8,6 +8,9 @@ function _iostreams(package, 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());
@ -21,6 +24,9 @@ function _iostreams(package, 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());
@ -36,6 +42,9 @@ function _filesystem(package, 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)) {
@ -54,6 +63,9 @@ function _date_time(package, snippets)
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);
}
@ -68,6 +80,9 @@ function _header_only(package, 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;
@ -78,6 +93,9 @@ function _header_only(package, snippets)
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;

@ -12,8 +12,10 @@ package("boost")
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")
@ -43,6 +45,7 @@ package("boost")
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"})
@ -61,6 +64,8 @@ package("boost")
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
on_fetch("fetch")

@ -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,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

@ -19,7 +19,7 @@ package("box2d")
if on_check then
on_check(function (package)
if package:version():ge("3.0.0") then
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

@ -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)

@ -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,7 @@ 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")

@ -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)

@ -4,31 +4,35 @@ package("capstone")
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")
"https://github.com/capstone-engine/capstone.git", {submodules = false})
add_versions("5.0.5", "3bfd3e7085fbf0fab75fb1454067bf734bb0bebe9b670af7ce775192209348e9")
add_versions("5.0.3", "3970c63ca1f8755f2c8e69b41432b710ff634f1b45ee4e5351defec4ec8e1753")
add_deps("cmake")
on_install("!iphoneos", function (package)
package:addenv("PATH", "bin")
if not package:is_cross() then
package:addenv("PATH", "bin")
end
io.replace("CMakeLists.txt", "include(CPackConfig.txt)", "", {plain = true})
local configs = {
"-DCAPSTONE_BUILD_CSTOOL=ON",
"-DCAPSTONE_BUILD_STATIC_RUNTIME=OFF", -- Use our pass CMAKE_MSVC_RUNTIME_LIBRARY
"-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)
if package:is_plat("windows") and package:is_debug() then
local dir = package:installdir(package:config("shared") and "bin" or "lib")
os.trycp(path.join(package:buildir(), "capstone.pdb"), dir)
os.trycp(path.join(package:buildir(), "cstool.pdb"), package:installdir("bin"))
end
end)
on_test(function (package)

@ -5,6 +5,7 @@ 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")

@ -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

@ -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,16 +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,9 @@ 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")

@ -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

@ -25,9 +25,15 @@ package("cimgui")
add_deps("luajit", {private = true})
on_check(function (package)
if package:is_arch("arm.*") then
raise("package(cimgui/arm64): unsupported arch, because it depends on luajit, we need to improve luajit first.")
end
end)
on_load(function (package)
if package:config("sdl2") then
package:add("deps", "libsdl")
package:add("deps", "libsdl2")
package:add("defines", "CIMGUI_USE_SDL2")
end
if package:config("opengl2") then

@ -7,11 +7,13 @@ package("cinatra")
add_urls("https://github.com/qicosmos/cinatra/archive/refs/tags/$(version).tar.gz",
"https://github.com/qicosmos/cinatra.git")
add_versions("0.9.5", "f21448332f56484af76347a3da30099dcd155d31ac9d3098faf7e9d6cb1e0c34")
add_versions("0.9.4", "2b8b4e264f8083674554db55ca137998f02c528730cf9565697234fec9de3378")
add_versions("0.9.1", "d1a8018e41caabbda2c380175b632e3c9c10b519727f6b998eda4e3f4ede84bd")
add_versions("v0.8.9", "007dc38aceedf42d03a9c05dc9aa6d2f303456ae7ce1100800df7a565b83b510")
add_versions("v0.8.0", "4e14d5206408eccb43b3e810d3a1fe228fbc7496ded8a16b041ed12cbcce4479")
add_patches(">=0.8.9", "patches/0.8.9/windows-move.patch", "c913ed0e9044ffc0ced40516245ec0d55262f8eabd30244d9911c3f0427a60f5")
add_patches(">=0.8.9 <=0.9.2", "patches/0.8.9/windows-move.patch", "c913ed0e9044ffc0ced40516245ec0d55262f8eabd30244d9911c3f0427a60f5")
add_configs("ssl", {description = "Enable SSL", default = false, type = "boolean"})
add_configs("gzip", {description = "Enable GZIP", default = false, type = "boolean"})
@ -22,7 +24,16 @@ package("cinatra")
add_deps("asio")
add_deps("async_simple", {configs = {aio = false}})
on_load("windows", "linux", "macosx", function (package)
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(cinatra) require vs_toolset >= 14.3")
end
end)
on_load(function (package)
package:add("defines", "ASIO_STANDALONE")
if package:config("ssl") then
package:add("deps", "openssl")

@ -0,0 +1,25 @@
package("clay")
set_kind("library", {headeronly = true})
set_homepage("https://nicbarker.com/clay")
set_description("High performance UI layout library in C.")
set_license("zlib")
add_urls("https://github.com/nicbarker/clay/archive/refs/tags/$(version).tar.gz",
"https://github.com/nicbarker/clay.git")
add_versions("v0.13", "c4b0e765e1b60cdcbdf25bf2f76a914f9f5dbee40900c261d691ce3fa46d3870")
add_versions("v0.12", "b36f19352635edeb6d770fe77fab267982d9f206beb541849578de9f0aaff825")
add_configs("renderer", {description = "Enable renderer", default = true, type = "boolean"})
on_install(function (package)
os.cp("clay.h", package:installdir("include"))
os.cp("renderers", package:installdir("include"))
end)
on_test(function (package)
assert(package:has_cxxincludes("clay.h", {configs = {languages = "c++20"}}))
if package:config("renderer") then
assert(os.isfile(package:installdir("include", "renderers", "raylib", "clay_renderer_raylib.c")))
end
end)

@ -7,6 +7,7 @@ package("clove-unit")
add_urls("https://github.com/fdefelici/clove-unit/archive/refs/tags/$(version).tar.gz",
"https://github.com/fdefelici/clove-unit.git")
add_versions("v2.4.6", "ecdbd6c4b11bc1eb6e0e5022104f053cb5d1f1ef95e04499a6e29e21289e5063")
add_versions("v2.4.5", "e4db72612adf00d7c7c9512cb9990768f5f3e62a72039929b78ba17d5a6f4308")
add_versions("v2.4.4", "25e611e1d4286c73d9cce7bbc99f83e00629551602351fec1edcbb669243e047")

@ -140,7 +140,9 @@ package("cmake")
-- xmake v3.x will enable this ninja policy by default
import("core.project.project")
if xmake.version():ge("2.9.0") and project.policy("package.cmake_generator.ninja") then
package:add("deps", "ninja")
-- We mark it as public, even if cmake is already installed,
-- we need also to install ninja and export the ninja PATH. (above xmake 2.9.8)
package:add("deps", "ninja", {public = true})
end
end)

@ -0,0 +1,45 @@
From 9556761f0479786a1223c78ee4d7bd22a040bbd1 Mon Sep 17 00:00:00 2001
From: Ivan Kozlovic <ivan@synadia.com>
Date: Thu, 19 Dec 2024 12:49:08 -0700
Subject: [PATCH] [FIXED] Build: failure with mingw
Credit goes to @mtmk with the proposed fix and verification that it
works on mingw.
I have verified that the change still works when building on my Windows
VM, so I don't expect windows users to have any issue with that.
Resolves #827
Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
---
CMakeLists.txt | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 413e0523..ee12730f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -208,11 +208,16 @@ elseif(WIN32)
set(NATS_PLATFORM_INCLUDE "win")
# Warning control.
- add_compile_options(/W4) # Set warning level to maximum, then disable:
- add_compile_options(/wd4100) # unreferenced formal parameter
- add_compile_options(/wd4200) # nonstandard extension used: zero-sized array in struct/union
- add_compile_options(/wd4130) # logical operation on address of string constant
- add_compile_options(/wd4127) # conditional expression is constant
+ if(MSVC)
+ # Set warning level to maximum, then disable:
+ # /wd4100 unreferenced formal parameter
+ # /wd4200 nonstandard extension used: zero-sized array in struct/union
+ # /wd4130 logical operation on address of string constant
+ # /wd4127 conditional expression is constant
+ add_compile_options(/W4 /wd4100 /wd4200 /wd4130 /wd4127)
+ else()
+ add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-pedantic -Wno-address -Wno-constant-conditional)
+ endif()
if(sodium_USE_STATIC_LIBS)
add_definitions(

@ -6,8 +6,11 @@ package("cnats")
add_urls("https://github.com/nats-io/nats.c/archive/refs/tags/$(version).tar.gz",
"https://github.com/nats-io/nats.c.git")
add_versions("v3.9.2", "28c4f39b88f095d78d653e8d4fe4581163fe96ecde5f9683933f0d82fd889a57")
add_versions("v3.8.2", "083ee03cf5a413629d56272e88ad3229720c5006c286e8180c9e5b745c10f37d")
add_patches(">=3.9.0 <=3.9.2", "patches/3.9.1/fix-cmake-mingw.patch", "c437e3451898c1b5bd429484a8a1b1772aa42b421916b2f136fe409562032bec")
add_configs("tls", {description = "Build with TLS support", default = false, type = "boolean"})
add_configs("sodium", {description = "Build with libsodium", default = false, type = "boolean"})
add_configs("streaming", {description = "Build NATS Streaming", default = false, type = "boolean"})

@ -41,6 +41,11 @@ package("cosmocc")
add_versions("3.9.4", "04d2aca686e3b780f8dadbee2750bac28fdcca2aaedcc97375fb91bd38f94bdd")
add_versions("3.9.5", "83b0f9120a581d85dcafeb2bb5900b872c8d2c01ddcbc6816e7a69ad748a7659")
add_versions("3.9.6", "cb9611df6aa156f0bd94a10976dbd694cf137985d70a963be717e1cfb66fa19e")
add_versions("3.9.7", "3f559555d08ece35bab1a66293a2101f359ac9841d563419756efa9c79f7a150")
add_versions("4.0.0", "15d8ab4442c94ce925f1d59884c772ab817af5e2889549c21ce5fa11c5d773bc")
add_versions("4.0.1", "aa9cde34c082d92fb736cc0a1178cdf955894b9e0f80db75e4dea8e5b8ed7238")
add_versions("4.0.2", "85b8c37a406d862e656ad4ec14be9f6ce474c1b436b9615e91a55208aced3f44")
set_policy("package.precompiled", false)

@ -7,6 +7,10 @@ package("cpp-httplib")
set_urls("https://github.com/yhirose/cpp-httplib/archive/refs/tags/$(version).tar.gz",
"https://github.com/yhirose/cpp-httplib.git")
add_versions("v0.18.7", "b7b1e9e4e77565a5a9bc95e761d5df3e7c0e8ca37c90fd78b1b031bc6cb90fc1")
add_versions("v0.18.6", "8900747bba3dda8007f1876175be699036e09e4a25ceeab51196d9365bf1993a")
add_versions("v0.18.5", "731190e97acd63edce57cc3dacd496f57e7743bfc7933da7137cb3e93ec6c9a0")
add_versions("v0.18.3", "a0567bcd6c3fe5cef1b329b96245119047f876b49e06cc129a36a7a8dffe173e")
add_versions("v0.18.1", "405abd8170f2a446fc8612ac635d0db5947c0d2e156e32603403a4496255ff00")
add_versions("v0.17.3", "95bd6dba4241656c59d6f0854d408d14c220f7c71e673319ee27d30aee741aaa")
add_versions("v0.17.0", "dd3ba355b6aa74b7a0bff982ad0de7af6d9672fd83af30aa84eb707974d2a903")

@ -8,6 +8,7 @@ package("cpp-peglib")
set_urls("https://github.com/yhirose/cpp-peglib/archive/refs/tags/v$(version).tar.gz",
"https://github.com/yhirose/cpp-peglib.git")
add_versions("1.9.1", "f57aa0f14372cbb772af29e3a4549a8033ea07eb25c39949cba6178e0e2ba9cc")
add_versions("1.9.0", "6f4f0956ea2f44fd1c5882f8adc5782451ba9d227c467d214196390ddedb024c")
add_versions("1.8.8", "3019d8084a146562fe2fd4c71e3226ac6e3994e8cee21cab27b3cd5a86bcef34")
add_versions("1.8.3", "3de8aeb44a262f9c2478e2a7e7bc2bb9426a2bdd176cf0654ff5a3d291c77b73")

@ -6,6 +6,8 @@ package("cpp-rotor")
add_urls("https://github.com/basiliscos/cpp-rotor/archive/refs/tags/$(version).tar.gz",
"https://github.com/basiliscos/cpp-rotor.git", {submodules = false})
add_versions("v0.33", "0a57af1018e2ca89c9cd95ae134c4b2af2c8e803c81ebee5433495776830eea6")
add_versions("v0.32", "b0b7a294704f1ab779b95ab433eb5f4a2859db3539108a0e08709fc97f6bccee")
add_versions("v0.31", "c8d9b28083c7a9c32af2cbff1d90fe1e62def989f0f89baba1244c44fb8ec9e4")
add_versions("v0.30", "d143bfce1d18d42ab0f072acfe239d1cc07a495411537579e02260673cbe8121")

@ -4,6 +4,7 @@ package("cppcheck")
set_description("A static analysis tool for C/C++ code")
add_urls("https://github.com/danmar/cppcheck/archive/refs/tags/$(version).tar.gz")
add_versions("2.16.2", "521b996cb56b0c30f89e022abcb50aef85d7219cb7a7162fa81fe40fe6394206")
add_versions("2.15.0", "98bcc40ac8062635b492fb096d7815376a176ae26749d6c708083f4637f7c0bb")
add_versions("2.14.2", "9c3acea5f489336bd83a8ea33917a9a04a80c56d874bf270287e7de27acf2d00")
add_versions("2.14.1", "22d1403fbc3158f35b5216d7b0a50bbaf0c80bf6663933a71f65cc4fc307ff3d")

@ -5,6 +5,7 @@ package("cppfront")
add_urls("https://github.com/hsutter/cppfront/archive/refs/tags/$(version).tar.gz")
add_urls("https://github.com/hsutter/cppfront.git")
add_versions("v0.8.1", "aff7c8106c1022d74dcd2e66452f8e7cbafeeecb61679f7116a383a1100cc4b5")
add_versions("v0.8.0", "7fb573599960bc0a46a71ed103ff97adbf938d4a0df754dc952a44fdcacfc571")
add_versions("v0.7.4", "028f44cc0cad26b51829e4abf7c5aedf8a31f852ab5dfbad54bb232f0a1d7447")
add_versions("v0.7.2", "fb44c6a65fa19b185ddf385dd3bfea05afe0bc8260382b7a8e3c75b3c9004cd6")
@ -29,7 +30,7 @@ package("cppfront")
]]}, {configs = {languages = "c++20"}}), "package(cppfront): requires at least C++20.")
end)
on_install("windows", "linux", "macosx|x86_64", function (package)
on_install("windows", "linux", "macosx", function (package)
local configs = {}
io.writefile("xmake.lua", [[
add_rules("mode.release", "mode.debug")

@ -6,6 +6,7 @@ package("cppitertools")
add_urls("https://github.com/ryanhaining/cppitertools.git")
add_versions("2024.10.19", "5a7f4aa357ed9b0ad59823e3d2acd57217d5beaf")
add_versions("2023.07.04", "492c15aab96f4ca3938a6b734d6a08cb7feea75a")
add_configs("boost", {description = "For zip_longest", default = false, type = "boolean"})
@ -17,8 +18,12 @@ package("cppitertools")
end)
on_install(function (package)
os.cp("*.hpp", package:installdir("include/cppitertools"))
os.cp("internal", package:installdir("include/cppitertools"))
if package:version():gt("2023.07.04") then
os.cp("cppitertools", package:installdir("include"))
else
os.cp("*.hpp", package:installdir("include/cppitertools"))
os.cp("internal", package:installdir("include/cppitertools"))
end
end)
on_test(function (package)

@ -7,6 +7,7 @@ package("cppjieba")
add_urls("https://github.com/yanyiwu/cppjieba/archive/refs/tags/$(version).tar.gz",
"https://github.com/yanyiwu/cppjieba.git", {submodules = false})
add_versions("v5.4.1", "ee5b542dfd24713256e612588f0f2fbecba802c324da6cd2231792c02f9c062c")
add_versions("v5.4.0", "6358e7f961e601ee6a01ce968bd07dad4e455a2c8721520d0304cc94b2d029ee")
add_versions("v5.2.0", "00c420e9e1b212827a38b6e252468895f744c0e7be8c4feaab4e0a93b8d3b1ca")

@ -6,6 +6,10 @@ package("cpptrace")
add_urls("https://github.com/jeremy-rifkin/cpptrace/archive/refs/tags/$(version).tar.gz",
"https://github.com/jeremy-rifkin/cpptrace.git")
add_versions("v0.8.2", "618fb746174f76eb03c7ece059ebdcfe39b7b6adca6a5da0c9f9bc6a4764d7f9")
add_versions("v0.7.5", "7df0cae3d7da9be2dc82616292cc86a4a08a8209898716231aef80477a8ca35d")
add_versions("v0.7.4", "1241790cace5d59ddf21ce5d046f71cd26448a3c8c15d123157498ba81e3543d")
add_versions("v0.7.3", "8b83200860db148a7fd0b2594e7affc6a55809da256e132d6f0d5b202b2e26dd")
add_versions("v0.7.1", "63df54339feb0c68542232229777df057e1848fc8294528613971bbf42889e83")
add_versions("v0.7.0", "b5c1fbd162f32b8995d9b1fefb1b57fac8b1a0e790f897b81cdafe3625d12001")
add_versions("v0.6.3", "665bf76645ec7b9e6d785a934616f0138862c36cdb58b0d1c9dd18dd4c57395a")
@ -21,40 +25,33 @@ package("cpptrace")
add_patches("0.5.2", "https://github.com/jeremy-rifkin/cpptrace/commit/599d6abd6cc74e80e8429fc309247be5f7edd5d7.patch", "977e6c17400ff2f85362ca1d6959038fdb5d9e5b402cfdd705b422c566e8e87a")
if is_plat("windows") then
if is_plat("windows", "mingw") then
add_syslinks("dbghelp")
elseif is_plat("macosx") then
add_deps("libdwarf")
elseif is_plat("linux") or is_plat("cross") then
add_deps("libdwarf")
elseif is_plat("linux", "cross") then
add_syslinks("dl")
elseif is_plat("mingw") then
add_deps("libdwarf")
add_syslinks("dbghelp")
end
add_deps("cmake")
if not is_plat("windows") then
add_deps("libdwarf")
end
on_install("linux", "macosx", "windows", "mingw", "cross", function (package)
io.replace("CMakeLists.txt", "/WX", "", {plain = true})
if not package:config("shared") then
package:add("defines", "CPPTRACE_STATIC_DEFINE")
end
io.replace("CMakeLists.txt", "/WX", "", {plain = true})
local configs = {
"-DBUILD_TESTING=OFF",
"-DCPPTRACE_USE_EXTERNAL_LIBDWARF=ON",
"-DCPPTRACE_USE_EXTERNAL_ZSTD=ON",
"-DCPPTRACE_VCPKG=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)
if package:is_plat("windows") and package:is_debug() then
local dir = package:installdir(package:config("shared") and "bin" or "lib")
os.trycp(path.join(package:buildir(), "cpptrace.pdb"), dir)
end
end)
on_test(function (package)

@ -1,18 +1,19 @@
package("cpr")
set_homepage("https://docs.libcpr.org/")
set_description("C++ Requests is a simple wrapper around libcurl inspired by the excellent Python Requests project.")
set_license("MIT")
set_urls("https://github.com/libcpr/cpr/archive/refs/tags/$(version).tar.gz",
"https://github.com/libcpr/cpr.git")
add_versions("1.6.2", "c45f9c55797380c6ba44060f0c73713fbd7989eeb1147aedb8723aa14f3afaa3")
add_versions("1.7.2", "aa38a414fe2ffc49af13a08b6ab34df825fdd2e7a1213d032d835a779e14176f")
add_versions("1.8.3", "0784d4c2dbb93a0d3009820b7858976424c56578ce23dcd89d06a1d0bf5fd8e2")
add_versions("1.9.4", "2fbb27716c010d8a28e52d5bc8f108e0d073ca3b3f5a48a2696b0231ea5196d5")
add_versions("1.11.1", "e84b8ef348f41072609f53aab05bdaab24bf5916c62d99651dfbeaf282a8e0a2")
add_versions("1.10.5", "c8590568996cea918d7cf7ec6845d954b9b95ab2c4980b365f582a665dea08d8")
add_versions("1.10.2", "044e98079032f7abf69c4c82f90ee2b4e4a7d2f28245498a5201ad6e8d0b1d08")
add_versions("1.10.3", "d7f2574bd9dae8adb0ce6cf1afab119b509c297fffcb4204a1bb3e4e731074f2")
add_versions("1.10.5", "c8590568996cea918d7cf7ec6845d954b9b95ab2c4980b365f582a665dea08d8")
add_versions("1.9.4", "2fbb27716c010d8a28e52d5bc8f108e0d073ca3b3f5a48a2696b0231ea5196d5")
add_versions("1.8.3", "0784d4c2dbb93a0d3009820b7858976424c56578ce23dcd89d06a1d0bf5fd8e2")
add_versions("1.7.2", "aa38a414fe2ffc49af13a08b6ab34df825fdd2e7a1213d032d835a779e14176f")
add_versions("1.6.2", "c45f9c55797380c6ba44060f0c73713fbd7989eeb1147aedb8723aa14f3afaa3")
add_configs("ssl", {description = "Enable SSL.", default = false, type = "boolean"})
@ -22,6 +23,17 @@ package("cpr")
end
add_links("cpr")
if on_check then
on_check(function (package)
-- Require to fIX cmake try run
if package:version() and package:version():eq("1.6.2") then
if package:is_cross() then
raise("package(cpr 1.6.2) unsupported cross-compilation")
end
end
end)
end
on_load(function (package)
if package:config("ssl") then
package:add("deps", "libcurl", {configs = {libssh2 = true, zlib = true}})
@ -32,25 +44,33 @@ package("cpr")
end)
on_install("linux", "macosx", "windows", "mingw@windows", function (package)
local configs = {"-DCPR_BUILD_TESTS=OFF",
"-DCPR_FORCE_USE_SYSTEM_CURL=ON",
"-DCPR_USE_SYSTEM_CURL=ON"}
io.replace("CMakeLists.txt", "-Werror", "", {plain = true})
if package:is_plat("windows") then
-- fix find_package issue on windows
io.replace("CMakeLists.txt", "find_package%(CURL COMPONENTS .-%)", "find_package(CURL)")
end
local configs = {
"-DCPR_BUILD_TESTS=OFF",
"-DCPR_FORCE_USE_SYSTEM_CURL=ON",
"-DCPR_USE_SYSTEM_CURL=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"))
table.insert(configs, "-DCPR_ENABLE_SSL=" .. (package:config("ssl") and "ON" or "OFF"))
local shflags
if package:config("shared") and package:is_plat("macosx") then
shflags = {"-framework", "CoreFoundation", "-framework", "Security", "-framework", "SystemConfiguration"}
end
local packagedeps = {"libcurl"}
local opt = {}
opt.packagedeps = {"libcurl"}
if package:config("ssl") then
table.insert(packagedeps, "libssh2")
table.insert(opt.packagedeps, "libssh2")
end
if package:is_plat("windows") then
-- fix find_package issue on windows
io.replace("CMakeLists.txt", "find_package%(CURL COMPONENTS .-%)", "find_package(CURL)")
if package:is_plat("windows") and package:has_tool("cxx", "cl", "clang_cl") then
opt.cxflags = {"/EHsc"}
end
import("package.tools.cmake").install(package, configs, {shflags = shflags, packagedeps = packagedeps})
if package:config("shared") and package:is_plat("macosx") then
opt.shflags = {"-framework", "CoreFoundation", "-framework", "Security", "-framework", "SystemConfiguration"}
end
import("package.tools.cmake").install(package, configs, opt)
end)
on_test(function (package)
@ -63,5 +83,3 @@ package("cpr")
}
]]}, {configs = {languages = "c++17"}}))
end)

@ -1,7 +1,7 @@
package("crc32c")
set_homepage("https://github.com/google/crc32c")
set_description("CRC32C implementation with support for CPU-specific acceleration instructions")
set_license("BSD-3-Clause")
add_urls("https://github.com/google/crc32c/archive/refs/tags/$(version).tar.gz",
"https://github.com/google/crc32c.git")
@ -11,15 +11,13 @@ package("crc32c")
add_deps("cmake")
on_install(function (package)
import("package.tools.cmake")
local configs = {"-DCRC32C_BUILD_TESTS=OFF", "-DCRC32C_BUILD_BENCHMARKS=OFF", "-DCRC32C_USE_GLOG=OFF"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
if package:config("shared") then
table.insert(configs, "-DBUILD_SHARED_LIBS=on")
else
table.insert(configs, "-DBUILD_SHARED_LIBS=off")
local configs = {"-DCRC32C_BUILD_TESTS=OFF", "-DCRC32C_BUILD_BENCHMARKS=OFF", "-DCRC32C_USE_GLOG=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"))
if package:is_plat("windows") and package:config("shared") then
table.insert(configs, "-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON")
end
cmake.install(package, configs)
import("package.tools.cmake").install(package, configs)
end)
on_test(function (package)

@ -4,9 +4,10 @@ package("crow")
set_description("A Fast and Easy to use microframework for the web.")
set_license("BSD 3-Clause")
set_urls("https://github.com/CrowCpp/Crow.git")
add_versions("2023.06.26", "13a91a1941fbabfc289dddcdeab08b80193f7c6c")
add_versions("2023.07.22", "4f3f5deaaa01825c63c83431bfa96ccec195f741")
add_urls("https://github.com/CrowCpp/Crow/archive/refs/tags/$(version).zip", {version = function (version)
return (version:gsub("%+", "."))
end})
add_versions("v1.2.1+1", "d9f85d9df036336c9cb872ecd73c7744e493ed5d02e9aec8b3c1351c757c9707")
add_configs("zlib", {description = "ZLib for HTTP Compression", default = true, type = "boolean"})
add_configs("ssl", {description = "OpenSSL for HTTPS support", default = true, type = "boolean"})
@ -46,5 +47,5 @@ package("crow")
{
crow::SimpleApp app;
}
]]}, {configs = {languages = "c++14"}}))
]]}, {configs = {languages = "c++17"}}))
end)

@ -7,6 +7,7 @@ package("cuda-samples")
add_urls("https://github.com/NVIDIA/cuda-samples/archive/refs/tags/$(version).tar.gz",
"https://github.com/NVIDIA/cuda-samples.git")
add_versions("v12.8", "fe82484f9a87334075498f4e023a304cc70f240a285c11678f720f0a1e54a89d")
add_versions("v12.5", "5c40cc096706045b067ec5897f039403014aa7a39b970905698466a2d029b972")
add_versions("v12.4.1", "01bb311cc8f802a0d243700e4abe6a2d402132c9d97ecf2c64f3fbb1006c304c")
add_versions("v11.8", "1bc02c0ca42a323f3c7a05b5682eae703681a91e95b135bfe81f848b2d6a2c51")

@ -0,0 +1,30 @@
package("cunit")
set_homepage("https://gitlab.com/cunity/cunit")
set_description("CUnit is a lightweight system for writing, administering, and running unit tests in C.")
set_license("LGPL-2.1")
add_urls("https://gitlab.com/cunity/cunit/-/archive/$(version)/cunit-$(version).tar.bz2",
"https://gitlab.com/cunity/cunit.git")
add_versions("3.4.4", "eda4c24afcb2f689b150dadea790a12efb1a0e5e2eb68df7d6417a3ae70a90c7")
if is_plat("windows") then
add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true})
end
add_deps("cmake")
on_install(function (package)
io.replace("CUnit/CMakeLists.txt", "STATIC", "", {plain = true})
io.replace("CMakeLists.txt", "-Werror -Werror=strict-prototypes", "", {plain = true})
io.replace("CUnit/CMakeLists.txt", "-Werror -Werror=strict-prototypes", "", {plain = true})
local configs = {"-DCUNIT_DISABLE_TESTS=TRUE", "-DCUNIT_DISABLE_EXAMPLES=TRUE"}
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:has_cfuncs("CU_basic_set_mode", {includes = "CUnit/Basic.h"}))
end)

@ -7,6 +7,8 @@ package("cutlass")
add_urls("https://github.com/NVIDIA/cutlass/archive/refs/tags/$(version).tar.gz",
"https://github.com/NVIDIA/cutlass.git")
add_versions("v3.7.0", "dfcafb7435a1b114ce32faee4f3257e276caf08f55fea04fa8bf3efa3a83c814")
add_versions("v3.6.0", "7576f3437b90d0de5923560ccecebaa1357e5d72f36c0a59ad77c959c9790010")
add_versions("v3.5.1", "20b7247cda2d257cbf8ba59ba3ca40a9211c4da61a9c9913e32b33a2c5883a36")
add_versions("v3.5.0", "ef6af8526e3ad04f9827f35ee57eec555d09447f70a0ad0cf684a2e426ccbcb6")
add_versions("v3.4.1", "aebd4f9088bdf2fd640d65835de30788a6c7d3615532fcbdbc626ec3754becd4")

@ -0,0 +1,56 @@
package("cwt-cucumber")
set_homepage("https://github.com/ThoSe1990/cwt-cucumber")
set_description("A C++ Cucumber interpreter")
set_license("MIT")
add_urls("https://github.com/ThoSe1990/cwt-cucumber/archive/refs/tags/$(version).tar.gz",
"https://github.com/ThoSe1990/cwt-cucumber.git")
add_versions("2.5", "793d07c2f1989a2943befd4344cb8a49f36d39bdc0d596dbebbbc50e25fa3bc5")
add_deps("cmake")
add_deps("nlohmann_json", {configs = {cmake = true}})
on_check("android", function (package)
local ndk = package:toolchain("ndk"):config("ndkver")
assert(ndk and tonumber(ndk) > 22, "package(cwt-cucumber) require ndk version > 22")
end)
on_check("macosx", function (package)
if macos.version():le("14") then
raise("package(cwt-cucumber): requires macOS version >= 14.5")
end
end)
on_install(function (package)
io.replace("CMakeLists.txt", "add_subdirectory(${PROJECT_SOURCE_DIR}/examples)", "", {plain = true})
io.replace("CMakeLists.txt", "add_subdirectory(${PROJECT_SOURCE_DIR}/gtest)", "", {plain = true})
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"))
if package:config("shared") and package:is_plat("windows") then
table.insert(configs, "-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON")
end
import("package.tools.cmake").install(package, configs)
end)
on_test(function (package)
assert(package:check_cxxsnippets({test = [[
struct foo {
std::string word;
std::string anonymous;
};
WHEN(word_anonymous_given, "A {word} and {}") {
std::string word = CUKE_ARG(1);
cuke::context<foo>().word = word;
std::string anonymous = CUKE_ARG(2);
cuke::context<foo>().anonymous = anonymous;
}
THEN(word_anonymous_then, "They will match {string} and {string}") {
std::string expected_word = CUKE_ARG(1);
std::string expected_anonymous = CUKE_ARG(2);
cuke::equal(expected_word, cuke::context<foo>().word);
cuke::equal(expected_anonymous, cuke::context<foo>().anonymous);
}
]]}, {configs = {languages = "c++20"}, includes = {"cwt-cucumber/cucumber.hpp"}}))
end)

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

Loading…
Cancel
Save