You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "xumingming (via GitHub)" <gi...@apache.org> on 2024/03/19 13:30:18 UTC
[I] [VL] clang: error: the clang compiler does not support '-march=native' [incubator-gluten]
xumingming opened a new issue, #5027:
URL: https://github.com/apache/incubator-gluten/issues/5027
### Problem description
Build command:
```
./dev/buildbundle-veloxbe.sh --build_type=RelWithDebInfo
```
Error message:
```
clang: error: the clang compiler does not support '-march=native'
clang: error: the clang compiler does not support '-march=native'
clang: error: the clang compiler does not support '-march=native'
make[2]: *** [core/CMakeFiles/gluten.dir/proto/substrait/extended_expression.pb.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
clang: error: the clang compiler does not support '-march=native'
make[2]: *** [core/CMakeFiles/gluten.dir/proto/substrait/function.pb.cc.o] Error 1
make[2]: *** [core/CMakeFiles/gluten.dir/proto/substrait/extensions/extensions.pb.cc.o] Error 1
make[2]: *** [core/CMakeFiles/gluten.dir/proto/substrait/capabilities.pb.cc.o] Error 1
clang: error: the clang compiler does not support '-march=native'
make[2]: *** [core/CMakeFiles/gluten.dir/proto/substrait/ddl.pb.cc.o] Error 1
clang: error: the clang compiler does not support '-march=native'
make[2]: *** [core/CMakeFiles/gluten.dir/proto/substrait/algebra.pb.cc.o] Error 1
make[1]: *** [core/CMakeFiles/gluten.dir/all] Error 2
make: *** [all] Error 2
```
The root cause is `-march=native` is not supported by `AppleClang` which I am using on MacOS, we should fail fast when we detect that the compiler is not supported, rather than throwing errors later.
### System information
MacOS + AppleClang
### CMake log
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [I] [VL] clang: error: the clang compiler does not support '-march=native' [incubator-gluten]
Posted by "FelixYBW (via GitHub)" <gi...@apache.org>.
FelixYBW closed issue #5027: [VL] clang: error: the clang compiler does not support '-march=native'
URL: https://github.com/apache/incubator-gluten/issues/5027
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org