Open arun-gupta opened 5 months ago
Hi,
I cannot reproduce but I noticed the error in your log was RuntimeError: Unsupported compiler -- at least C++11 support is needed!
. It indicates that the compiler used during the Docker build process does not support C++11 or later. This can occur if the default compiler on your Mac is outdated or incorrectly configured.
Will you check if you have an appropriate version of g++
or clang
installed on your Mac that supports C++11?
g++ --version
or
clang --version
g++ 4.8 or later, clang 3.3 or later are good version to support C++11.
If they are old version, please upgrade either of them.
Regards Daisy
Mac is not yet in OPEA support list. It would be super interesting to add Mac support in OPEA roadmap.
Mac is a common developer platform so adding to the supported roadmap would be very useful.
@daisy-ycguo Here is what I see on my platform:
%g++ --version
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
What needs to be different?
Configuration:
Followed the instructions at https://github.com/opea-project/GenAIExamples/blob/main/ChatQnA/docker/xeon/README.md
Trying to build the Docker image:
gives the following error: