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
656656 # get_python_lib() typically returns the path to site-packages, where
657657 # all pip packages in the environment are installed.
658658 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- )
662659 # Put the cmake cache under the temp directory, like
663660 # "pip-out/temp.<plat>/cmake-out".
664661 pip_build_dir = os .path .join (
@@ -668,7 +665,6 @@ def run(self): # noqa C901
668665 self .mkpath (cmake_cache_dir )
669666
670667 cmake_configuration_args = [
671- f"-DBUCK2={ buck2 } " ,
672668 f"-DPYTHON_EXECUTABLE={ sys .executable } " ,
673669 # Let cmake calls like `find_package(Torch)` find cmake config files
674670 # like `TorchConfig.cmake` that are provided by pip packages.
You can’t perform that action at this time.
0 commit comments