ATen
ATen copied to clipboard
build error in tbb
CMake Error at src/ATen/cpu/tbb/CMakeLists.txt:53 (list): list sub-command REMOVE_ITEM requires two or more arguments.
I fixed it locally, can the owner please fix it and push:
username@ubuntu:~/ATen/src/ATen/cpu/tbb$ git diff CMakeLists.txt diff --git a/src/ATen/cpu/tbb/CMakeLists.txt b/src/ATen/cpu/tbb/CMakeLists.txt index 9c8d044..868e961 100644 --- a/src/ATen/cpu/tbb/CMakeLists.txt +++ b/src/ATen/cpu/tbb/CMakeLists.txt @@ -50,7 +50,7 @@ endif() file(GLOB tbb_src "${TBB_ROOT_DIR}/src/tbb/.cpp" "${TBB_ROOT_DIR}/src/old/.cpp") list(APPEND tbb_src ${TBB_ROOT_DIR}/src/rml/client/rml_tbb.cpp) file(GLOB to_remove "${TBB_ROOT_DIR}/src/old/test*.cpp") -list(REMOVE_ITEM tbb_src ${to_remove}) +list(REMOVE_ITEM tbb_src to_remove)
set(tbbmalloc_static_src src/tbbmalloc/backend.cpp