Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
x264
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
x264
Commits
1086f450
Commit
1086f450
authored
Jul 23, 2020
by
Damiano Galassi
Committed by
Anton Mitrofanov
Oct 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Add Apple Silicon support
parent
be3c1492
Pipeline
#31662
passed with stages
in 9 minutes and 58 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
14 deletions
+17
-14
config.guess
config.guess
+3
-0
config.sub
config.sub
+2
-2
configure
configure
+12
-12
No files found.
config.guess
View file @
1086f450
...
...
@@ -1238,6 +1238,9 @@ EOF
*
:Rhapsody:
*
:
*
)
echo
${
UNAME_MACHINE
}
-apple-rhapsody
${
UNAME_RELEASE
}
exit
;;
arm64:Darwin:
*
:
*
)
echo
arm64-apple-darwin
${
UNAME_RELEASE
}
exit
;;
*
:Darwin:
*
:
*
)
UNAME_PROCESSOR
=
`
uname
-p
`
||
UNAME_PROCESSOR
=
unknown
case
$UNAME_PROCESSOR
in
...
...
config.sub
View file @
1086f450
...
...
@@ -255,7 +255,7 @@ case $basic_machine in
# Some are omitted here because they have special meanings below.
1750a
|
580
\
|
a29k
\
|
aarch64
|
aarch64_be
\
|
aarch64
|
aarch64_be
|
arm64
\
|
alpha
|
alphaev[4-8]
|
alphaev56
|
alphaev6[78]
|
alphapca5[67]
\
|
alpha64
|
alpha64ev[4-8]
|
alpha64ev56
|
alpha64ev6[78]
|
alpha64pca5[67]
\
|
am33_2.0
\
...
...
@@ -369,7 +369,7 @@ case $basic_machine in
# Recognize the basic CPU types with company name.
580-
*
\
|
a29k-
*
\
|
aarch64-
*
|
aarch64_be-
*
\
|
aarch64-
*
|
aarch64_be-
*
|
arm64
*
-
*
\
|
alpha-
*
|
alphaev[4-8]-
*
|
alphaev56-
*
|
alphaev6[78]-
*
\
|
alpha64-
*
|
alpha64ev[4-8]-
*
|
alpha64ev56-
*
|
alpha64ev6[78]-
*
\
|
alphapca5[67]-
*
|
alpha64pca5[67]-
*
|
arc-
*
\
...
...
configure
View file @
1086f450
...
...
@@ -821,6 +821,18 @@ case $host_cpu in
AS
=
"
${
AS
-
${
CC
}}
"
AS_EXT
=
".c"
;;
aarch64|arm64
*
)
ARCH
=
"AARCH64"
stack_alignment
=
16
if
[
"
$SYS
"
=
MACOSX
]
;
then
AS
=
"
${
AS
-
${
CC
}}
"
ASFLAGS
=
"
$ASFLAGS
-DPREFIX -DPIC"
elif
[
"
$SYS
"
=
WINDOWS
]
&&
[
"
$compiler
"
=
CL
]
;
then
AS
=
"
${
AS
-
${
SRCPATH
}
/tools/gas-preprocessor.pl -arch aarch64 -as-type armasm -- armasm64 -nologo
}
"
else
AS
=
"
${
AS
-
${
CC
}}
"
fi
;;
arm
*
)
ARCH
=
"ARM"
if
[
"
$SYS
"
=
MACOSX
]
;
then
...
...
@@ -839,18 +851,6 @@ case $host_cpu in
AS
=
"
${
AS
-
${
CC
}}
"
fi
;;
aarch64
)
ARCH
=
"AARCH64"
stack_alignment
=
16
if
[
"
$SYS
"
=
MACOSX
]
;
then
AS
=
"
${
AS
-
${
CC
}}
"
ASFLAGS
=
"
$ASFLAGS
-DPREFIX -DPIC"
elif
[
"
$SYS
"
=
WINDOWS
]
&&
[
"
$compiler
"
=
CL
]
;
then
AS
=
"
${
AS
-
${
SRCPATH
}
/tools/gas-preprocessor.pl -arch aarch64 -as-type armasm -- armasm64 -nologo
}
"
else
AS
=
"
${
AS
-
${
CC
}}
"
fi
;;
s390|s390x
)
ARCH
=
"S390"
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment