You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
I'm not sure whether macOS is already supported. I'm trying to build on my laptop with m1 chips and got the following error
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
clang++: warning: argument unused during compilation: '-msse' [-Wunused-command-line-argument]
clang++: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument]
clang++: warning: argument unused during compilation: '-mmmx' [-Wunused-command-line-argument]
In file included from envpool/box2d/box2d_envpool.cc:15:
In file included from ./envpool/box2d/bipedal_walker.h:21:
In file included from ./envpool/core/async_envpool.h:30:
In file included from ./envpool/core/envpool.h:23:
In file included from ./envpool/core/env_spec.h:23:
./envpool/core/dict.h:58:23: warning: string literal operator templates are a GNU extension [-Wgnu-string-literal-operator-template]
inline constexpr auto operator""_() { // NOLINT
^
In file included from envpool/box2d/box2d_envpool.cc:15:
In file included from ./envpool/box2d/bipedal_walker.h:21:
./envpool/core/async_envpool.h:110:9: error: unknown type name 'cpu_set_t'
cpu_set_t cpuset;
^
./envpool/core/async_envpool.h:114:70: error: use of undeclared identifier 'cpu_set_t'; did you mean 'cpuset'?
pthread_setaffinity_np(workers_[tid].native_handle(), sizeof(cpu_set_t),
^~~~~~~~~
cpuset
./envpool/core/async_envpool.h:110:19: note: 'cpuset' declared here
cpu_set_t cpuset;
^
In file included from envpool/box2d/box2d_envpool.cc:18:
In file included from ./envpool/core/py_envpool.h:33:
./envpool/core/xla.h:20:10: fatal error: 'cuda_runtime_api.h' file not found
#include <cuda_runtime_api.h>
^~~~~~~~~~~~~~~~~~~~
1 warning and 3 errors generated.
Error in child process '/usr/bin/xcrun'. 1
Target //:setup failed to build
Use --verbose_failures to see the command lines of failed build steps.
So two errors related to intel chips and Nvidia cuda.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I'm not sure whether macOS is already supported. I'm trying to build on my laptop with m1 chips and got the following error
So two errors related to intel chips and Nvidia cuda.
Any ideas to fix this ?
Beta Was this translation helpful? Give feedback.
All reactions