diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-05-16 15:43:09 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-05-16 15:43:09 +0200 |
| commit | 30b43f08955158d4f2066f4b50fe8d1241b3177b (patch) | |
| tree | f2280c40a9ee721ac3223ec27e9ddbec6db224df /build | |
| parent | c2f3b1c9c534cadc81ebab3e718832d121cdf9cf (diff) | |
| download | nissy-core-30b43f08955158d4f2066f4b50fe8d1241b3177b.tar.gz nissy-core-30b43f08955158d4f2066f4b50fe8d1241b3177b.zip | |
Remove configure + make build system.
This commit also updates the README, cleans up some stuff and fixes
some oopsies.
Diffstat (limited to 'build')
| -rwxr-xr-x | build | 22 |
1 files changed, 19 insertions, 3 deletions
| @@ -171,8 +171,24 @@ build_config() { | |||
| 171 | echo "Max threads: $THREADS" | 171 | echo "Max threads: $THREADS" |
| 172 | echo "Optimization options: $OFLAGS" | 172 | echo "Optimization options: $OFLAGS" |
| 173 | echo "Debug flags: $DFLAGS" | 173 | echo "Debug flags: $DFLAGS" |
| 174 | echo "WASM compiler: $EMCC" | 174 | echo "" |
| 175 | echo "nodejs executable: $NODE" | 175 | |
| 176 | echo "Optional features:" | ||
| 177 | |||
| 178 | printf '%s' "WASM compiler: " | ||
| 179 | if (validate_command "$EMCC" >/dev/null); then | ||
| 180 | echo "$EMCC" | ||
| 181 | else | ||
| 182 | echo "Not found, web target won't be available" | ||
| 183 | fi | ||
| 184 | |||
| 185 | printf '%s' "nodejs executable: " | ||
| 186 | if (validate_command "$NODE" >/dev/null); then | ||
| 187 | echo "$NODE" | ||
| 188 | else | ||
| 189 | echo "Not found, unit tests won't be available for web target" | ||
| 190 | fi | ||
| 191 | |||
| 176 | echo "Python bindings: $PYTHON3" | 192 | echo "Python bindings: $PYTHON3" |
| 177 | } | 193 | } |
| 178 | 194 | ||
| @@ -229,7 +245,7 @@ build_python() { | |||
| 229 | fi | 245 | fi |
| 230 | build_nissy | 246 | build_nissy |
| 231 | run $CC $CFLAGS $WFLAGS $PYTHON3_INCLUDES $(odflags) -shared \ | 247 | run $CC $CFLAGS $WFLAGS $PYTHON3_INCLUDES $(odflags) -shared \ |
| 232 | -o nissy_pthon_module.so nissy.o python/nissy_module.c | 248 | -o nissy_python_module.so nissy.o python/nissy_module.c |
| 233 | } | 249 | } |
| 234 | 250 | ||
| 235 | build_cpp() { | 251 | build_cpp() { |
