mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
[build] disable test_expect for pinning cmake to 3.5* in dockerfiles repo (#8850)
* pin pytorch-linux-xenial* to use cmake 3.5* * disable test_expect
This commit is contained in:
parent
04440d2c57
commit
2b926aafb0
|
|
@ -5,7 +5,7 @@ if [[ "$BUILD_ENVIRONMENT" == "pytorch-linux-xenial-py3-clang5-asan" ]]; then
|
|||
fi
|
||||
|
||||
# TODO: move this to Docker
|
||||
# TODO: add both NCCL and MPI in CI test by fixing these test first
|
||||
# TODO: add both NCCL and MPI in CI test by fixing these test first
|
||||
# sudo apt-get update
|
||||
# sudo apt-get install libnccl-dev libnccl2
|
||||
# sudo apt-get install openmpi-bin libopenmpi-dev
|
||||
|
|
@ -23,6 +23,9 @@ python --version
|
|||
echo "GCC version:"
|
||||
gcc --version
|
||||
|
||||
echo "CMake version:"
|
||||
cmake --version
|
||||
|
||||
# TODO: Don't run this...
|
||||
pip install -r requirements.txt || true
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
cmake_minimum_required(VERSION 3.2 FATAL_ERROR)
|
||||
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
|
||||
#cmake_policy(SET CMP0022 NEW)
|
||||
#cmake_policy(SET CMP0023 NEW)
|
||||
|
||||
|
|
|
|||
|
|
@ -673,6 +673,7 @@ class TestCollectEnv(TestCase):
|
|||
self.assertTrue(info_output.count('\n') >= 17)
|
||||
|
||||
@unittest.skipIf('BUILD_ENVIRONMENT' not in os.environ.keys(), 'CI-only test')
|
||||
@unittest.skip('temporarily skip to change cmake version in CI')
|
||||
def test_expect(self):
|
||||
info_output = get_pretty_env_info()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user