Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix cpu test issue "CMake Error: Unknown argument: -v" #2208

Closed
wants to merge 1 commit into from

Conversation

TroyGarden
Copy link
Contributor

Summary:

context

  • TorchRec CPU Unit Test is failing: test
+ conda run -n build_binary ctest -v .
+ local cmd=run
+ case "$cmd" in
+ __conda_exe run -n build_binary ctest -v .
+ /opt/conda/bin/conda run -n build_binary ctest -v .
CMake Error: Unknown argument: -v
CMake Error: Run 'ctest --help' for all supported options.

ERROR conda.cli.main_run:execute(47): `conda run ctest -v .` failed. (See above for error)
  • this is because the cmake synatx has changed from "-v" to "-V"
  • there is a recent CMAKE version bump
CMake Deprecation Warning at aten/src/ATen/native/quantized/cpu/qnnpack/deps/clog/CMakeLists.txt:7 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

Differential Revision: D56152144

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 3, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56152144

Summary:
Pull Request resolved: pytorch#2208

# context
* TorchRec CPU Unit Test is failing: [test](https://github.com/pytorch/torchrec/actions/runs/9785198706)
```
+ conda run -n build_binary ctest -v .
+ local cmd=run
+ case "$cmd" in
+ __conda_exe run -n build_binary ctest -v .
+ /opt/conda/bin/conda run -n build_binary ctest -v .
CMake Error: Unknown argument: -v
CMake Error: Run 'ctest --help' for all supported options.

ERROR conda.cli.main_run:execute(47): `conda run ctest -v .` failed. (See above for error)
```
* this is because the cmake synatx has changed from "-v" to "-V"
* there is a recent CMAKE version bump
```
CMake Deprecation Warning at aten/src/ATen/native/quantized/cpu/qnnpack/deps/clog/CMakeLists.txt:7 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.
```

Differential Revision: D56152144
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56152144

@TroyGarden TroyGarden deleted the export-D56152144 branch August 8, 2024 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants