From 13d49bd97c060525957449e9e214c47e3154b6b2 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Mon, 11 Sep 2023 23:44:44 -0400 Subject: [PATCH] docs: add docs for addtional CMake arguments via pip (#2806) Fix #2432. Signed-off-by: Jinzhe Zeng --- doc/install/install-from-source.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/install/install-from-source.md b/doc/install/install-from-source.md index 4d75d484ec..e6a4b1a7cb 100644 --- a/doc/install/install-from-source.md +++ b/doc/install/install-from-source.md @@ -78,6 +78,7 @@ One may set the following environment variables before executing `pip`: | ROCM_ROOT | Path | Detected automatically | The path to the ROCM toolkit directory. | | TENSORFLOW_ROOT | Path | Detected automatically | The path to TensorFlow Python library. By default the installer only finds TensorFlow under user site-package directory (`site.getusersitepackages()`) or system site-package directory (`sysconfig.get_path("purelib")`) due to limitation of [PEP-517](https://peps.python.org/pep-0517/). If not found, the latest TensorFlow (or the environment variable `TENSORFLOW_VERSION` if given) from PyPI will be built against.| | DP_ENABLE_NATIVE_OPTIMIZATION | 0, 1 | 0 | Enable compilation optimization for the native machine's CPU type. Do not enable it if generated code will run on different CPUs. | +| CMAKE_ARGS | str | - | Additional CMake arguments | To test the installation, one should first jump out of the source directory ```