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
[Build] Allow out-of-tree build with TRITON_BUILD_DIR (#7347)
# Rationale
Current Triton uses a fixed build directory
`f"cmake.{plat_name}-{sys.implementation.name}-{python_version}"` when
installing with `pip install .`, when the same python is used,
regardless of the venv target or source code version. This creates
conflicts when
* Users switches Triton source version but did not clean the build
directory.
+ This is a little hard to notice since most `pip install .` will use a
temporary directory to build
* Users installing Triton into multiple venv at the same time.
With this option, users can specify an out-of-tree build directory to
avoid such conflicts.
# Alternatives
PIP usually uses /tmp/pip-build-env-xxxx/ as the temporary build
directory. However I have not found documentation about how to locate
this directory in `pip/setuptools`.
0 commit comments