evaleev / libint

Libint: high-performance library for computing Gaussian integrals in quantum mechanics
Other
218 stars 96 forks source link

`config.{sub,guess}` are out of date #321

Closed evaleev closed 5 months ago

evaleev commented 5 months ago
          anyone wanting to generate `./configure` on Apple Silicon, this gets past the unrecognized machine error.
diff --git a/bin/config.sub b/bin/config.sub
index a44fd8ae..32495efa 100644
--- a/bin/config.sub
+++ b/bin/config.sub
@@ -1101,6 +1101,9 @@ case $cpu-$vendor in
        x64-*)
                cpu=x86_64
                ;;
+       arm64-*)
+               cpu=arm
+               ;;
        xscale-* | xscalee[bl]-*)
                cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
                ;;

Originally posted by @loriab in https://github.com/evaleev/libint/issues/318#issuecomment-1884079668

evaleev commented 5 months ago

up-to-date versions here: https://git.savannah.gnu.org/cgit/config.git/tree/