![]() ![]() Users/apalha/work/libs/dgl/src/runtime/semaphore_wrapper. #define _deprecated _attribute_((_deprecated_)) According to this long Anaconda guide to the Apple Silicon, there are 3 options for running Python on the M1 pyenv, anaconda, and miniforge. Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/sys/cdefs.h:204:40: note: expanded from macro '_deprecated' Int sem_init(sem_t *, int, unsigned int) _deprecated Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/sys/semaphore.h:55:42: note: 'sem_init' has been explicitly marked deprecated here ![]() Users/apalha/work/libs/dgl/src/runtime/semaphore_:45:3: warning: 'sem_init' is deprecated Building CXX object CMakeFiles/dgl.dir/src/runtime/semaphore_.o Building CXX object CMakeFiles/dgl.dir/src/runtime/resource_.o Building CXX object CMakeFiles/dgl.dir/src/runtime/.o Building CXX object CMakeFiles/dgl.dir/src/runtime/module_.o Building CXX object CMakeFiles/dgl.dir/src/runtime/file_.o Building CXX object CMakeFiles/dgl.dir/src/runtime/dso_.o Building CXX object CMakeFiles/dgl.dir/src/runtime/cpu_device_api.cc.o Step 1: Open up your Terminal by holding Command and hitting Space, which should bring up your Spotlight Search. A LONG time ago, I was trying the TensorFlow library for Mac M1. Building CXX object CMakeFiles/dgl.dir/src/runtime/c_runtime_api.cc.o I just got an m1 Mac and installed anaconda using home-brew: brew install anaconda It. I have followed the instructions for compiling in Install from source -> MacOS and I am using clang version 13.0.0 (clang-1300.0.29.30).ĭuring compilation I get the following error: Building CXX object CMakeFiles/dgl.dir/src/runtime/c_object_api.cc.o Hi! I am also trying to compile DGL from source on a mac M1 and I run into issues related to deprecated sem_init.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |