You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/fluid/dev/releasing_process_en.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,33 @@ pop-up box, choose the current release branch and click "Run Build" button. You
50
50
* pypi does not allow overwrite the already uploaded version of wheel package, even if you delete the
51
51
old version. you must change the version number before upload a new one.
52
52
53
+
### Publish wheel Packages for MacOS
54
+
55
+
You need to build the binary wheel package for MacOS before publishing, to
56
+
make sure that the package can be used by many versions of MacOS
57
+
(10.11, 10.12, 10.13) and different python installs (python.org, homebrew, etc.),
58
+
you must build the package ***exactly*** following below steps:
59
+
60
+
Build steps:
61
+
62
+
1. install python from python.org downloads, and make sure it's currently in use
63
+
in your system.
64
+
1. `export MACOSX_DEPLOYMENT_TARGET=10.11`, use `10.11` is enough for recent versions.
65
+
1. `git clone https://github.com/PaddlePaddle/Paddle.git && cd Paddle && mkdir build && cd build`
66
+
1. `cmake -DWITH_GPU=OFF -DWITH_MKL=OFF -DWITH_SYSTEM_BLAS=OFF ..`, make sure the output of `cmake` command is using the correct python interpreter installed from python.org
0 commit comments