Skip to content

Commit 565dc28

Browse files
committed
Revert "don't touch CMAKE_BUILD_ARGS in install_executorch.py (#7716)"
This reverts commit 57a09f4.
1 parent dba4fe9 commit 565dc28

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

install_executorch.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def main(args):
4343

4444
EXECUTORCH_BUILD_PYBIND = ""
4545
CMAKE_ARGS = os.getenv("CMAKE_ARGS", "")
46+
CMAKE_BUILD_ARGS = os.getenv("CMAKE_BUILD_ARGS", "")
4647
use_pytorch_nightly = True
4748

4849
parser = argparse.ArgumentParser()
@@ -115,6 +116,7 @@ def main(args):
115116
# Set environment variables
116117
os.environ["EXECUTORCH_BUILD_PYBIND"] = EXECUTORCH_BUILD_PYBIND
117118
os.environ["CMAKE_ARGS"] = CMAKE_ARGS
119+
os.environ["CMAKE_BUILD_ARGS"] = CMAKE_BUILD_ARGS
118120

119121
# Run the pip install command
120122
subprocess.run(

0 commit comments

Comments
 (0)