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
dzaima
fd38a5b241
use Ryu for number formatting
2022-12-31 03:19:06 +02:00
dzaima
251385e276
quote ${MAKE} invocations
2022-12-28 17:48:21 +02:00
dzaima
bcfcbb0813
add -fno-strict-aliasing
2022-12-27 23:42:54 +02:00
dzaima
d92d64257d
add removing build/obj2 to make clean
2022-12-26 19:39:51 +02:00
dzaima
c818bf54b1
remove need of libffi from make forbuild
2022-12-26 19:38:24 +02:00
dzaima
11005b8bf8
remove default -no-pie
2022-12-24 15:46:34 +02:00
dzaima
3d34155f83
actually add -O2 to make forbuild build
2022-12-24 15:28:55 +02:00
dzaima
bb7fe02a45
separate checks for x86-64 & NEON Singeli importing
...
& restrict the processed Singeli files on NEON to the ones supported
2022-12-24 15:27:53 +02:00
dzaima
d38316e670
BQN-based build system
2022-12-23 23:09:55 +02:00
dzaima
baad87c706
clean up make clean= & builddir=
2022-12-20 19:52:41 +02:00
dzaima
2d1882fae2
more easily configurable job count
2022-12-20 19:08:48 +02:00
Marshall Lochbaum
7cb8cf5772
Enable selection with AVX2 gather for i8 to i32 indices and 1- to 8-byte values
2022-11-27 09:18:21 -05:00