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

build error in tbb #202

Open
mobooya opened this issue Mar 15, 2018 · 0 comments
Open

build error in tbb #202

mobooya opened this issue Mar 15, 2018 · 0 comments

Comments

@mobooya
Copy link

mobooya commented Mar 15, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant