alibaba / graph-learn

An Industrial Graph Neural Network Framework
Apache License 2.0
1.28k stars 267 forks source link

make error: error: use of undeclared identifier 'sem_timedwait' on Mac #157

Closed miziha-zp closed 3 years ago

miziha-zp commented 3 years ago

When I built graph-learn on My Mac(BigSur11.1), an error jumped out, more logs are below.

                                       ^
/Users/-/Desktop/intern/proj/graph-learn/graphlearn/core/dag/dag_dataset.cc:62:7: error: use of undeclared identifier 'sem_timedwait'
  if (sem_timedwait(&(occupied_[cursor_]), &ts) == -1) {
      ^
3 warnings and 1 error generated.
make: *** [/Users/-/Desktop/intern/proj/graph-learn/built/graphlearn/core/dag/dag_dataset.o] Error 1
miziha-zp commented 3 years ago

not supported in Mac