From ae703eedd1383fead44815e8628e8f443e52200b Mon Sep 17 00:00:00 2001 From: Jonah van Praag Date: Mon, 9 Sep 2024 10:04:24 +1000 Subject: [PATCH] add set python env var to macos compile instructions --- content/en/docs/bmf/getting_started_yourself/install/_index.md | 1 + content/zh/docs/bmf/getting_started_yourself/install/_index.md | 1 + 2 files changed, 2 insertions(+) diff --git a/content/en/docs/bmf/getting_started_yourself/install/_index.md b/content/en/docs/bmf/getting_started_yourself/install/_index.md index 59c50e3..f225d42 100644 --- a/content/en/docs/bmf/getting_started_yourself/install/_index.md +++ b/content/en/docs/bmf/getting_started_yourself/install/_index.md @@ -406,6 +406,7 @@ After completing preparatory works above, you can compile BMF under Mac OS and u ``` git submodule update --init --recursive sed -i '' '/sigma_gn /s/^/\/\//g' bmf/hml/third_party/benchmark/src/complexity.cc +export BMF_PYTHON_VERSION="3.9" ./build_osx.sh ``` diff --git a/content/zh/docs/bmf/getting_started_yourself/install/_index.md b/content/zh/docs/bmf/getting_started_yourself/install/_index.md index 1204ed3..f8d5c3d 100644 --- a/content/zh/docs/bmf/getting_started_yourself/install/_index.md +++ b/content/zh/docs/bmf/getting_started_yourself/install/_index.md @@ -399,6 +399,7 @@ Mac OS 端编译时需要注意以下几点: ``` brew unlink ffmpeg brew link ffmpeg@4 +export BMF_PYTHON_VERSION="3.9" brew link --force python@3.9 ```