Skip to content

Make libTensorFlow C++ library work for the latest M1 Mac #52160

@EricTheRed20

Description

@EricTheRed20

The M1 Mac with it's own non-Intel processor was released ten months ago but is still not supported by the libTensorFlow C++ library https://www.tensorflow.org/install/lang_c. It would be good to get that done so that we can release apps for the Mac. As far as I know TensorFlow does work for the M1 Mac in Python.

You can test the library file compatibility by running xcrun as follows:-
Run the XCode command: xcrun lipo -info "libtensorflow.dylib" and it returns "libtensorflow.dylib is architecture x86_64".

For it to support the Intel Mac and the M1 Mac it should return "libtensorflow.dylib are: arm64 x86_64" (ie. both formats so that the compiler can build the app for Intel, Arm or both (the default)).

Metadata

Metadata

Labels

2.6.0staleThis label marks the issue/pr stale - to be closed automatically if no activitystat:awaiting responseStatus - Awaiting response from authorsubtype:macOSmacOS Build/Installation issuestype:build/installBuild and install issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions