slang icon indicating copy to clipboard operation
slang copied to clipboard

cpu hello world

Open ib00 opened this issue 4 years ago • 1 comments

I try to run cpu-hello-world example on Mac OSX. It compiles, but get the following error:

(0): error 52002: Could not find a suitable pass-through compiler for 'Unknown'.

ib00 avatar Dec 06 '20 20:12 ib00

Thanks for letting us know about this issue. Unfortunately, MacOS isn't currently a plaform we officialy support right now. We'd like to change that eventually, and contributions in that direction would be welcome.

Currently our compilation to CPU code is done by generating C++ code and then compiling it to a shared library using an installed C++ compiler on the machine (gcc or clang for Unix-derived platforms). It is likely that the logic we use for detecting an installed compiler is not working correctly on MacOS.

The fact that the error message prints Unknown is seemingly another issue.

tangent-vector-personal avatar Dec 06 '20 21:12 tangent-vector-personal