Commit Graph

49 Commits

Author SHA1 Message Date
stephan
5bae363b99 More build doc tweaks and get ./startup building.
FossilOrigin-Name: cee285029c7225a2457062eb2b4ea7c6a17a3a5ba5fb776ebbb4ea8be62b9fff
2024-10-21 19:51:32 +00:00
stephan
59ac8f4c7f Add docs introducing how to define and use autosetup configure flags. Use -DJIM_COMPAT when building jimsh to force its expr command to be syntax-compatible with canonical TCL.
FossilOrigin-Name: a6a275de3d975fdf7432d71a915b40426a976725ebd81a178b5e80d14cf3a2df
2024-10-21 16:06:49 +00:00
stephan
a3d219a794 Build doc touchups.
FossilOrigin-Name: 109d441bf1bcdbc01d1f3f2aa145039539fc5aad02f91fc987a0c3702e21809d
2024-10-20 02:47:56 +00:00
stephan
ec5e611935 Cosmetic tweaks to auto.def.
FossilOrigin-Name: 476d2407e52ebf66e18f4f5f70c7c2a37bb4d253969c23e1e75d4cb0460a93e0
2024-10-20 01:41:36 +00:00
stephan
8bdece9034 Do not check for Emscripten when doing a --with-wasi-sdk build.
FossilOrigin-Name: 111cff2cf38886ccec11b45db8b891ec84e24d0b61d413b35fd474b51003e8f2
2024-10-20 01:14:54 +00:00
stephan
f9c73ef7c5 Generic build cleanups and reorgs.
FossilOrigin-Name: 365a3d71cf9e0be11e7b3e90b6500142619102d8321c1d6f8111f37117a57929
2024-10-20 01:09:51 +00:00
stephan
003d304c9b More build cleanups and get it working with BSD make (which apparently does not support $< and behaves slightly differently than gmake with X?=Y).
FossilOrigin-Name: dcf4fc78fb2813d37eb56c358009f1e5225f28a0c85c710c8127db330efaf319
2024-10-19 20:53:46 +00:00
stephan
abf470d7a3 Factor out all autosetup-processed @if/@else blocks from Makefile.in in prep for moving most of the makefile code into main.mk (which has, so far, been completely overlooked in this port but will now become the main basis for the static parts of the build). The idea is that all build configuration goes into a platform-dependent makefile which then includes main.mk.
FossilOrigin-Name: 707e0f5857d58ec8b457270f988126b1dd0f01b5a3445a43ff7b5429324b1b3d
2024-10-19 18:31:47 +00:00
stephan
816f4b9cc1 Generic build cleanups.
FossilOrigin-Name: 510afccf02dc9c3e3b928c64c34d10bee66a2343ecec6e24c4770cb0f139cd65
2024-10-19 16:58:17 +00:00
stephan
b08f1d5d97 Get mptest(er) building.
FossilOrigin-Name: f740f6a4447543751800465ddfa11c9e3c89fb7054a9dfb5450938885b8f9633
2024-10-19 00:49:01 +00:00
stephan
20755cef7d Get most of the fuzzing-related apps building, sans dbuzz2-asan/msan, both of which refuse to link with clang v18 because it's trying to use -lstdc++ despite the app being only C.
FossilOrigin-Name: 3e843452927aaea152eab60213337912c34966e2c77d3cfd50d2ee9eb77c6796
2024-10-18 16:39:17 +00:00
stephan
2a1a3d6af5 General cleanups. Rename BTCL to BTCLSH for some clarity.
FossilOrigin-Name: 83eaef7d62677a85a2c42f98d52ff2e8e5356724ad6d12b2907409d96d4757f1
2024-10-17 22:19:37 +00:00
stephan
ead26840b8 Get testfixture building.
FossilOrigin-Name: 9a7e56a01703fdcb4c83481d33d48bd4c8e6a5586c1315bae36fdff34a1b3bd1
2024-10-16 14:04:00 +00:00
stephan
c7b822082e More work on the tcl build bits.
FossilOrigin-Name: f00988a909dd4338083a6e09231932c6fa57a40e35968c51483615121d20d25f
2024-10-09 07:12:32 +00:00
stephan
49bb81844c Generic build cleanups.
FossilOrigin-Name: 2cd213b38748d93134dc88b25aada4741838eaed683e44d5cc7837a6586fa4cf
2024-10-09 05:28:29 +00:00
stephan
114e0543af More work on the --with-tcl bits.
FossilOrigin-Name: 4d4cc49b6a886fef9a7b3af78a7b752c199045904a1bf74912adae2e8fd360ad
2024-10-09 04:27:03 +00:00
stephan
f400f41fde Get much of the --with-tcl-related bits working.
FossilOrigin-Name: 4e4a740369d3edc58d35c660b1ea73ee381503f82a98a4b770fd07cef1704e8b
2024-10-09 04:01:14 +00:00
stephan
59ded3ff14 Get some basic install rules working.
FossilOrigin-Name: e9ab211f82f789c89ab52e8d5fe7526c09943b2b8b3002fa7a16fb2b40addc8f
2024-10-08 16:06:11 +00:00
stephan
aca993423f Add static library build. Get build working (for a given value of working) with the --disable-amalgamation flag.
FossilOrigin-Name: ddfda58004fa3e43c4f2d497c6feecbea3b195d14196bf179f4aafd21ea089ea
2024-09-30 19:01:41 +00:00
stephan
c4c951adbe More generic build tinkering.
FossilOrigin-Name: 433bfc790258e1d2e7c9ea4839a9edb25dde0b99d1e888d1e2a4cf669825fb79
2024-09-30 17:44:41 +00:00
stephan
0831b3a989 Generic build tinkering.
FossilOrigin-Name: b6c1772ce0278988ecaea485c4feb8b0919fa1530f0c53b8321d9bd2277b5acd
2024-09-30 14:33:36 +00:00
stephan
595a2532f3 Get libsqlite3.so building.
FossilOrigin-Name: c65e3679e0d28e980bb555b47f31690b27915d9ff0850f598e3bed528b18ca1d
2024-09-28 14:51:10 +00:00
stephan
05c5e76c94 Add basic libreadline detection and build CLI shell.
FossilOrigin-Name: 2ba7ab562580667bc9249f2d1f2402c605553d5583eec497398abe6d196c83d4
2024-09-27 13:29:50 +00:00
stephan
1865e85e0b General tinkering and cleanups in the autosetup bits.
FossilOrigin-Name: a290e3b15de75f6a0a4975b5747449525fb2b58b3947b8ca0ab64a4d3cca228e
2024-09-27 12:15:14 +00:00
stephan
c139ad34de Rename TCL_GENERATOR to BTCL for consistency with BCC/TCC.
FossilOrigin-Name: a7ff8f3c2c86f435a08d568a07f019a59dcca8f66a719d242289fa0c7097c2af
2024-09-27 09:40:55 +00:00
stephan
8d2f6c13e3 Disable the optional extending of JimTCL on the grounds of YAGNI.
FossilOrigin-Name: f395c269d55c2b5ceb074f26d0b63f65b1f04ec513fe203c7e73e3a876b1f055
2024-09-27 03:16:01 +00:00
stephan
3c6db6831d General auto.def cleanups, mostly around JimTCL. Swap out impl for the sqlite_cfg.h generator - this approach is lower-maintenance (requires no hand-maintained template) but may not be compatible with expectations.
FossilOrigin-Name: da197946dbaacedb6e74827db9b5dd195d4aaf78ad9411a14aca732ab77917c6
2024-09-27 03:04:16 +00:00
stephan
587256a634 Tweak build to fall back to system-side tclsh if we cannot find realpath() or _fullpath() for JimTCL (needed for some of the code generator scripts to work).
FossilOrigin-Name: b31dbb9945d0ac5e22d146565443bcdc0dd1a1c83034cfb5867b2303ada2bdea
2024-09-27 02:35:41 +00:00
stephan
02616ccf29 Get the generated .c/.h files generating.
FossilOrigin-Name: e890c8508da4e126f43c61f809f750d6cb2d7d01600fe2173fbcd7dabbfce0fd
2024-09-27 01:00:32 +00:00
stephan
c2da952f5d Get lemon building. Re-indent hwaci-common.tcl for consistency.
FossilOrigin-Name: 53dc33d5e20062e8c4c9856349bbc143c858327ef41f356ffcc574b36d0cc73c
2024-09-26 18:40:07 +00:00
stephan
cda0d6fd74 Cleanups of the --with-wasi-sdk bits. Straighten out VERSION vs RELEASE.
FossilOrigin-Name: 7638f3ad1588ff16c2980763c6c4c1386a711acd64adb21c465f186a47bc975d
2024-09-26 12:16:46 +00:00
stephan
b1e1d9f3d4 Merge current trunk into this branch.
FossilOrigin-Name: 683a9e1e2f68a5c34fe524867576a4405fa2460880ad0bf4c07799744fea4192
2024-09-26 08:53:37 +00:00
stephan
1bc8f07f20 Remove a misled acrobatics related to cross-compilation, based on suggestions from Steve Bennett. Add a quick-n-dirty placeholder check for tclsh to move that part along.
FossilOrigin-Name: c419168938b009b2cf8a42a01272971497b5329792ccb8cef235f47ab5f142e2
2024-09-26 08:25:10 +00:00
stephan
bb12cdc11b Time for a break.
FossilOrigin-Name: 1d29cd9095595b7b027b90d644dc4767fde0b6f98316c0eb82014b7aad6770d7
2024-09-25 23:09:38 +00:00
stephan
220434abdd Integrate the configure-time Emscripten bits.
FossilOrigin-Name: 456125a14454180d608d8f5bc651aa4350958cdd14f4011ef540beb278ca2d51
2024-09-25 22:13:49 +00:00
stephan
ae49b334c2 Further streamlining of auto.def.
FossilOrigin-Name: 74d12433599e2f189d8d0a44be834651531ac5a215bf42de386053cd00d29162
2024-09-25 18:03:26 +00:00
stephan
2615879760 Improve common feature flag handling a bit.
FossilOrigin-Name: 8716c35eaa168677a10de7b4aa55d35c54035f5e685cc1a5890b940a41cc6ff7
2024-09-25 14:58:09 +00:00
stephan
13aea08683 Lots of work on auto.def and the utility tcl lib. Still lots more to do.
FossilOrigin-Name: 2141527a38ca8170e79b5b5e664378f0d8464055119f5b986e5d7b1be75e919e
2024-09-25 14:38:46 +00:00
stephan
aaef970446 Change --enable-tempstore to --with-tempstore to avoid the uphill (and losing) battle with autosetup's built-in handling of the --enable/--disable prefixes.
FossilOrigin-Name: 8bea45fbbf8557760e792cdfcede72afa9e25dd7b90e4ce3297efebe8d0cfb1c
2024-09-25 12:16:13 +00:00
stephan
2d0b1ae73b Baby steps towards a working auto.def.
FossilOrigin-Name: c223dbb4fb8e800089752617c6c986b6c80be0d180e9d1610f28cf95253e5674
2024-09-25 08:04:14 +00:00
stephan
cf9d95002e Add --enable-tempstore support and document some of the weirdness of trying to use an explicit prefix of --enable with non-boolean flags (autosetup unconditionally handles --enable and --disable prefixes on its own and always treats them as boolean flags).
FossilOrigin-Name: fe6fa4ce5271c6265985574e1c406dda5b57f0dc360626800b6173a8f054bdab
2024-09-25 07:30:54 +00:00
stephan
4e0208fd8e Re-enable the --enable-all bits after figuring out that autosetup(options) is not a dict, but a list.
FossilOrigin-Name: beb2a12045447586cc74f243d4f519c967595d929abe6330c2b1049897e8eaad
2024-09-25 06:25:33 +00:00
stephan
bbd6ba04b9 Disable with --enable-all bits, as the helper function it uses is dying for reasons beyond my meager tcl-fu.
FossilOrigin-Name: d2b883120e7ab374092d2bdef0faa22eaa9639cb103f9fbbbbfd16639fbfd323
2024-09-25 06:07:54 +00:00
stephan
4b5adfc6ba Correct some copy/paste errors in the previous checkin.
FossilOrigin-Name: 9752768d8a83052cb69fa07d51e2c82e710c20482cc02c33a4412ffdfa3dc699
2024-09-25 04:34:16 +00:00
stephan
dd5b962a15 Get --enable-all flag essentially working.
FossilOrigin-Name: 0a49436c983848c3d88f3f5ec33fb9ac31cce62e94bf515ab1c357a10f5cd515
2024-09-25 04:20:58 +00:00
stephan
63c4d89ae1 Get several of the --enable/--disable configure flags working.
FossilOrigin-Name: fd16d53d3a95cd4f5f81f4b1b09955f04c89116586aa16fa01627ae4904d587b
2024-09-25 03:37:34 +00:00
stephan
e6b41c4641 Testing libfossil checkin fix for inheritance of privateness.
FossilOrigin-Name: 4b104926bf0862a5088e51549c2d688c2af649d45bf0e396cc48e171bed06b0a
2024-09-25 02:00:09 +00:00
stephan
f4321fff36 Get skeleton auto.def running, but it doesn't really do much except some standard boilerplate stuff.
FossilOrigin-Name: e707634cf755346752bb83b7be5d0c683e39d6e0a497846019323fed31c08b9d
2024-09-25 01:39:39 +00:00
stephan
6219872845 Initial pristine autosetup bits.
FossilOrigin-Name: dfb1e7f0cce9bc79c43eee7208cad0e2df562b2bc9705d3a36fd78f86c75495b
2024-09-24 21:08:49 +00:00