-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
108 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,9 @@ export VM_MAX_PARALLEL_TESTS="4" | |
|
||
export VM_CCACHE_MAXSIZE="16G" | ||
|
||
export VM_BUILDS_IMGUI="true" | ||
|
||
|
||
|
||
export VM_HAS_BULLET="false" | ||
|
||
|
@@ -20,32 +23,33 @@ export VM_HAS_CUDA="false" | |
export VM_HAS_OPENCASCADE="false" | ||
|
||
|
||
export VM_QT_PATH="/opt/homebrew/opt/qt5" | ||
export VM_QT_PATH="/opt/homebrew/Cellar/qt@5/5.15.13/" | ||
|
||
x86_root="/usr/local" | ||
arm_root="/opt/homebrew" | ||
export VM_PYTHON_EXECUTABLE="" | ||
export VM_PYTHON_PYTHONPATH="" | ||
export VM_PYTHON3_EXECUTABLE="$arm_root/opt/[email protected]/bin/python3" | ||
export VM_PYTHON3_EXECUTABLE="$arm_root/opt/[email protected]/bin/python3.10" | ||
export VM_PYTHON3_PYTHONPATH="$arm_root/lib/python3.10/site-packages" | ||
if [[ -n "$CI_PYTHON3_VERSION" ]] && | ||
[[ -e "$x86_root/opt/python@$CI_PYTHON3_VERSION/bin/python3" ]] && | ||
[[ -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/python3" | ||
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 "$arm_root/opt/python@$CI_PYTHON3_VERSION/bin/python3" ]] && | ||
[[ -e "$arm_root/opt/python@$CI_PYTHON3_VERSION/bin/python$CI_PYTHON3_VERSION" ]] && | ||
[[ -e "$arm_root/lib/python$CI_PYTHON3_VERSION/site-packages" ]]; then | ||
export VM_PYTHON3_EXECUTABLE="$arm_root/opt/python@$CI_PYTHON3_VERSION/bin/python3" | ||
export VM_PYTHON3_EXECUTABLE="$arm_root/opt/python@$CI_PYTHON3_VERSION/bin/python$CI_PYTHON3_VERSION" | ||
export VM_PYTHON3_PYTHONPATH="$arm_root/lib/python$CI_PYTHON3_VERSION/site-packages" | ||
fi | ||
export VM_PYBIND11_CONFIG_EXECUTABLE="$VM_PYTHON3_EXECUTABLE -m pybind11" | ||
|
||
source ~/.bash_profile | ||
|
||
export PATH="\ | ||
/opt/homebrew/opt/gnu-sed/libexec/gnubin:\ | ||
/opt/homebrew/opt/coreutils/libexec/gnubin:\ | ||
/opt/homebrew/opt/ccache/libexec:\ | ||
/opt/homebrew/bin:/opt/homebrew/lib:\ | ||
/opt/homebrew/opt/qt5/bin:\ | ||
$PATH" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,9 @@ export VM_MAX_PARALLEL_TESTS="4" | |
|
||
export VM_CCACHE_MAXSIZE="16G" | ||
|
||
export VM_BUILDS_IMGUI="true" | ||
|
||
|
||
|
||
export VM_HAS_BULLET="false" | ||
|
||
|
@@ -20,20 +23,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 "$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 "/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 | ||
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:\ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,7 @@ echo "---- Install Python, numpy, scipy, pybind11" | |
brew install [email protected] | ||
brew install [email protected] | ||
brew install [email protected] | ||
brew install [email protected] | ||
|
||
brew unlink [email protected] || true | ||
brew unlink [email protected] || true | ||
|
@@ -49,21 +50,27 @@ brew unlink [email protected] || true | |
|
||
brew link --force [email protected] | ||
python3.9 -m pip install --upgrade pip | ||
python3.9 -m pip install numpy scipy pygame pybind11 | ||
python3.9 -m pip install numpy scipy pygame pybind11==2.12.0 mypy pybind11-stubgen | ||
|
||
brew unlink [email protected] || true | ||
brew link --force [email protected] | ||
python3.10 -m pip install --upgrade pip | ||
python3.10 -m pip install numpy scipy pygame pybind11 | ||
python3.10 -m pip install numpy scipy pygame pybind11==2.12.0 mypy pybind11-stubgen | ||
|
||
brew unlink [email protected] || true | ||
brew link --force [email protected] | ||
python3.11 -m pip install --upgrade pip | ||
python3.11 -m pip install numpy scipy pygame pybind11 | ||
python3.11 -m pip install numpy scipy pygame pybind11==2.12.0 mypy pybind11-stubgen | ||
|
||
brew unlink [email protected] || true | ||
brew link --force [email protected] | ||
python3.12 -m pip install --upgrade pip | ||
python3.12 -m pip install numpy scipy pygame pybind11==2.12.0 mypy pybind11-stubgen --break-system-packages | ||
|
||
brew unlink [email protected] || true | ||
brew link --force [email protected] | ||
|
||
|
||
echo "--------------------------------------------" | ||
echo "---- Install Qt with online installer" | ||
# Minimal Qt online version compatible with arm64: 6.2.0 | ||
|
Oops, something went wrong.