Synchronize ALHP makepkg configuration files with current devtools ones #287

Open
opened 2026-03-09 22:19:09 +01:00 by andrei-korshikov · 0 comments

I see the following differences:

(a) Comment strings:

#NPROC=2
[empty line]

and

# Makepkg defaults:
# OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto !autodeps)

(b)

 MAN_DIRS=(usr{,/local}{,/share}/{man,info})
 DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc})

(c) /usr/share/devtools/makepkg.conf.d/conf.d/fortran.conf

FFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt \
        -Wp,-D_FORTIFY_SOURCE=3 -fstack-clash-protection -fcf-protection \
        -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"

DEBUG_FFLAGS="-g"

Of course, our FFLAGS should contain -march=x86-64-vN and -O3 without -mtune.

I see the following differences: **(a)** Comment strings: ``` #NPROC=2 [empty line] ``` and ``` # Makepkg defaults: # OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto !autodeps) ``` **(b)** ``` MAN_DIRS=(usr{,/local}{,/share}/{man,info}) DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc}) ```` **(c)** `/usr/share/devtools/makepkg.conf.d/conf.d/fortran.conf` ``` FFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt \ -Wp,-D_FORTIFY_SOURCE=3 -fstack-clash-protection -fcf-protection \ -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" DEBUG_FFLAGS="-g" ``` Of course, our `FFLAGS` should contain `-march=x86-64-v`**_`N`_** and `-O3` without `-mtune`.
Sign in to join this conversation.