Skip to content

Commit

Permalink
faasmtools: change default target when building a threaded application
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Feb 20, 2024
1 parent 6cf9946 commit ca0d78e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions faasmtools/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ def get_faasm_build_env_dict(is_threads=False):
if is_threads:
wasm_triple = "wasm32-wasi-threads"
build_env_dicts["FAASM_WASM_TRIPLE"] = wasm_triple
build_env_dicts["FAASM_WASM_CFLAGS"] += " -pthread"
build_env_dicts["FAASM_WASM_CXXFLAGS"] += " -pthread"
build_env_dicts["FAASM_WASM_CFLAGS"] += " --target={} -pthread".format(wasm_triple)
build_env_dicts["FAASM_WASM_CXXFLAGS"] += " --target={} -pthread".format(wasm_triple)
linker_features = [
"atomics",
"bulk-memory",
Expand Down

0 comments on commit ca0d78e

Please sign in to comment.