Initial Apple Silicon support.
authorC.W. Betts <computers57@hotmail.com>
Wed, 5 Aug 2020 08:08:07 +0000 (02:08 -0600)
committerMatt Caswell <matt@openssl.org>
Mon, 10 Aug 2020 08:17:02 +0000 (09:17 +0100)
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12591)

Configurations/10-main.conf

index fc9f3bbea630078a2bf7b490279d57b6df0eb00a..d7580bf3e10e3a4940b316fe018d67538d6dcde9 100644 (file)
@@ -1615,6 +1615,16 @@ my %targets = (
         asm_arch         => 'x86_64',
         perlasm_scheme   => "macosx",
     },
+    "darwin64-arm64-cc" => { inherit_from => [ "darwin64-arm64" ] }, # "Historic" alias
+    "darwin64-arm64" => {
+        inherit_from     => [ "darwin-common" ],
+        CFLAGS           => add("-Wall"),
+        cflags           => add("-arch arm64"),
+        lib_cppflags     => add("-DL_ENDIAN"),
+        bn_ops           => "SIXTY_FOUR_BIT_LONG",
+        asm_arch         => 'aarch64_asm',
+        perlasm_scheme   => "ios64",
+    },
 
 ##### GNU Hurd
     "hurd-x86" => {