Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
456
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
74d8efac
Commit
74d8efac
authored
9 years ago
by
Felix Paul Kühne
Browse files
Options
Downloads
Patches
Plain Diff
iOS build script: disable NEON assembly for tvOS
parent
5bc75d3d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
extras/package/ios/build.sh
+12
-7
12 additions, 7 deletions
extras/package/ios/build.sh
with
12 additions
and
7 deletions
extras/package/ios/build.sh
+
12
−
7
View file @
74d8efac
...
...
@@ -100,8 +100,6 @@ if [ "$VERBOSE" = "yes" ]; then
out
=
"/dev/stdout"
fi
info
"Building libvlc for iOS"
TARGET
=
"
${
ARCH
}
-apple-darwin11"
# apple doesn't call AArch64 that way, but arm64 (a contrario to all libraries)
...
...
@@ -124,6 +122,8 @@ if [ "$TVOS" = "yes" ]; then
fi
export
BUILDFORIOS
=
"yes"
info
"Building libvlc for Apple embedded OS style '
${
OSSTYLE
}
'"
info
"Using
${
ARCH
}
with SDK version
${
SDK_VERSION
}
"
THIS_SCRIPT_PATH
=
`
pwd
`
/
$0
...
...
@@ -287,9 +287,8 @@ fi
echo
"EXTRA_CFLAGS +=
${
EXTRA_CFLAGS
}
"
>>
config.mak
echo
"EXTRA_LDFLAGS +=
${
EXTRA_LDFLAGS
}
"
>>
config.mak
# make fetch
make
V
=
1
# make -j$MAKE_JOBS > ${out}
make fetch
make
-j
$MAKE_JOBS
>
${
out
}
spopd
info
"Bootstraping vlc"
...
...
@@ -326,6 +325,12 @@ else
SCARYFLAG
=
"--disable-dca --disable-dvbpsi --disable-avcodec --disable-avformat --disable-zvbi --enable-vpx"
fi
if
[
"
$TVOS
"
=
"yes"
]
;
then
TVOSOPTIONS
=
"--disable-neon"
else
TVOSOPTIONS
=
"--enable-neon"
fi
# Run configure only upon changes.
if
[
"
${
VLCROOT
}
/configure"
-nt
config.log
-o
\
"
${
THIS_SCRIPT_PATH
}
"
-nt
config.log
]
;
then
...
...
@@ -336,6 +341,7 @@ ${VLCROOT}/configure \
--enable-static
\
${
DEBUGFLAG
}
\
${
SCARYFLAG
}
\
${
TVOSOPTIONS
}
\
--disable-macosx
\
--disable-macosx-dialog-provider
\
--disable-macosx-qtkit
\
...
...
@@ -358,7 +364,6 @@ ${VLCROOT}/configure \
--disable-httpd
\
--disable-nls
\
--disable-sse
\
--enable-neon
\
--disable-notify
\
--enable-live555
\
--enable-realrtsp
\
...
...
@@ -388,7 +393,7 @@ ${VLCROOT}/configure \
--enable-taglib
\
--disable-mmx
\
--disable-addonmanagermodules
\
--disable-mad
>
${
out
}
# MMX and SSE support requires llvm which is broken on Simulator
--disable-mad
>
${
out
}
fi
info
"Building libvlc"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment