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

Zig for Linux + general build overhaul #13

Merged
merged 166 commits into from
Jan 31, 2024
Merged
Changes from 1 commit
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
ebe71de
test build with zig
bjia56 Jan 26, 2024
3b27e1d
use correct script path
bjia56 Jan 26, 2024
14becbe
use sudo
bjia56 Jan 26, 2024
0b81d74
remove tarballs
bjia56 Jan 26, 2024
f548449
skip apt upgrade
bjia56 Jan 26, 2024
66583de
quiet wget
bjia56 Jan 26, 2024
4b5f807
switch all to fork
bjia56 Jan 26, 2024
9278247
update deps and compilation
bjia56 Jan 26, 2024
40fe140
drop tcl/tk for now
bjia56 Jan 26, 2024
f2ec093
ncurses config settings
bjia56 Jan 26, 2024
31c81c9
add gha groups
bjia56 Jan 26, 2024
fc4918e
copy over patching from old linux build
bjia56 Jan 26, 2024
a86ed6f
fix install dir
bjia56 Jan 26, 2024
0a32752
skip 3.8 for now
bjia56 Jan 26, 2024
73a0856
switch order of args
bjia56 Jan 26, 2024
298fb89
add aarch64
bjia56 Jan 26, 2024
c88da92
set CHOST
bjia56 Jan 26, 2024
153b66c
specify openssl target
bjia56 Jan 26, 2024
cafc3bb
use Configure
bjia56 Jan 26, 2024
4f63e1f
more cross compile flags
bjia56 Jan 26, 2024
702fe7b
more cross compile flags
bjia56 Jan 26, 2024
676ed10
more cross compile flags
bjia56 Jan 26, 2024
ff36ae0
add qemu
bjia56 Jan 26, 2024
5de5563
Disable ncurses stripping
bjia56 Jan 26, 2024
53bcc6e
remove qemu, add cmake system processor flag
bjia56 Jan 26, 2024
5f03584
Merge remote-tracking branch 'origin/zig' into zig
bjia56 Jan 26, 2024
b76f63d
tar build folder on exit
bjia56 Jan 26, 2024
acfc915
add qemu interpreter for platform detection program
bjia56 Jan 27, 2024
a8b7ebf
install qemu-user-static
bjia56 Jan 27, 2024
71de36b
use separate interpreter scripts
bjia56 Jan 27, 2024
a543a8e
symlink ld, pass all args to qemu
bjia56 Jan 27, 2024
be1d689
don't clobber existing rpath
bjia56 Jan 27, 2024
3bc974b
try adding libm
bjia56 Jan 27, 2024
a6270f4
try adding libpthread
bjia56 Jan 27, 2024
a7039ba
add more missing libs
bjia56 Jan 27, 2024
3134ddb
initial refactoring for armv7
bjia56 Jan 27, 2024
122b6df
Tweak elf dep checking and running compiled result
bjia56 Jan 27, 2024
0cb9ead
initial pass at arm cross compile
bjia56 Jan 27, 2024
78f224b
set gnueabihf
bjia56 Jan 27, 2024
63f533d
arm fixes
bjia56 Jan 27, 2024
dfce226
gnueabihf CHOST
bjia56 Jan 27, 2024
1b6702a
arm flags
bjia56 Jan 27, 2024
9beed29
tweak arm flags
bjia56 Jan 27, 2024
9659aa6
Revert "tweak arm flags"
bjia56 Jan 27, 2024
3fb0520
Revert "arm flags"
bjia56 Jan 27, 2024
bfb670c
Revert "gnueabihf CHOST"
bjia56 Jan 27, 2024
dcd15c6
Revert "arm fixes"
bjia56 Jan 27, 2024
d6496ff
Revert "set gnueabihf"
bjia56 Jan 27, 2024
ca8d4aa
Revert "initial pass at arm cross compile"
bjia56 Jan 27, 2024
1b59f06
build armv7l with old method
bjia56 Jan 27, 2024
16fa71a
Revert "build armv7l with old method"
bjia56 Jan 27, 2024
17e709c
refactor workflow
bjia56 Jan 27, 2024
dbc0fa5
make workflow names more descriptive
bjia56 Jan 27, 2024
9eaca7f
refactor and consolidate
bjia56 Jan 27, 2024
14c9118
remmove condition
bjia56 Jan 27, 2024
809f215
test zig builds
bjia56 Jan 27, 2024
b8509f8
Merge remote-tracking branch 'origin/main' into zig
bjia56 Jan 27, 2024
1648ab6
test ssl on all platforms
bjia56 Jan 27, 2024
538fba6
Use zig 0.10.0
bjia56 Jan 27, 2024
4acf5de
Revert "Use zig 0.10.0"
bjia56 Jan 27, 2024
974b6cd
add ninja
bjia56 Jan 28, 2024
b6db3a4
swap zig setup
bjia56 Jan 28, 2024
81743e8
zig tweaks
bjia56 Jan 28, 2024
e36c159
Revert "zig tweaks"
bjia56 Jan 28, 2024
e6e06fb
zig tweaks
bjia56 Jan 28, 2024
d194b8a
zig version
bjia56 Jan 28, 2024
914cfcb
sudo fixes
bjia56 Jan 28, 2024
6efd7c7
Revert "zig tweaks"
bjia56 Jan 28, 2024
576fa76
remove shim
bjia56 Jan 28, 2024
222a662
add option to run tests
bjia56 Jan 28, 2024
96ac483
Merge remote-tracking branch 'origin/zig' into zig
bjia56 Jan 28, 2024
1a3e674
propagate test flag
bjia56 Jan 28, 2024
63aa347
set default
bjia56 Jan 28, 2024
ce5d71c
build extensions as builtin
bjia56 Jan 28, 2024
4b35623
use shared libs instead
bjia56 Jan 28, 2024
0974d57
install tests if requested
bjia56 Jan 28, 2024
a1f5a24
fix vars
bjia56 Jan 28, 2024
30d71ed
disable libuuid shared
bjia56 Jan 28, 2024
789aea3
use zig ranlib
bjia56 Jan 28, 2024
d317a19
disable libmpdec++
bjia56 Jan 28, 2024
f893e23
set cmake search path
bjia56 Jan 28, 2024
0e95c97
Revert "remove shim"
bjia56 Jan 28, 2024
46bdd15
back to shims
bjia56 Jan 28, 2024
a395177
fix env silliness
bjia56 Jan 28, 2024
6d6f4f2
Revert "use shared libs instead"
bjia56 Jan 28, 2024
f8d85c1
fix missed merge conflict
bjia56 Jan 28, 2024
31cbb2d
patch librt
bjia56 Jan 28, 2024
80f84ac
build tests
bjia56 Jan 28, 2024
ed3f461
tweak test suite invocation
bjia56 Jan 28, 2024
c06b435
fix indent
bjia56 Jan 28, 2024
c901fd0
fix sysconfig CC, etc.
bjia56 Jan 28, 2024
a1f2cc1
bring back 3.8
bjia56 Jan 28, 2024
13f9baf
add libexpat
bjia56 Jan 28, 2024
7994fb6
heavy-handed overrides for sysconfig
bjia56 Jan 28, 2024
2739a72
run test container using bash
bjia56 Jan 29, 2024
9b484c6
Merge remote-tracking branch 'origin/zig' into zig
bjia56 Jan 29, 2024
a8dd285
add x11 and deps
bjia56 Jan 29, 2024
4d0825c
add x11 to cmake args
bjia56 Jan 29, 2024
ef6e441
add libgcrypt
bjia56 Jan 29, 2024
ba2d2a6
add cross compile flags
bjia56 Jan 29, 2024
26cdf7b
add libgpg-error
bjia56 Jan 29, 2024
0301557
cflags and ldflags
bjia56 Jan 29, 2024
e7bc585
move cflags and ldflags
bjia56 Jan 29, 2024
f0d5976
newer libgcrypt
bjia56 Jan 29, 2024
b87f34d
libgcrypt ldflags
bjia56 Jan 29, 2024
f7204fb
disable libgcrypt asm
bjia56 Jan 29, 2024
de29b70
add brotli
bjia56 Jan 29, 2024
ceef8c9
use gha artifact v4
bjia56 Jan 29, 2024
8ab0d71
add libpng16
bjia56 Jan 29, 2024
027ad71
set cflags ldflags early
bjia56 Jan 29, 2024
774794d
fix artifact upload
bjia56 Jan 29, 2024
35df9d4
cross compile zlib
bjia56 Jan 29, 2024
8ffe612
Revert "cross compile zlib"
bjia56 Jan 29, 2024
584c1f1
try older ncurses
bjia56 Jan 29, 2024
12e9491
use explicit zlib prefix
bjia56 Jan 29, 2024
58a27d0
disable libpng tools
bjia56 Jan 29, 2024
ed6adb2
try more fixes
bjia56 Jan 29, 2024
b4c3167
skip cross compile flag for ncurses on x86_64
bjia56 Jan 29, 2024
168e1a1
add zlib dev headers
bjia56 Jan 29, 2024
c2c91a7
Tar entire build dir
bjia56 Jan 29, 2024
0c5da24
set cpp cxx flags
bjia56 Jan 29, 2024
8daad71
system ncurses binaries
bjia56 Jan 29, 2024
d3f7f94
cross compile flags
bjia56 Jan 29, 2024
116f633
disable tic build
bjia56 Jan 29, 2024
ad80249
X11 compile flags
bjia56 Jan 29, 2024
d5d30b4
Move configure flags to env var
bjia56 Jan 29, 2024
800fa0a
Add gnu
bjia56 Jan 29, 2024
c9fcfbc
switch to cached dependency archives + add sha256sums
bjia56 Jan 30, 2024
5faf307
Merge remote-tracking branch 'origin/zig' into zig
bjia56 Jan 30, 2024
64e0dfd
build ncurses shared
bjia56 Jan 30, 2024
f7a307f
Use libtool
bjia56 Jan 30, 2024
0248665
Libtool path
bjia56 Jan 30, 2024
b76192e
Add libtool bin
bjia56 Jan 30, 2024
7a08139
link readline against curses
bjia56 Jan 30, 2024
94e13f4
Disable shared readline
bjia56 Jan 30, 2024
24c7441
build x11 libs individually
bjia56 Jan 30, 2024
5ea93c5
use correct bash function
bjia56 Jan 30, 2024
8021503
some x11 libs install to share/pkgconfig
bjia56 Jan 30, 2024
ad41689
add xorgproto
bjia56 Jan 30, 2024
54e6b1c
tweak ci output
bjia56 Jan 30, 2024
df3e840
malloc(0) returns null
bjia56 Jan 30, 2024
fb30c5f
selectively set configure flags
bjia56 Jan 30, 2024
5873abd
reduce external source pulls
bjia56 Jan 30, 2024
3b21c86
curl follow redirects
bjia56 Jan 30, 2024
e94e8fe
minor tweaks
bjia56 Jan 30, 2024
8a1df78
fix windows lf
bjia56 Jan 30, 2024
8102962
fix download + better curl flags
bjia56 Jan 30, 2024
15b8bbc
unset compiler flags for cmake
bjia56 Jan 30, 2024
6464dc8
Revert "unset compiler flags for cmake"
bjia56 Jan 30, 2024
4f4b0e9
exclude system headers
bjia56 Jan 30, 2024
7983139
compile static tcl
bjia56 Jan 30, 2024
33774a9
static tk
bjia56 Jan 30, 2024
36b3c80
static lib tweaks
bjia56 Jan 30, 2024
37731dc
static libxml
bjia56 Jan 30, 2024
65431f0
link static libxml
bjia56 Jan 30, 2024
8405637
fontconfig without xml2
bjia56 Jan 30, 2024
f7d6fc6
link expat
bjia56 Jan 30, 2024
52e82d0
Link expat
bjia56 Jan 30, 2024
24df6d2
Link fontconfig, freetype
bjia56 Jan 31, 2024
3529deb
Add expat
bjia56 Jan 31, 2024
c31572c
disable shared expat
bjia56 Jan 31, 2024
e0ab404
Remove expat from python
bjia56 Jan 31, 2024
837edd2
Revert "fontconfig without xml2"
bjia56 Jan 31, 2024
ca4d4af
switch to xml2
bjia56 Jan 31, 2024
059f50b
only archive build dir if requested
bjia56 Jan 31, 2024
c389f60
copy in tcl/tk
bjia56 Jan 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
build ncurses shared
bjia56 committed Jan 30, 2024
commit 64e0dfdec8f9d5a441da1da87f8354e96f48e119
2 changes: 1 addition & 1 deletion scripts/build_linux_zig.sh
Original file line number Diff line number Diff line change
@@ -169,7 +169,7 @@ cd ${BUILDDIR}

download_verify_extract ncurses-6.4.tar.gz
cd ncurses*
./configure --host=${ARCH}-linux --with-normal --without-progs --enable-overwrite --disable-stripping --prefix=${DEPSDIR}
./configure --host=${ARCH}-linux --with-normal --with-shared --without-progs --enable-overwrite --disable-stripping --prefix=${DEPSDIR}
make -j4
make install