Commit Graph

163 Commits

Author SHA1 Message Date
dzaima
0ae0be135c bump for_build binary
has been over a year
2025-05-01 22:53:45 +03:00
dzaima
db6118489d make make install work on macos 2025-03-03 00:24:12 +02:00
dzaima
9eeee12d53 add shared-o3n make target 2025-03-02 23:51:43 +02:00
Siva Mahadevan
a18f547b44 build: fix on systems with bmake as make impl
For example, on FreeBSD, bmake is the default make implementation. Thus, to
build CBQN, we must use 'gmake' invocations. This patch fixes the hardcoded call
to 'make' in build/build.
2024-10-13 21:46:52 -04:00
dzaima
d24031a125 add target_from_cc=1 option 2024-10-01 21:56:57 +03:00
dzaima
afa3353b35 fix makefile having incorrect name of stored-warn 2024-07-26 00:01:54 +03:00
dzaima
8761613899 don't require bash 2024-06-05 02:14:43 +03:00
dzaima
1f4d1fce0b build/build: warning caching 2024-04-20 03:38:51 +03:00
Dimitri Lozeve
619cf56bad Create install directories if they don't exist 2023-12-12 19:35:14 +01:00
dzaima
469cf08647 nogit=1 option, various readme changes 2023-11-22 20:54:43 +02:00
dzaima
96da7af1c2 add usz=64 make option, document limitations 2023-11-22 20:27:44 +02:00
dzaima
4cf0634b80 rearrange makefiles, remove replxx support from build/makefile 2023-11-21 00:18:18 +02:00
dzaima
4da38bc46c move makefile-based CBQN building to build/makefile
reduces latency of build.bqn-based builds going through the makefile by making logic for CBQN building not run (all makefile ifeq/$(shell)/etc logic always runs regardless of whether it'll ever be used for the current build)
2023-11-20 14:24:05 +02:00
dzaima
31bfaff9dd make static-lib, do more things in make install/uninstall 2023-10-29 21:34:59 +02:00
dzaima
1ec48bb761 cleanup
makefile doesn't care about emcc anymore
2023-10-21 14:46:41 +03:00
dzaima
b237f170fb bump for_build binary
hasn't been bumped since •file.RealPath was added, which Singeli currently conditionally uses (and thus won't in older for_build-s); now •file.RealPath will be guaranteed to exist at build-time
2023-08-19 18:25:52 +03:00
dzaima
fd4477992f fall back from clang to cc in build.bqn & default makefile to cc
even without the makefile change here, a `make o3` will work without clang, but it gave harmless errors from the CC_IS_CLANG check before the makefile recurses to where the custom CC is set (and CC_IS_CLANG recomputed)
2023-08-04 22:27:41 +03:00
dzaima
774fb9b72f move static linking management to build.bqn 2023-06-19 12:27:49 +03:00
dzaima
fe3135213e
Merge pull request #85 from dancek/static-build-target
Add target `make musl-static`
2023-06-19 12:26:12 +03:00
Hannu Hartikainen
fb5efa3104 Add target make static-bin 2023-06-19 10:02:42 +03:00
dzaima
4f8f4afba1 fix CC= being ignored for for-build 2023-05-28 19:35:54 +03:00
dzaima
227dfa20c7 use isatty as a default for notui 2023-05-25 00:16:16 +03:00
dzaima
32841f43a1 readme updates, disable more things in make for-bootstrap 2023-05-17 17:35:38 +03:00
dzaima
3764e89fc3 remove Singeli usage from the makefile 2023-05-12 20:51:25 +03:00
dzaima
a3e8a1388d move all targets to build.bqn with Singeli & REPLXX enabled by default 2023-05-12 20:51:25 +03:00
dzaima
ea4da381f2 CXXFLAGS, notes on cross-compilation 2023-05-11 17:32:09 +03:00
dzaima
3312406774 slightly nicer error on failed submodule initialization 2023-05-11 17:19:18 +03:00
dzaima
3ea998a41a fix make for-build inheriting more properties 2023-04-23 15:11:58 +03:00
dzaima
d2ac5db1c8 move ⎉ & ˘ to their own file 2023-04-22 17:20:05 +03:00
dzaima
21ed8f77a7 add 'shared wasi' to build.bqn; redirect all wasm targets to build.bqn 2023-04-22 01:36:37 +03:00
Antti Keränen
885187a5ec Add wasi-reactor-o3 target
This allows compiling CBQN as WASI "shared object", also known as
reactor.
2023-04-22 00:49:20 +03:00
dzaima
cbf5ae5aa5 add compare.c compiling to makefile 2023-04-14 20:37:52 +03:00
Marshall Lochbaum
b655dd4771 AVX2 counting function for small-range 1-byte /⁼ 2023-04-06 11:32:04 -04:00
dzaima
c76adb8b35 default to •internal.EEqual comparing 0 and ¯0 as equal 2023-04-02 15:29:11 +03:00
dzaima
8c76561883 move shared library builds to build.bqn, update readme 2023-03-31 22:17:07 +03:00
dzaima
13eebb1759 move all singeli builds to build.bqn, add has=
also:
include commit-based version by default for build/build
expand things included in --version
don't require Singeli for BMI2 usage in bitarr/bitarr
2023-03-31 19:15:23 +03:00
dzaima
dc2ac37e0a arch-independent Singeli builds 2023-03-31 16:45:29 +03:00
dzaima
b02be62486 build/build-using makefile targets 2023-03-25 01:10:30 +02:00
dzaima
98f4df88d0 whitespace 2023-03-23 18:35:55 +02:00
dzaima
3178241d9a update Singeli, move "make forbuild" to "make for-build" 2023-03-23 18:08:40 +02:00
dzaima
662fd83c40 fix typo 2023-03-23 17:58:50 +02:00
Marshall Lochbaum
ff6361e363 Move tranpose to its own file 2023-03-22 15:14:08 -04:00
dzaima
66e82f078c include bootstrap utilities 2023-03-22 18:56:23 +02:00
dzaima
afd4288cf2 check for hash success in makefile 2023-03-18 21:56:54 +02:00
dzaima
6d03071ae6 SIMD i32 transpose 2023-02-26 01:19:54 +02:00
dzaima
71a6c592dc add even more explicit -fPIE for makefile replxx 2023-01-25 14:08:21 +02:00
dzaima
721dd8889b monadic arith 2023-01-23 01:22:40 +02:00
dzaima
86e0a4bae1 makefile: default to -fPIE on REPLXX=1
CXX may have different preferences on PIEness, we want to give it the option
2023-01-17 01:44:12 +02:00
dzaima
52d78657c9 some windows flags in makefile 2023-01-13 05:30:46 +02:00
dzaima
b25f83f3de default make forbuild to cc instead of clang 2023-01-12 16:31:50 +02:00