Commit Graph

28 Commits

Author SHA1 Message Date
casey langen
4f44829cda
Improve cross-compile support (#634)
* Update minimum CMake version requirement to get rid of warning.
* Include CMake compile commands for easier diagnostics.
* More improvements to arm toolchain selection while cross-compiling third-party dependencies.
* Use x-tools provided cmake toolchains
* Add a script to download and extract deb dependencies for crosscompile.
* Link against libstdc++ statically when cross-compiling to ARM to improve portability.
* Update GeneratePackage.cmake to generate better filenames.
* Ensure symbols are stripped properly when cross-compiling
* Remove old scripts that are no longer required
* Add script to install x-tools
* Add some docs that describe how to setup a crosscompile environment.
* Add docs for building standlone on Linux
* Update CHANGELOG
* Update version hash.
2023-09-07 22:05:43 -07:00
casey langen
4b3a33f2a9 Fix RPM architecture for non-x86_64 builds. 2023-05-07 11:58:48 -07:00
casey langen
01addae612 Ensure we send the pwd to patch-rpath when building standalone 2023-03-25 16:54:07 -07:00
casey langen
7f8d5cf28f Fix vendor directory for RPI crosscompile 2022-12-25 14:03:14 -08:00
casey langen
3c189301b4 Better file naming for rpi builds. 2022-12-25 14:00:11 -08:00
casey langen
f2b430f13c Remove _standalone prefix in filenames and directories for vendor'd
builds.
2022-12-25 13:32:56 -08:00
casey langen
7b5d824209 cmake hack to prevent cpack from re-generating binaries after they
have been stripped/patched.
2022-12-22 23:19:42 -08:00
casey langen
8a93388a49 Remove a bunch of old, unused scripts. 2022-12-13 21:07:07 -08:00
casey langen
c33265ec49 More rpath patching updates. 2022-12-03 16:48:36 -08:00
casey langen
783aedf665 Separate staging and patching vendor library steps. 2022-12-03 16:41:38 -08:00
casey langen
f3a2074a9e Fix rpi standalone build after recent cmake refactors. 2022-04-23 15:15:02 -07:00
Casey Langen
1b2a4627c3 Added a new script to scan standalone plugin dependencies at archive
time to make sure they aren't referencing anything external.
2022-02-17 21:39:45 -08:00
casey langen
e40d11e14c Re-enable PCH. 2022-02-17 10:57:24 -08:00
casey langen
79875fe764 Cross-compile support and various other build cleanups. 2022-02-17 01:45:22 -08:00
casey langen
358b7fdb31 Add RPM generation. 2022-02-15 18:41:43 -08:00
casey langen
2d31324bd5 Hard-code compatible arch for now. 2022-02-15 17:07:50 -08:00
casey langen
6c49626ade Turn off verbose flag. 2022-02-15 16:55:28 -08:00
casey langen
19c1d33516 The archive script also now generates debs. 2022-02-15 16:54:44 -08:00
casey langen
977f902202 Archive terminfo as well. 2022-02-13 22:45:17 -08:00
Casey Langen
3a590caf23 Use brew --prefix instead of hard coding brew path. 2022-02-13 19:49:48 -08:00
casey langen
e17a65b2fe Bundle terminfo for standalone builds. 2022-02-13 18:02:38 -08:00
casey langen
6e3fe7fbc8 Minor bug fixes to library staging. 2022-02-12 21:32:20 -08:00
casey langen
c7baa7f698 Update archive name and tweak job count based on CPU cores. 2022-02-11 10:54:16 -08:00
Casey Langen
14f1d20005 Use more user-friendly OS name when archiving standalone builds. 2022-02-11 10:37:00 -08:00
casey langen
1a068f1bae More minor script fixes. 2022-02-10 20:08:36 -08:00
casey langen
0f80b32674 Use Debian Buster paths instead of Ubuntu for standalone archive. 2022-02-10 17:15:06 -08:00
casey langen
1498f08b53 Disable PCH for now -- introduces a symbol conflict with libev in the daemon. Ugh. 2022-02-10 01:20:34 -08:00
casey langen
d15cfb06a2 Script rename for clarity. 2022-02-10 00:39:29 -08:00