Skip to content

Commit

Permalink
Update env file (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpaul authored Apr 24, 2024
1 parent ae35ce6 commit a14da10
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions scripts/env/consortium-macos-3
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,28 @@ export VM_HAS_CUDA="false"
export VM_HAS_OPENCASCADE="false"


export VM_QT_PATH="/Users/ci/Qt/5.12.6"
export VM_QT_PATH="/Users/ci/Qt/5.12.12"

x86_root="/usr/local"
export VM_PYTHON_EXECUTABLE=""
export VM_PYTHON_PYTHONPATH=""
export VM_PYTHON3_EXECUTABLE="/usr/local/opt/[email protected]/bin/python3"
export VM_PYTHON3_PYTHONPATH="/usr/local/lib/python3.10/site-packages"
export VM_PYTHON3_EXECUTABLE="$x86_root/opt/[email protected]/bin/python3.10"
export VM_PYTHON3_PYTHONPATH="$x86_root/lib/python3.10/site-packages"
if [[ -n "$CI_PYTHON3_VERSION" ]] &&
[[ -e "/usr/local/opt/python@$CI_PYTHON3_VERSION/bin/python3" ]] &&
[[ -e "/usr/local/lib/python$CI_PYTHON3_VERSION/site-packages" ]]; then
export VM_PYTHON3_EXECUTABLE="/usr/local/opt/python@$CI_PYTHON3_VERSION/bin/python3"
export VM_PYTHON3_PYTHONPATH="/usr/local/lib/python$CI_PYTHON3_VERSION/site-packages"
[[ -e "$x86_root/opt/python@$CI_PYTHON3_VERSION/bin/python$CI_PYTHON3_VERSION" ]] &&
[[ -e "$x86_root/lib/python$CI_PYTHON3_VERSION/site-packages" ]]; then
export VM_PYTHON3_EXECUTABLE="$x86_root/opt/python@$CI_PYTHON3_VERSION/bin/python$CI_PYTHON3_VERSION"
export VM_PYTHON3_PYTHONPATH="$x86_root/lib/python$CI_PYTHON3_VERSION/site-packages"
fi
if [[ -n "$CI_PYTHON3_VERSION" ]] &&
[[ -e "$x86_root/opt/python@$CI_PYTHON3_VERSION/bin/python$CI_PYTHON3_VERSION" ]] &&
[[ -e "$x86_root/lib/python$CI_PYTHON3_VERSION/site-packages" ]]; then
export VM_PYTHON3_EXECUTABLE="$x86_root/opt/python@$CI_PYTHON3_VERSION/bin/python$CI_PYTHON3_VERSION"
export VM_PYTHON3_PYTHONPATH="$x86_root/lib/python$CI_PYTHON3_VERSION/site-packages"
fi
export VM_PYBIND11_CONFIG_EXECUTABLE="$VM_PYTHON3_EXECUTABLE -m pybind11"

source ~/.bash_profile
export PATH="\
/usr/local/opt/gnu-sed/libexec/gnubin:\
/usr/local/opt/coreutils/libexec/gnubin:\
Expand Down

0 comments on commit a14da10

Please sign in to comment.