aiplan4eu / up-tamer

Integration of Tamer with the Unified Planning Library
Apache License 2.0
3 stars 0 forks source link

Generate python wheels compatible with Mac Apple Silicon M1/M2 #56

Open fteicht opened 8 months ago

fteicht commented 8 months ago

Mac Apple Silicon M1/M2 processors equip by default the Mac Book computers since 2020. Those processors use the ARM64 architecture for which the default Python interpreter is compiled.

Therefore, up-tamer can only be used on those new Mac computers through Rosetta2 and x86 Python interpreters, which:

  1. does not allow the user to benefit from the ARM64 computational power
  2. requires the user to install an x86 homebrew and Python interpreter.

Since the ARM64 architecture is the default one on all the Mac Book computers assembled since 2020, it would be nice to provide Python wheels for the ARM64 architecture.

fteicht commented 8 months ago

The issue seems to originate in the fact that TAMER itself is not built for ARM64. At least ARM64 binaries are not provided in the TAMER website. If the code of TAMER is accessible somewhere, I'll be happy to try to build it on my Mac Book Pro equipped with a Mac Apple Silicon M2 processor.