Open GHGmc2 opened 4 years ago
@jackalcooper could we reproduce the issue?
@yuanms2 yes I have reproduced it. I found a workaround but blocked by other issues later.
this is caused by Catalina
, I find solution in StackOverflow.
But I still have problem with epoll.h
, can we support kqueue
?
os
tool
build cmd
$ cd build $ cmake .. -DPython3_EXECUTABLE=/opt/anaconda3/envs/py36/bin/python -DBUILD_CUDA=OFF -DBUILD_TESTING=OFF $ make
[ 5%] Creating directories for 'cocoapi' [ 5%] Performing download step (git clone) for 'cocoapi' -- Avoiding repeated git clone, stamp file is up to date: '/Users/user/CLionProjects/oneflow/build/cocoapi/src/cocoapi-stamp/cocoapi-gitclone-lastrun.txt' [ 5%] No patch step for 'cocoapi' [ 5%] No update step for 'cocoapi' [ 5%] No configure step for 'cocoapi' [ 5%] Performing build step for 'cocoapi' common/maskApi.c:8:10: fatal error: 'math.h' file not found
include
1 error generated. make[2]: [cocoapi/src/cocoapi-stamp/cocoapi-build] Error 1 make[1]: [CMakeFiles/cocoapi.dir/all] Error 2 make: *** [all] Error 2