Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#61600 closed defect (fixed)

xeus @0.25.1: clang: error: the clang compiler does not support '-march=native'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: arm64 Cc:
Port: xeus

Description

https://build.macports.org/builders/ports-11_arm64-builder/builds/708/steps/install-port/logs/stdio

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

Even on compilers/architectures that support -march=native we don't want to use it; we want to build portable archives that can be used on any processor of the family.

Change History (4)

comment:1 Changed 3 years ago by Schamschula (Marius Schamschula)

It looks like cmake is pulling in -march=native. I'll have to investigate how to remove this.

comment:2 Changed 3 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: assignedclosed

In c7886c0ef5164f47c0c748ae3217976842b19beb/macports-ports (master):

xeus: diable -march=native

Closes: #61600

comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

This changes how the software builds so the revision should be increased.

comment:4 Changed 3 years ago by Schamschula (Marius Schamschula)

In 07682419db189b5015fe6122b0bfbea29e21ce20/macports-ports (master):

xeus: rev bump

See: #61600#comment:3

Note: See TracTickets for help on using tickets.