Skip to content

Commit

Permalink
examples(kernels): fix compilation of native kernels
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Mar 1, 2024
1 parent c1202f0 commit d9b5b37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/kernels.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from faasmtools.env import LLVM_VERSION
from faasmtools.env import LLVM_NATIVE_VERSION
from faasmtools.build import get_faasm_build_env_dict
from faasmtools.compile_util import wasm_copy_upload
from invoke import task
Expand Down Expand Up @@ -40,7 +40,7 @@ def build(ctx, clean=False, native=False):
work_env.update(
{
"LD_LIBRARY_PATH": "/usr/local/lib",
"LLVM_MAJOR_VERSION": LLVM_VERSION.split(".")[0],
"LLVM_MAJOR_VERSION": LLVM_NATIVE_VERSION.split(".")[0],
"FAASM_WASM": "off",
}
)
Expand Down Expand Up @@ -89,7 +89,7 @@ def build(ctx, clean=False, native=False):
work_env.update(
{
"LD_LIBRARY_PATH": "/usr/local/lib",
"LLVM_MAJOR_VERSION": LLVM_VERSION.split(".")[0],
"LLVM_MAJOR_VERSION": LLVM_NATIVE_VERSION.split(".")[0],
"FAASM_WASM": "off",
}
)
Expand Down

0 comments on commit d9b5b37

Please sign in to comment.