Skip to content

Commit

Permalink
cpython: changes to make cpython build work
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Feb 19, 2024
1 parent 47be01e commit 160824f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions LLVM.makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ $(BUILD_DIR)/llvm.BUILT:
install-llvm-ranlib \
install-llvm-strip \
install-llvm-dwarfdump \
install-llvm-symbolizer \
install-clang-resource-headers \
install-ar \
install-ranlib \
Expand Down
1 change: 1 addition & 0 deletions faasmtools/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
WASM_CFLAGS = [
"-O3",
# "-mno-atomics",
# TODO: may want to use -mrelaxed-simd instead
"-msimd128",
"--sysroot={}".format(WASM_SYSROOT),
"-m32",
Expand Down
5 changes: 5 additions & 0 deletions sysroot_extras/libc.imports
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,16 @@ pthread_cond_destroy
pthread_cond_signal
pthread_cond_timedwait
pthread_cond_init
pthread_condattr_init
pthread_condattr_setclock
pthread_equal
pthread_mutexattr_init
pthread_mutexattr_settype
pthread_mutexattr_destroy
__tls_align
__tls_base
__tls_size
__wasm_init_tls

# Signals
signal
Expand Down

0 comments on commit 160824f

Please sign in to comment.