Skip to content

Commit 722e851

Browse files
committed
doc
1 parent b51dec3 commit 722e851

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
Build Python and its prerequisite libraries from CMake ExternalProject.
44

5-
The default option `cmake -Dfind=on` searches for these libraries and builds them if not present: bzip2, expat, ffi, readline, ssl, xz, zlib.
5+
The default option `cmake -Dfind=on` searches for these libraries and builds them if not present: expat, ffi, readline, ssl, zlib.
6+
Because of broken system libraries and the fast build time, we always build LZMA and BZip2.
67

78
```sh
89
cmake -B build -DCMAKE_INSTALL_PREFIX=~/mydir
@@ -25,10 +26,8 @@ This CMake project elides those issues for Linux/MacOS platforms at least.
2526

2627
Tested on Linux and MacOS with compilers including:
2728

28-
* Apple Clang (via `CC=gcc` and `CXX=g++`)
29+
* Apple Clang
2930
* Linux: GCC 4.8 and newer
30-
* Linux Intel oneAPI (`CC=icx` and `CXX=icpx`)
3131

32-
NOTE: Autotools compiler hints are touchy.
33-
On MacOS, we strongly suggest using `CC=gcc` and `CXX=g++` despite this referring to Clang to avoid problems.
34-
Even version specifiers like `CC=gcc-11` breaks Autotools.
32+
The CMakeLists.txt automatically forces "clang" on MacOS and "gcc" on Linux.
33+
This seemed to be the most robust choice, as Autotools failed to configure with choices like "gcc-*version*", Intel "icc" failed, and Intel "icx" took 100x longer than GCC to build.

0 commit comments

Comments
 (0)