ad-freiburg/osm2rdf

Docker build errors on M2 chip mac

Opened this issue · 0 comments

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.