Skip to content

Commit

Permalink
feat: add mix compile step
Browse files Browse the repository at this point in the history
  • Loading branch information
polvalente committed Jul 14, 2024
1 parent 0ac4df7 commit a541c71
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/precompile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,7 @@ jobs:
if: steps.cache-iree-dir.outputs.cache-hit != 'true'
run: |
make clone_iree
- name: Compile NIF
run: |
NX_IREE_SO=./libnx_iree.so mix compile
ls ./
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ $(IREE_INSTALL_DIR): $(IREE_DIR) $(CMAKE_SOURCES)

### NxIREE Runtime NIF library

NX_IREE_SO = $(MIX_APP_PATH)/priv/libnx_iree.so
NX_IREE_SO ?= $(MIX_APP_PATH)/priv/libnx_iree.so
NX_IREE_CACHE_SO = cache/libnx_iree.so
NX_IREE_SO_LINK_PATH = $(CWD_RELATIVE_TO_PRIV_PATH)/$(NX_IREE_CACHE_SO)

Expand Down

0 comments on commit a541c71

Please sign in to comment.