2018年7月21日土曜日

variant に optimizations が追加されていた

MacPorts の python27, python35 ~ python37 で指定可能。

% port variants python2[4-7]
python24 has the variants:
   universal: Build for multiple architectures
python25 has the variants:
   universal: Build for multiple architectures
python26 has the variants:
   ucs4: Enable support for UCS4
   universal: Build for multiple architectures
python27 has the variants:
   optimizations: Compile with LTO and PGO. Build time greatly increased
   ucs4: Enable support for UCS4
   universal: Build for multiple architectures
% port variants python3[1-7]
python31 has the variants:
   ucs4: Use 4-byte Unicode characters
   universal: Build for multiple architectures
python32 has the variants:
   ucs4: Use 4-byte Unicode characters
   universal: Build for multiple architectures
python33 has the variants:
   universal: Build for multiple architectures
python34 has the variants:
   universal: Build for multiple architectures
python35 has the variants:
   optimizations: Compile with LTO and PGO. Build time greatly increased
   universal: Build for multiple architectures
python36 has the variants:
   optimizations: Compile with LTO and PGO. Build time greatly increased
   universal: Build for multiple architectures
python37 has the variants:
   optimizations: Compile with LTO and PGO. Build time greatly increased
   universal: Build for multiple architectures

Add optimizations variant to python{27,35,36,37}
https://github.com/macports/macports-ports/commit/b12ed55d4d24c9f1b713d616162371efbb5820e4

https://stackoverflow.com/questions/41405728/what-does-enable-optimizations-do-while-compiling-python



0 件のコメント:

コメントを投稿