Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Ftxui cross #1

Closed
wants to merge 295 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
295 commits
Select commit Hold shift + click to select a range
e470677
update poco to 1.12.5 (#2759)
heheda123123 Oct 28, 2023
4714171
add bcg729 package (#2763)
elkpi Oct 28, 2023
ffc2a1a
add Pahomqttcpp package (#2765)
Altyrost Oct 29, 2023
bb232ed
add zmqpb v0.3 (#2743)
SFGrenade Oct 29, 2023
673edc8
wayland-protocols: Improve rule wayland.protocols (#2766)
SuperSodaSea Oct 29, 2023
85eb349
wayland-protocols: Bump to 1.32 (#2768)
SuperSodaSea Oct 29, 2023
2f60cd7
cthash: add package (#2761)
star-hengxing Oct 29, 2023
d279a9a
update libhv to 1.3.2 (#2764)
heheda123123 Oct 29, 2023
bfa415d
srtp: add package (#2749)
KkemChen Oct 29, 2023
91f7837
add opencore-amr (#2767)
elkpi Oct 30, 2023
c96f6b5
drogon: fix build with mysql (#2751)
ChrisCatCP Oct 30, 2023
04a4786
add mingw,cross for libccd (#2694)
tokomine Oct 30, 2023
9049a52
shaderwriter: add version 2.7 (#2769)
DragonJoker Oct 30, 2023
e85c073
libyuv: add package (#2771)
KkemChen Oct 31, 2023
5c4c8fe
libfacedetection: add package (#2773)
star-hengxing Nov 1, 2023
8ae3e0a
Add brpc version 1.6.1 (#2774)
igavintang Nov 1, 2023
add565f
add macos arm64 ci
waruqi Nov 1, 2023
b0e4171
use macos-large
waruqi Nov 1, 2023
ee9d57c
remove macos_arm64 ci
waruqi Nov 1, 2023
7a97cd0
upgrade recastnavigation version to 1.6.0 (#2772)
gsw945 Nov 1, 2023
302b474
Add workflow and wfkafka v0.11.1 (#2775)
Barenboim Nov 2, 2023
56adc01
Update utfcpp to v4.0.1 (#2776)
SirLynix Nov 2, 2023
f099d11
lerc: add package (#2777)
star-hengxing Nov 2, 2023
1393c23
upgrade flatbuffers to v23.5.26 (#2779)
fasiondog Nov 2, 2023
39cb57e
update elfutils (#2782)
waruqi Nov 2, 2023
a023df0
duckx: add package (#2783)
star-hengxing Nov 2, 2023
e743cdc
improve elfutils
waruqi Nov 2, 2023
c353991
add tinyply (2.3.4) (#2778)
Univstar Nov 2, 2023
f90502b
Add dynareadout 23.10 (#2760)
Nov 3, 2023
0687157
stx: add package (#2787)
star-hengxing Nov 4, 2023
fadf2bd
fix openblas for linux-clang (#2786)
xq114 Nov 4, 2023
6b5d292
yoga: add package (#2788)
star-hengxing Nov 4, 2023
a8b7d88
switch to openbsd
waruqi Nov 4, 2023
53a86fd
pango: Fix unexpected -Werror=... errors (#2781)
SuperSodaSea Nov 5, 2023
5fc69be
hedley: add package (#2793)
star-hengxing Nov 5, 2023
d32f094
ozz-animation: add package (#2790)
star-hengxing Nov 5, 2023
21b3c48
tbox: add 1.7.5 (#2789)
da-liii Nov 5, 2023
c6e400e
dpp: update to v10.0.28 (#2663)
Bricklou Nov 5, 2023
894fd04
cs_libguarded: add package (#2794)
star-hengxing Nov 5, 2023
ebc9322
Added Boost ICL and Interval to Boost xmake.lua (#2795)
Theramar Nov 6, 2023
1bf200d
xbyak: update (#2797)
qudix Nov 6, 2023
01499dc
Update dr_flac to 0.12.42 (#2798)
SirLynix Nov 6, 2023
2343288
Update dr_mp3 to 0.6.38 (#2799)
SirLynix Nov 6, 2023
425d654
Update dr_wav to 0.13.13 (#2800)
SirLynix Nov 7, 2023
c221461
Update libsdl to 2.28.5 (#2801)
SirLynix Nov 7, 2023
84eb510
Update utfcpp to v4.0.2 (#2802)
SirLynix Nov 7, 2023
305b893
update freebsd ci
waruqi Nov 7, 2023
34bbb24
fix freebsd ci
waruqi Nov 7, 2023
c7a6214
improve test
waruqi Nov 7, 2023
a95478f
fix build_artifacts
waruqi Nov 8, 2023
7fbd1b2
revert boost
waruqi Nov 8, 2023
e686762
update libtorch (#1956)
xq114 Nov 8, 2023
e49eaba
ls-qpack: add package (#2803)
star-hengxing Nov 9, 2023
0166c71
kangaru: add package (#2806)
star-hengxing Nov 9, 2023
73dcc46
Fix gmssl missing syslink (#2813)
guyutongxue Nov 9, 2023
ae2e278
haclog: add package (#2812)
star-hengxing Nov 10, 2023
fb4a63e
fix freebsd ci
waruqi Nov 10, 2023
0d38496
continuable: add package (#2817)
star-hengxing Nov 10, 2023
88da32b
update nsis (#2816)
waruqi Nov 10, 2023
61678c1
oniguruma: add package (#2820)
star-hengxing Nov 11, 2023
38bc1df
abseil: make cxx17 optional (#2818)
Chi-EEE Nov 11, 2023
e27cba8
cairo 1.18.0 (#2807)
xq114 Nov 11, 2023
bcd0a6b
update libepoxy (#2821)
xq114 Nov 11, 2023
0ebd3af
ffmpeg: move binaries to xmake-mirrors and update to 6.1.0 (#2825)
SirLynix Nov 12, 2023
6008c72
drogon: fix redis build (#2823)
tashcan Nov 13, 2023
e853365
update nsis (#2826)
waruqi Nov 13, 2023
2877c1a
fix env
waruqi Nov 13, 2023
bf41ce0
fix uac for nsis
waruqi Nov 13, 2023
575beb4
seasocks: add package (#2827)
star-hengxing Nov 14, 2023
062c1e7
abseil: revert optional cxx17 (#2828)
Chi-EEE Nov 14, 2023
c41f7f0
qtawesome: add package (#2829)
star-hengxing Nov 15, 2023
2a8727f
Update JoltPhysics to v4.0.0 (#2814)
SirLynix Nov 15, 2023
48f1fec
Update fast_float to v5.3.0 (#2831)
SirLynix Nov 15, 2023
7652619
Update sentry-native to 0.6.7 (#2833)
SirLynix Nov 16, 2023
6509095
Update flecs to v3.2.9 (#2832)
SirLynix Nov 16, 2023
44d38c6
fix bsd ci
waruqi Nov 16, 2023
ee4fc06
update imgui to v1.90 (#2835)
Latias94 Nov 16, 2023
e76af88
update ci
waruqi Nov 16, 2023
10697d7
update ci
waruqi Nov 16, 2023
bb6ee95
matio: add package (#2836)
star-hengxing Nov 17, 2023
ece4708
libco: add package (#2839)
KkemChen Nov 18, 2023
600b835
iowow: add package (#2841)
star-hengxing Nov 18, 2023
782ed7d
croaring: add package (#2838)
star-hengxing Nov 18, 2023
f9f6792
improve to fetch nsis
waruqi Nov 19, 2023
9c9e227
improve nsis
waruqi Nov 19, 2023
c067801
update tbb to 2021.11.0 (#2842)
heheda123123 Nov 19, 2023
5118476
update magic_enum to 0.9.5 (#2843)
heheda123123 Nov 19, 2023
52ebbb3
Auto-update joltphysics to v4.0.1 (#2845)
SirLynix Nov 19, 2023
2881c76
update glib (#2822)
xq114 Nov 20, 2023
4a628df
enable fontconfig on windows (#2847)
xq114 Nov 21, 2023
32a3a22
Update async_simple to 1.2 (#2810)
fantasy-peak Nov 21, 2023
3dd361e
Add zmqpb v0.4 (#2844)
SFGrenade Nov 21, 2023
8bf5782
update mbedtls (#2849)
waruqi Nov 21, 2023
7a4128d
Update ctre (#2853)
Extra-Creativity Nov 22, 2023
f9b7e72
add davix (#2850)
xq114 Nov 22, 2023
091e60c
add makeself (#2855)
waruqi Nov 23, 2023
f6a4a46
enable pango on windows (#2848)
xq114 Nov 23, 2023
be9eda3
Add dynareadout 23.11 (#2858)
Nov 23, 2023
53907a0
qtpromise: add package (#2856)
star-hengxing Nov 23, 2023
09ea9d8
openjdk: add package (#2748)
star-hengxing Nov 24, 2023
0e3db96
update libsodium to 1.0.19 (#2854)
heheda123123 Nov 24, 2023
5772cb6
update libjpeg-turbo, libtiff and make (#2861)
xq114 Nov 24, 2023
01c6cda
update cryptopp to 8.9.0 (#2862)
heheda123123 Nov 24, 2023
2791125
Fix #2863 (#2865)
KarryCharon Nov 24, 2023
bfebcb0
jnipp: add package (#2866)
star-hengxing Nov 24, 2023
f7a1a89
BlueZ: update, fix license (#2868)
AidanSun05 Nov 24, 2023
2273c98
update concurrencpp to 0.1.7 (#2867)
heheda123123 Nov 25, 2023
e1ce592
update immer to 0.8.1 (#2872)
jj683 Nov 25, 2023
6a3a070
update simdjson to 3.6.0 (#2874)
jj683 Nov 25, 2023
c66a2ab
update libdeflate to 1.19 (#2873)
jj683 Nov 25, 2023
7fed3eb
zpp_throwing: add package (#2875)
star-hengxing Nov 25, 2023
ab2ee7a
update folly to v2023.11.20.00 (#2871)
jj683 Nov 26, 2023
8aaff92
update pystring to 2023.07.23 (#2860)
heheda123123 Nov 26, 2023
d9bf2df
make ftpmirror the first url (#2870)
xq114 Nov 26, 2023
b3fef0c
update stringzilla to 2.0.3 (#2859)
heheda123123 Nov 26, 2023
58120e9
embree: add v4.3.0 (#2876)
star-hengxing Nov 26, 2023
1e14614
easywsclient: add package (#2869)
Chi-EEE Nov 26, 2023
7df93f9
update gdk-pixbuf (#2877)
xq114 Nov 26, 2023
d505630
ixwebsocket: add package (#2879)
Chi-EEE Nov 26, 2023
512c7c4
Add PATH env when installing libtasn1 (#2883)
guyutongxue Nov 28, 2023
9f7f227
ixwebsocket: fix TLS (#2886)
Chi-EEE Nov 29, 2023
5fafb56
backportcpp: add package (#2885)
star-hengxing Nov 29, 2023
08f740b
Add brpc version 1.7.0 (#2887)
igavintang Nov 29, 2023
1a39567
soci: add package (#2882)
star-hengxing Nov 29, 2023
850b0d3
update nlohmann json to 3.11.3 (#2888)
heheda123123 Nov 29, 2023
4008de5
add gtk4 build (#2880)
xq114 Nov 29, 2023
8474939
update vc-ltl to 5.0.9 (#2890)
heheda123123 Nov 30, 2023
1a88679
add popt (#2892)
waruqi Nov 30, 2023
4562e9d
itlib: add package (#2893)
star-hengxing Nov 30, 2023
1ea0f76
update universal_stacktrace to 2023.10.15 (#2897)
heheda123123 Dec 1, 2023
2754acf
add asio2 (#2895)
heheda123123 Dec 1, 2023
01518b3
ocilib: add package (#2899)
star-hengxing Dec 3, 2023
d415d54
add new asio3 (#2901)
heheda123123 Dec 4, 2023
ffc6cef
atomic_queue: add package (#2904)
ChrisCatCP Dec 4, 2023
d1732be
fix wxwidgets linux build (#2896)
heheda123123 Dec 4, 2023
4561c46
ctrl-c: add package (#2908)
Chi-EEE Dec 4, 2023
72b076c
add libdwarf (#2906)
heheda123123 Dec 4, 2023
de06576
Update cpptrace to 0.3.1 (#2905)
heheda123123 Dec 4, 2023
285d5b9
remove spaces
waruqi Dec 4, 2023
ad43d2c
improve libsndio (#2902)
waruqi Dec 4, 2023
f0c92e3
remove gtk
waruqi Dec 4, 2023
a58019e
add mingw support to cpptrace (#2910)
heheda123123 Dec 5, 2023
fe02c21
add standardlib (#2911)
heheda123123 Dec 5, 2023
7736786
Update libcurl to 8.5.0 (#2912)
heheda123123 Dec 6, 2023
418fbe6
add transwarp (#2916)
heheda123123 Dec 6, 2023
ec775d6
add picobench (#2915)
heheda123123 Dec 6, 2023
2a93e7e
add digestpp (#2918)
heheda123123 Dec 6, 2023
fe1b83e
add flags (#2914)
heheda123123 Dec 6, 2023
d9f19a1
add stduuid (#2919)
heheda123123 Dec 6, 2023
2795093
Update LibreSSL to 3.8.2 (#2920)
UMU618 Dec 6, 2023
1f2cb6f
Update utfcpp to v4.0.3 (#2921)
SirLynix Dec 6, 2023
ff1c401
add paul_thread-pool (#2917)
heheda123123 Dec 7, 2023
9039a17
hidapi: add package (#2922)
star-hengxing Dec 8, 2023
edd4da6
libusb: improve build (#2926)
star-hengxing Dec 9, 2023
c5e50f4
ufbx: add package (#2930)
star-hengxing Dec 9, 2023
e08905b
openjdk: enable linux (#2894)
star-hengxing Dec 10, 2023
58c0530
drogon: add v1.9.1 (#2932)
ChrisCatCP Dec 10, 2023
38819bb
ittapi: add package (#2933)
star-hengxing Dec 10, 2023
0299481
remove mysql deps version limit (#2936)
heheda123123 Dec 11, 2023
e13d098
add libqrencode (#2935)
heheda123123 Dec 12, 2023
4a682f1
update to vulkan 1.3.168 (#2909)
Arthapz Dec 12, 2023
9d90630
dpp: update to v10.0.29 (#2938)
Bricklou Dec 12, 2023
74cd8ea
add cpp-tbox (#2925)
heheda123123 Dec 13, 2023
066f3ff
zxing-cpp: add package (#2939)
star-hengxing Dec 13, 2023
182fe3a
update libgd to latest commit (#2944)
heheda123123 Dec 14, 2023
b56e6c1
repair cpp-tbox header file problem (#2942)
heheda123123 Dec 14, 2023
1cacbf9
improve attr (#2945)
waruqi Dec 14, 2023
ca05a1b
improve elfutils (#2946)
waruqi Dec 14, 2023
cb9b8b7
improve catch2 (#2947)
waruqi Dec 14, 2023
4a6bbca
improve ci
waruqi Dec 14, 2023
c2cdd00
add rpm (#2891)
waruqi Dec 14, 2023
193868d
improve catch2
waruqi Dec 15, 2023
b04fa7a
update zlib-ng to 2.1.5 (#2923)
heheda123123 Dec 15, 2023
922336c
update snappy to 1.1.10 (#2924)
heheda123123 Dec 15, 2023
55d9641
update mosquitto to 2.0.18 (#2927)
heheda123123 Dec 15, 2023
2e7c8e1
update abseil to 20230802.1 (#2884)
heheda123123 Dec 15, 2023
28c0e27
symengine: add package (#2941)
star-hengxing Dec 15, 2023
305159e
improve abseil link order (#2948)
heheda123123 Dec 15, 2023
b741c6b
improve abseil link order (#2950)
heheda123123 Dec 16, 2023
b60cd0b
Update xtensor (#2949)
A2va Dec 16, 2023
94e87be
vulkan-utility-libraries: add package (#2951)
star-hengxing Dec 17, 2023
18c1f40
Update fast_float to v6.0.0 (#2952)
SirLynix Dec 17, 2023
60c4fc7
Update utfcpp to v4.0.4 (#2953)
SirLynix Dec 17, 2023
f53a03f
add strings_h2 (#2957)
heheda123123 Dec 18, 2023
fba3217
add dirent_h (#2958)
heheda123123 Dec 18, 2023
d434a29
add sys_wait_h (#2960)
heheda123123 Dec 18, 2023
5cc3cba
add sys_time_h package (#2956)
heheda123123 Dec 18, 2023
fd8f14e
add unistd_h (#2959)
heheda123123 Dec 18, 2023
303ce83
improve abseil links (#2961)
waruqi Dec 18, 2023
0b05a5d
add mman-win32 (#2962)
heheda123123 Dec 18, 2023
576c278
add wingetopt (#2963)
heheda123123 Dec 18, 2023
593c17b
libusb: Fix include dirs (#2966)
SirLynix Dec 18, 2023
9ef7c8e
update boost (#2955)
xq114 Dec 19, 2023
314d6e8
cpp-dump: add package (#2969)
Chi-EEE Dec 20, 2023
e2fa4a4
mailio: add package (#2968)
star-hengxing Dec 20, 2023
fe622f7
fix abseil (#2970)
waruqi Dec 20, 2023
39f57f1
alsa-lib: Add autoconf dependencies (#2974)
SirLynix Dec 20, 2023
4403a5e
Update flecs to v3.2.10 (#2973)
SirLynix Dec 20, 2023
ddb8f67
Add Gtest version 1.13.0 and 1.14.0 , And modify the standard to c++1…
yhweb Dec 20, 2023
728f960
Add `packagedeps` for hdf5 (#2975)
myuanz Dec 20, 2023
8df716f
add smoothcpp (#2972)
heheda123123 Dec 20, 2023
22223c3
fix microsoft-detours defines (#2971)
dulingzhi Dec 20, 2023
dee70dd
ftxui: add pthread for linux (#2979)
Chi-EEE Dec 20, 2023
b2470af
alsa-lib: Add m4 dependencies (#2977)
SirLynix Dec 21, 2023
7ebd8e5
arduinojson: add package (#2981)
star-hengxing Dec 21, 2023
19bc2d5
Add EASTL version 3.18.00 (#1677)
1762757171 Dec 21, 2023
90b1ef1
pca9685: add package (#2983)
Chi-EEE Dec 22, 2023
e88484a
Add dynareadout 23.12 (#2984)
Dec 22, 2023
15b61bf
xlsxio: fix wchar config (#2985)
star-hengxing Dec 22, 2023
7f7d4d9
cppgpio: add package (#2986)
Chi-EEE Dec 22, 2023
935f883
cppgpio: change versioning to use commit instead (#2987)
Chi-EEE Dec 22, 2023
87dace2
assimp: Try to fix minizip (#2988)
SirLynix Dec 23, 2023
f152b68
libgpiod: rework & fix C++ bindings (#2989)
Chi-EEE Dec 24, 2023
393436a
libgpiod: fix cxx bindings not having c links (#2991)
Chi-EEE Dec 24, 2023
fb077c5
pigpio: add package (#2992)
Chi-EEE Dec 25, 2023
dd835e9
fix assimp for old version (#2994)
waruqi Dec 26, 2023
16d7860
Update wil (#2995)
maximegmd Dec 26, 2023
cadb64b
add muduo (#2998)
heheda123123 Dec 27, 2023
60dc452
update re2 to 2023.11.01 (#2928)
heheda123123 Dec 27, 2023
32abec1
added llvm 13.0.0, 15.0.7 support for x86 macos (#2990)
robcholz Dec 27, 2023
095e769
dispenso: add package (#2996)
star-hengxing Dec 27, 2023
cd3672b
improve sdl (#2999)
waruqi Dec 27, 2023
fa0dfd0
pdfhummus: add v4.6.2
da-liii Dec 27, 2023
341e6c6
libmorton: add package (#3002)
star-hengxing Dec 27, 2023
1f4d149
Update ObjFW (#3004)
Frityet Dec 28, 2023
306bc04
Update joltphysics to v4.0.2 (#3006)
SirLynix Dec 28, 2023
bdce2fe
libdwarf: add version 0.9.0, add msvc patch (#3005)
KawaiiNahida Dec 28, 2023
ac4c005
add cuda-samples (#3010)
xq114 Dec 30, 2023
06fd8ae
frugally-deep: add package (#3007)
star-hengxing Dec 30, 2023
9f46bc8
openmp: add feature llvm (#3012)
Chi-EEE Dec 30, 2023
a4642cc
mujs: add package (#3013)
star-hengxing Dec 30, 2023
d49fecf
mlpack: add package (#3011)
Chi-EEE Dec 30, 2023
c292580
microsoft-detours: support mingw (#3014)
star-hengxing Dec 31, 2023
5e16d18
concurrentqueue: Restore concurrentqueue/concurrentqueue.h include (#…
SirLynix Jan 1, 2024
9c81837
Update catch2 to v3.5.1 (#3018)
SirLynix Jan 1, 2024
4390039
Update utfcpp to v4.0.5 (#3019)
SirLynix Jan 1, 2024
121e200
tinyalloc: add package (#3015)
star-hengxing Jan 1, 2024
9d99566
cmake: Update to 3.28.1 and enable parallel build on FreeBSD (#3017)
SirLynix Jan 1, 2024
8533649
update nanovg and doxygen (#3020)
xq114 Jan 1, 2024
bbdb2de
Updated Raylib to 5.0 (#3021)
ElCapor Jan 2, 2024
d3a9f77
libexpat: open expat for android. (#3025)
yangyun0123456 Jan 2, 2024
221fcd8
imgui: fix sdl test (#3024)
63enjoy Jan 2, 2024
8d150be
Update fmt to 10.2.0 (#3031)
SirLynix Jan 2, 2024
708f4b2
ibcurl: fix 'select TLS backend(s) or disable TLS with --without-ssl …
yangyun0123456 Jan 2, 2024
90a56cf
ffmpeg: fix ffmpeg compie failed for android (#3030)
yangyun0123456 Jan 2, 2024
a2ecf64
make glib optional for cairo (#3022)
xq114 Jan 2, 2024
6b6aae0
Add glbinding package (and khrplatform) (#3033)
Persson-dev Jan 3, 2024
1f4cd5e
mio: add plat windows and update version (#3034)
ChrisCatCP Jan 3, 2024
8b5c86a
Add workflow and libwfkafka v0.11.2. (#3035)
Barenboim Jan 3, 2024
74a2558
ftxui: add plat cross
Chi-EEE Jan 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
with:
xmake-version: branch@master
actions-cache-folder: '.xmake-cache'
actions-cache-key: 'android'

- name: Prepare
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
with:
xmake-version: branch@master
actions-cache-folder: '.xmake-cache'
actions-cache-key: 'fedora'

- name: Tests
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
os: [macOS-12]
os: [ubuntu-latest]
kind: [static, shared]

runs-on: ${{ matrix.os }}
Expand All @@ -22,22 +22,22 @@ jobs:
- uses: actions/checkout@v1

- name: Tests
uses: vmactions/freebsd-vm@v0
uses: vmactions/freebsd-vm@v1
with:
usesh: true
sync: sshfs
mem: 4096
copyback: false
prepare: pkg install -y git curl unzip gmake llvm gsed bash perl5 openssl
run: |
git config --global --add safe.directory `pwd`
git clone --recurse-submodules https://github.com/xmake-io/xmake.git /tmp/xmake -b dev
cd /tmp/xmake
./configure
gmake -j4
gmake install
export XMAKE_ROOT=y
cd -
git config --global --add safe.directory /Users/runner/work/xmake-repo/xmake-repo
xmake l ./scripts/test.lua -D -k ${{ matrix.kind }} -vD


1 change: 1 addition & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
with:
xmake-version: branch@master
actions-cache-folder: '.xmake-cache'
actions-cache-key: 'ubuntu'

- name: Installation
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ubuntu_clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ jobs:
with:
xmake-version: branch@master
actions-cache-folder: '.xmake-cache'
actions-cache-key: 'ubuntu_clang'

- name: Installation
run: |
# TODO we will remove it later
sudo apt-get update
sudo apt-get install -y libgl1-mesa-dev libglu1-mesa-dev clang libc++-dev p7zip
sudo apt-get install -y libgl1-mesa-dev libglu1-mesa-dev clang libomp-dev libc++-dev p7zip

- name: Tests
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/wasm_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ jobs:
with:
xmake-version: branch@master
actions-cache-folder: '.xmake-cache'
actions-cache-key: 'wasm'

- name: Prepare
uses: mymindstorm/setup-emsdk@v11
with:
# Make sure to set a version number!
version: 3.1.28
version: 3.1.35
# This is the name of the cache folder.
# The cache folder will be placed in the build directory,
# so make sure it doesn't conflict with anything!
Expand Down
55 changes: 31 additions & 24 deletions packages/a/abseil/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,47 +12,54 @@ package("abseil")
add_versions("20211102.0", "dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4")
add_versions("20220623.0", "4208129b49006089ba1d6710845a45e31c59b0ab6bff9e5788a87f55c5abd602")
add_versions("20230125.2", "9a2b5752d7bfade0bdeee2701de17c9480620f8b237e1964c1b9967c75374906")
add_versions("20230802.1", "987ce98f02eefbaf930d6e38ab16aa05737234d7afbab2d5c4ea7adbe50c28ed")

add_deps("cmake")

add_links(
"absl_status", "absl_cord",
"absl_flags", "absl_flags_parse", "absl_flags_internal", "absl_flags_reflection", "absl_flags_marshalling",
"absl_flags_commandlineflag_internal", "absl_synchronization", "absl_time", "absl_hash", "absl_city", "absl_time_zone",
"absl_spinlock_wait", "absl_failure_signal_handler", "absl_bad_optional_access", "absl_flags_commandlineflag",
"absl_random_internal_pool_urbg",
"absl_cordz_info", "absl_cord_internal", "absl_cordz_functions", "absl_cordz_handle", "absl_cordz_sample_token",
"absl_base", "absl_bad_any_cast_impl", "absl_periodic_sampler", "absl_random_distributions",
"absl_flags_usage_internal", "absl_random_seed_sequences",
"absl_throw_delegate", "absl_stacktrace", "absl_symbolize", "absl_debugging_internal",
"absl_flags_private_handle_accessor",
"absl_strings", "absl_flags_config", "absl_malloc_internal", "absl_str_format_internal",
"absl_flags_usage", "absl_strings_internal", "absl_flags_program_name", "absl_int128",
"absl_scoped_set_env", "absl_raw_hash_set", "absl_random_internal_seed_material",
"absl_random_internal_randen", "absl_random_internal_randen_slow", "absl_random_internal_randen_hwaes_impl",
"absl_random_internal_randen_hwaes",
"absl_graphcycles_internal", "absl_exponential_biased", "absl_bad_variant_access", "absl_statusor",
"absl_random_internal_distribution_test_util", "absl_random_internal_platform",
"absl_hashtablez_sampler", "absl_demangle_internal", "absl_leak_check", "absl_log_severity", "absl_raw_logging_internal",
"absl_strerror", "absl_examine_stack", "absl_low_level_hash", "absl_random_seed_gen_exception", "absl_civil_time",
"absl_crc_cord_state", "absl_crc32c", "absl_crc_cpu_detect", "absl_crc_internal")

if is_plat("macosx") then
add_frameworks("CoreFoundation")
end

on_load(function (package)
if package:is_plat("windows") and package:config("shared") then
package:add("defines", "ABSL_CONSUME_DLL")
package:add("links", "abseil_dll")
end
end)

on_install("macosx", "linux", "windows", "mingw", "cross", function (package)
if package:version() and package:version():eq("20230802.1") and package:is_plat("mingw") then
io.replace(path.join("absl", "synchronization", "internal", "pthread_waiter.h"), "#ifndef _WIN32", "#if !defined(_WIN32) && !defined(__MINGW32__)", {plain = true})
io.replace(path.join("absl", "synchronization", "internal", "win32_waiter.h"), "#if defined(_WIN32) && _WIN32_WINNT >= _WIN32_WINNT_VISTA", "#if defined(_WIN32) && !defined(__MINGW32__) && _WIN32_WINNT >= _WIN32_WINNT_VISTA", {plain = true})
end
local configs = {"-DCMAKE_CXX_STANDARD=17"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
import("package.tools.cmake").install(package, configs, {buildir = os.tmpfile() .. ".dir"})

-- get links and ensure link order
import("core.base.graph")
local dag = graph.new(true)
local pkgconfigdir = package:installdir("lib", "pkgconfig")
for _, pcfile in ipairs(os.files(path.join(pkgconfigdir, "*.pc"))) do
local link = path.basename(pcfile)
local content = io.readfile(pcfile)
for _, line in ipairs(content:split("\n")) do
if line:startswith("Requires: ") then
local requires = line:sub(10):split(",")
for _, dep in ipairs(requires) do
dep = dep:split("=")[1]:trim()
dag:add_edge(link, dep)
end
end
end
end
local links = dag:topological_sort()
package:add("links", links)

local cycle = dag:find_cycle()
if cycle then
wprint("cycle links found", cycle)
end
end)

on_test(function (package)
Expand All @@ -69,5 +76,5 @@ package("abseil")
auto a = absl::SimpleAtoi("123", &result);
std::cout << "Joined string: " << s << "\\n";
}
]]}, {configs = {languages = "c++17"}}))
]]}, {configs = {languages = "cxx17"}}))
end)
28 changes: 19 additions & 9 deletions packages/a/alsa-lib/xmake.lua
Original file line number Diff line number Diff line change
@@ -1,26 +1,36 @@
package("alsa-lib")
set_homepage("https://alsa-project.org/wiki/Main_Page")
set_description("The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux operating system.")
set_license("LGPL-2.1")

set_urls("http://www.alsa-project.org/files/pub/lib/alsa-lib-$(version).tar.bz2")
add_urls("http://www.alsa-project.org/files/pub/lib/alsa-lib-$(version).tar.bz2", {alias = "home"})
add_urls("https://github.com/alsa-project/alsa-lib/archive/refs/tags/v$(version).tar.gz", {alias = "github"})
add_versions("home:1.2.10", "c86a45a846331b1b0aa6e6be100be2a7aef92efd405cf6bac7eef8174baa920e")
add_versions("github:1.2.10", "f55749847fd98274501f4691a2d847e89280c07d40a43cdac43d6443f69fc939")

add_versions("1.2.10", "c86a45a846331b1b0aa6e6be100be2a7aef92efd405cf6bac7eef8174baa920e")
add_configs("versioned", {description = "pass flag --without-versioned", default = true, type = "boolean"})

if is_plat("linux") then
add_extsources("pacman::alsa-lib", "apt::libasound2-dev")
end

if not is_plat("windows") then
add_deps("autoconf", "automake", "libtool", "m4")
end

on_install("linux", function (package)
local configs = {"--without-versioned"}
local configs = {}
table.insert(configs, "--enable-shared=" .. (package:config("shared") and "yes" or "no"))
table.insert(configs, "--enable-static=" .. (package:config("shared") and "no" or "yes"))
if package:is_debug() then
table.insert(configs, "--enable-debug")
end
if package:config("versioned")then
table.insert(configs, "--without-versioned")
end
import("package.tools.autoconf").install(package, configs)
end)

on_test(function (package)
assert(package:check_csnippets({test = [[
void test() {
snd_ctl_card_info_t *info;
snd_ctl_card_info_alloca(&info);
}
]]}, {includes = {"alsa/asoundlib.h"}}))
assert(package:has_cfuncs("snd_pcm_open", {includes = "alsa/asoundlib.h"}))
end)
43 changes: 43 additions & 0 deletions packages/a/amqp-cpp/xmake.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
package("amqp-cpp")
set_homepage("https://github.com/CopernicaMarketingSoftware/AMQP-CPP")
set_description("C++ library for asynchronous non-blocking communication with RabbitMQ")
set_license("Apache-2.0")

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.26", "2baaab702f3fd9cce40563dc1e23f433cceee7ec3553bd529a98b1d3d7f7911c")

if is_plat("windows", "mingw") then
add_syslinks("ws2_32")
elseif is_plat("linux") then
add_configs("tcp", {description = "Build TCP module.", default = false, type = "boolean"})
add_syslinks("pthread", "dl")
end

add_deps("cmake")

on_install(function (package)
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:is_plat("windows") then
package:add("defines", "NOMINMAX")
if package:config("shared") and package:version():le("4.3.26") then
table.insert(configs, "-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON")
end
elseif package:is_plat("linux") then
table.insert(configs, "-DAMQP-CPP_LINUX_TCP=" .. (package:config("tcp") and "ON" or "OFF"))
end
import("package.tools.cmake").install(package, configs)
end)

on_test(function (package)
assert(package:check_cxxsnippets({test = [[
#include <amqpcpp.h>
void test() {
AMQP::Connection connection(nullptr, AMQP::Login("guest","guest"), "/");
AMQP::Channel channel(nullptr);
}
]]}, {configs = {languages = "c++17"}}))
end)
27 changes: 27 additions & 0 deletions packages/a/arduinojson/xmake.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package("arduinojson")
set_kind("library", {headeronly = true})
set_homepage("https://arduinojson.org")
set_description("📟 JSON library for Arduino and embedded C++. Simple and efficient.")
set_license("MIT")

add_urls("https://github.com/bblanchon/ArduinoJson/archive/refs/tags/$(version).tar.gz",
"https://github.com/bblanchon/ArduinoJson.git")

add_versions("v6.21.4", "9551af9282372f6e64cf4009fc43be7f2df6eb96fe9c0aab44d4eed217d09747")

add_deps("cmake")

on_install(function (package)
import("package.tools.cmake").install(package, {"-DBUILD_TESTING=OFF"})
end)

on_test(function (package)
assert(package:check_cxxsnippets({test = [[
#include <ArduinoJson.h>
void test() {
char json[] = "{\"sensor\":\"gps\",\"time\":1351824120,\"data\":[48.756080,2.302038]}";
DynamicJsonDocument doc(1024);
deserializeJson(doc, json);
}
]]}, {configs = {languages = "c++11"}}))
end)
25 changes: 25 additions & 0 deletions packages/a/asio2/xmake.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package("asio2")

set_kind("library", {headeronly = true})
set_homepage("https://github.com/zhllxt/asio2")
set_description("Header only c++ network library, based on asio, support tcp,udp,http,websocket,rpc,ssl,icmp,serial_port.")
set_license("BSL-1.0")

add_urls("https://github.com/zhllxt/asio2.git")
add_versions("2023.05.09", "ac8c79964d79020091e38fcbb4ae9dccccb3b03c")

add_deps("asio", "cereal", "fmt", "openssl3")
add_deps("spdlog", { configs = { header_only = false, fmt_external = true } })

on_install("windows", "linux", "macosx", "mingw", "bsd", function (package)
os.cp(path.join("include", "*"), package:installdir("include"))
end)

on_test(function (package)
assert(package:check_cxxsnippets({test = [[
#include <asio2/asio2.hpp>
void test() {
asio2::tcp_server server;
}
]]}, {configs = {languages = "c++17"}}))
end)
26 changes: 26 additions & 0 deletions packages/a/asio3/xmake.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package("asio3")
set_kind("library", {headeronly = true})
set_homepage("https://github.com/zhllxt/asio3")
set_description("Header only c++ network library, based on c++ 20 coroutine and asio")
set_license("BSL-1.0")

add_urls("https://github.com/zhllxt/asio3.git")
add_versions("2023.12.03", "66e76da69b359540fdf15b85bd5f3612b358c1da")

add_deps("asio", "cereal", "fmt", "openssl3", "nlohmann_json")
add_deps("spdlog", { configs = { header_only = false, fmt_external = true } })

on_install("windows", "linux", "macosx", "mingw", "bsd", function (package)
os.cp(path.join("include"), package:installdir())
end)

on_test(function (package)
assert(package:check_cxxsnippets({test = [[
#include <asio3/tcp/tcp_client.hpp>
namespace net = ::asio;
void test() {
net::io_context ctx;
net::tcp_client client(ctx.get_executor());
}
]]}, {configs = {languages = "c++23"}}))
end)
27 changes: 10 additions & 17 deletions packages/a/assimp/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -99,36 +99,29 @@ package("assimp")
table.insert(configs, "-DASSIMP_BUILD_ASSIMP_TOOLS=OFF")
end

if not package:gitref() and package:version():lt("v5.2.4") then
-- ASSIMP_WARNINGS_AS_ERRORS is not supported before v5.2.4
-- ASSIMP_WARNINGS_AS_ERRORS maybe does not work for some old versions
for _, cmakefile in ipairs(table.join("CMakeLists.txt", os.files("**/CMakeLists.txt"))) do
if package:is_plat("windows") then
io.replace("code/CMakeLists.txt", "TARGET_COMPILE_OPTIONS(assimp PRIVATE /W4 /WX)", "", {plain = true})
io.replace(cmakefile, "/W4 /WX", "", {plain = true})
else
io.replace("code/CMakeLists.txt", "TARGET_COMPILE_OPTIONS(assimp PRIVATE -Werror)", "", {plain = true})
io.replace(cmakefile, "-Werror", "", {plain = true})
end
end
if not package:gitref() and package:version():eq("v5.2.5") then
-- Remove /WX from CMakeLists for MSVC: https://github.com/assimp/assimp/pull/5183
io.replace("CMakeLists.txt", "ADD_COMPILE_OPTIONS(/bigobj /W4 /WX )", "ADD_COMPILE_OPTIONS(/bigobj)", {plain = true})
io.replace("CMakeLists.txt", "ADD_COMPILE_OPTIONS(/MP /bigobj /W4 /WX)", "ADD_COMPILE_OPTIONS(/MP /bigobj)", {plain = true})
-- fix cmake_install failed
if not package:gitref() and package:version():ge("v5.3.0") and package:is_plat("windows") and package:is_debug() then
io.replace("code/CMakeLists.txt", "IF(GENERATOR_IS_MULTI_CONFIG)", "IF(TRUE)", {plain = true})
end
if package:is_plat("mingw") and package:version():lt("v5.1.5") then
-- CMAKE_COMPILER_IS_MINGW has been removed: https://github.com/assimp/assimp/pull/4311
io.replace("CMakeLists.txt", "CMAKE_COMPILER_IS_MINGW", "MINGW", {plain = true})
end

-- Assimp CMakeLists doesn't find minizip on Windows
local ldflags
local packagedeps
if package:is_plat("windows") then
local minizip = package:dep("minizip")
if minizip and not minizip:is_system() then
local fetchinfo = minizip:fetch({external = false})
if fetchinfo then
ldflags = {}
for _, linkdir in ipairs(fetchinfo.linkdirs) do
table.insert(ldflags, "/LIBPATH:" .. linkdir:gsub("\\", "/"))
end
end
packagedeps = table.join2(packagedeps or {}, "minizip")
end
end

Expand All @@ -147,7 +140,7 @@ package("assimp")
end
end

import("package.tools.cmake").install(package, configs, {ldflags = ldflags, shflags = ldflags})
import("package.tools.cmake").install(package, configs, {packagedeps = packagedeps})

-- copy pdb
if package:is_plat("windows") then
Expand Down
Loading
Loading