Skip to content

Commit

Permalink
make nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
metascroy committed Apr 9, 2024
1 parent ac4af0b commit 7878b8f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/install_et.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ cp ${LLAMA_FAST_ROOT}/scripts/fixes_et/module.cpp ${LLAMA_FAST_ROOT}/build/src/e
cp ${LLAMA_FAST_ROOT}/scripts/fixes_et/managed_tensor.h ${LLAMA_FAST_ROOT}/build/src/executorch/extension/runner_util/managed_tensor.h # ET is missing headers for vector/memory. This causes downstream issues when building runner-et.

echo "Building and installing python libraries"
if [ z "${ET_NO_PYBIND}" ]; then
echo "Installing pybind"
./install_requirements.sh --pybind xnnpack
else
if [ -n "${ET_NO_PYBIND}" ]; then
echo "Not installing pybind"
./install_requirements.sh
else
echo "Installing pybind"
./install_requirements.sh --pybind xnnpack
fi

echo "Building and installing C++ libraries"
Expand Down

0 comments on commit 7878b8f

Please sign in to comment.