File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -656,9 +656,6 @@ def run(self): # noqa C901
656
656
# get_python_lib() typically returns the path to site-packages, where
657
657
# all pip packages in the environment are installed.
658
658
cmake_prefix_path = os .environ .get ("CMAKE_PREFIX_PATH" , get_python_lib ())
659
- buck2 = os .environ .get (
660
- "BUCK2_EXECUTABLE" , os .environ .get ("BUCK2" , os .environ .get ("BUCK" , "" ))
661
- )
662
659
# Put the cmake cache under the temp directory, like
663
660
# "pip-out/temp.<plat>/cmake-out".
664
661
pip_build_dir = os .path .join (
@@ -668,7 +665,6 @@ def run(self): # noqa C901
668
665
self .mkpath (cmake_cache_dir )
669
666
670
667
cmake_configuration_args = [
671
- f"-DBUCK2={ buck2 } " ,
672
668
f"-DPYTHON_EXECUTABLE={ sys .executable } " ,
673
669
# Let cmake calls like `find_package(Torch)` find cmake config files
674
670
# like `TorchConfig.cmake` that are provided by pip packages.
You can’t perform that action at this time.
0 commit comments