Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker build errors on M2 chip mac #55

Open
cansusam opened this issue Jul 25, 2023 · 0 comments
Open

Docker build errors on M2 chip mac #55

cansusam opened this issue Jul 25, 2023 · 0 comments

Comments

@cansusam
Copy link

Following error pops up running make docker-de command on M2 mac with Ventura 13.5.

error: the clang compiler does not support '-march=native' [clang-diagnostic-error]

To fix, add --platform linux/amd64 to docker-build command in Makefile:

docker-build:
	${DOCKER} build --platform linux/amd64 -t osm2rdf .

*wget should be added as a dependency to be able to build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant