areusch opened a new pull request #5185: Add warning about nnpack installing googletest URL: https://github.com/apache/incubator-tvm/pull/5185 nnpack's `ninja install` also installs googletest. the version installed at master is busted on OS X, and reinstalling from source doesn't at first appear to fix it (because compiling googletest doesn't by default build .dylib, but the instructions here override that default) relevant error: $ ninja cpptest [1/1] Linking CXX executable container_test FAILED: container_test : && /Library/Developer/CommandLineTools/usr/bin/c++ -std=c++14 -O2 -Wall -fPIC -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/container_test.dir/tests/cpp/container_test.cc.o -o container_test -Wl,-rpath,/Users/andrew/ws/tvm/build -Wl,-rpath,/usr/local/lib libtvm.dylib /usr/local/lib/libgtest.dylib -lpthread -ldl /usr/local/lib/libnnpack.dylib /usr/local/lib/libpthreadpool.dylib /usr/local/lib/libcpuinfo.dylib /usr/local/lib/libclog.a && : Undefined symbols for architecture x86_64: "testing::internal::DeathTest::Create(char const*, testing::Matcher<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&>, char const*, int, testing::internal::DeathTest**)", referenced from: InplaceArrayBase_BadExceptionSafety_Test::TestBody() in container_test.cc.o InplaceArrayBase_ExceptionSafety_Test::TestBody() in container_test.cc.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
