aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild22
1 files changed, 19 insertions, 3 deletions
diff --git a/build b/build
index a1247ad..0376656 100755
--- a/build
+++ b/build
@@ -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
235build_cpp() { 251build_cpp() {

Generated with cgit - Back to sebastiano.tronto.net