Skip to content

Commit

Permalink
fix: replace missing IREE_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
polvalente committed Jul 14, 2024
1 parent 52956b7 commit 1ed8230
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/precompiled_nif.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
mix local.hex --force
mix local.rebar --force
echo "NX_IREE_SOURCE_DIR=$(elixir -e 'IO.puts(Path.absname(~s(${{env.NX_IREE_SOURCE_DIR}})))')" > $GITHUB_ENV
echo $NX_IREE_SOURCE_DIR
- name: Cache mix dependencies
id: cache-mix-deps
Expand Down
2 changes: 1 addition & 1 deletion cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ add_library(${_NAME} SHARED ${iree_runtime_sources})

set(__BUILD_DIR "${IREE_RUNTIME_BUILD_DIR}")

add_subdirectory("${IREE_DIR}" ${__BUILD_DIR} EXCLUDE_FROM_ALL)
add_subdirectory("${NX_IREE_SOURCE_DIR}" ${__BUILD_DIR} EXCLUDE_FROM_ALL)

install(
TARGETS ${_NAME}
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ defmodule NxIREE.MixProject do
"CWD_RELATIVE_TO_PRIV_PATH" => cwd_relative_to_priv,
"MAKE_NUM_JOBS" => n_jobs,
"IREE_GIT_REV" => nx_iree_config().tag,
"IREE_DIR" => nx_iree_config().source_dir
"NX_IREE_SOURCE_DIR" => nx_iree_config().source_dir
}
end
]
Expand Down

0 comments on commit 1ed8230

Please sign in to comment.