Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix cpu test issue "CMake Error: Unknown argument: -v" (pytorch#2208)
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
- Loading branch information