Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
goliaro committed Jul 15, 2023
1 parent 323ba82 commit 915cbb9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/flexflow/flexflow_python
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
# This file runs the flexflow_python interpreter when installing FlexFlow via pip. This file can be ignored when installing FlexFlow using cmake/make

python_packages=$(python -c "from distutils import sysconfig; print(sysconfig.get_python_lib(plat_specific=False,standard_lib=False))")
pylib_path="$("$python_packages"/flexflow/findpylib.py)"
pylib_dir="$(dirname "$pylib_path")"
export PATH="${python_packages}/flexflow/bin:${PATH}"
export LD_LIBRARY_PATH="${python_packages}/flexflow/lib:${PATH}"
export LD_LIBRARY_PATH="${python_packages}/flexflow/lib:${pylib_dir}:${PATH}"

legion_python "$@"

0 comments on commit 915cbb9

Please sign in to comment.