| 6 | |
| 7 | Build environment: |
| 8 | macOS 10.13.6 |
| 9 | Xcode 10.1 |
| 10 | Build version 10B61 |
| 11 | Apple LLVM version 10.0.0 (clang-1000.10.44.4) |
| 12 | Target: x86_64-apple-darwin17.7.0 |
| 13 | Thread model: posix |
| 14 | InstalledDir: /Library/Developer/CommandLineTools/usr/bin |
| 15 | MacPorts version 2.6.4 |
| 16 | Port: py37-pytorch @1.8.1_2 |
| 17 | |
| 18 | Todo: |
| 19 | Vary cmake vars USE_LITE_PROTO, CAFFE2_LINK_LOCAL_PROTOBUF, BUILD_CUSTOM_PROTOBUF, and USE_SYSTEM_LIBS ON/OFF to see if that fixes the issue. |
| 20 | |
| 21 | Current Portfile has |
| 22 | {{{ |
| 23 | CMAKE_LIBRARY_PATH=${prefix}/lib:${prefix}/lib/libomp \ |
| 24 | LIBRARY_PATH=${prefix}/lib:${prefix}/lib/libomp \ |
| 25 | USE_LITE_PROTO=ON \ |
| 26 | }}} |
| 27 | which also might be relevant. |