Skip to content

Commit fed44cb

Browse files
authored
Remove aten project for main build (#8532)
1 parent ce13ca2 commit fed44cb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

aten/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ if (CAFFE2_CMAKE_BUILDING_WITH_MAIN_REPO)
44
endif()
55
else()
66
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
7+
project(ATen CXX C)
78
include(CMakeDependentOption)
89
option(USE_CUDA "Use CUDA" ON)
910
option(USE_ROCM "Use ROCm" OFF)
@@ -18,9 +19,6 @@ else()
1819
set(BUILD_ATEN ON)
1920
endif()
2021

21-
# Create the project in all cases
22-
project(ATen CXX C)
23-
2422
# Find modules
2523
list(APPEND CMAKE_MODULE_PATH
2624
/usr/lib/x86_64-linux-gnu/

0 commit comments

Comments
 (0)