Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
a688b64f
Commit
a688b64f
authored
Oct 05, 2017
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Drop feature for randomly disabling/enabling components
This feature was never used for anything.
parent
010baac1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
41 deletions
+0
-41
configure
configure
+0
-41
No files found.
configure
View file @
a688b64f
...
@@ -342,14 +342,6 @@ Developer options (useful when working on Libav itself):
...
@@ -342,14 +342,6 @@ Developer options (useful when working on Libav itself):
used only for debugging purposes)
used only for debugging purposes)
--enable-xmm-clobber-test check XMM registers for clobbering (Win64-only;
--enable-xmm-clobber-test check XMM registers for clobbering (Win64-only;
should be used only for debugging purposes)
should be used only for debugging purposes)
--enable-random randomly enable/disable components
--disable-random
--enable-random=LIST randomly enable/disable specific components or
--disable-random=LIST component groups. LIST is a comma-separated list
of NAME[:PROB] entries where NAME is a component
(group) and PROB the probability associated with
NAME (default 0.5).
--random-seed=VALUE seed value for --enable/disable-random
--disable-valgrind-backtrace do not print a backtrace under Valgrind
--disable-valgrind-backtrace do not print a backtrace under Valgrind
(only applies to --disable-optimizations builds)
(only applies to --disable-optimizations builds)
--ignore-tests=TESTS comma-separated list (without "fate-" prefix
--ignore-tests=TESTS comma-separated list (without "fate-" prefix
...
@@ -1855,7 +1847,6 @@ CMDLINE_SET="
...
@@ -1855,7 +1847,6 @@ CMDLINE_SET="
optflags
optflags
pkg_config
pkg_config
pkg_config_flags
pkg_config_flags
random_seed
samples
samples
sysinclude
sysinclude
sysroot
sysroot
...
@@ -2794,27 +2785,6 @@ show_list() {
...
@@ -2794,27 +2785,6 @@ show_list() {
exit
0
exit
0
}
}
rand_list
(){
IFS
=
', '
set
--
$*
unset
IFS
for
thing
;
do
comp
=
${
thing
%
:
*
}
prob
=
${
thing
#
$comp
}
prob
=
${
prob
#
:
}
is_in
${
comp
}
$COMPONENT_LIST
&&
eval
comp
=
\$
$(
toupper
${
comp
%s
})
_LIST
echo
"prob
${
prob
:-
0
.5
}
"
printf
'%s\n'
$comp
done
}
do_random
(){
action
=
$1
shift
random_seed
=
$(
awk
"BEGIN { srand(
$random_seed
); print srand() }"
)
$action
$(
rand_list
"
$@
"
|
awk
"BEGIN { srand(
$random_seed
) }
\$
1 ==
\"
prob
\"
{ prob =
\$
2; next } rand() < prob { print }"
)
}
for
opt
do
for
opt
do
optval
=
"
${
opt
#*=
}
"
optval
=
"
${
opt
#*=
}
"
case
"
$opt
"
in
case
"
$opt
"
in
...
@@ -2846,14 +2816,6 @@ for opt do
...
@@ -2846,14 +2816,6 @@ for opt do
map
'eval unset \${$(toupper ${v%s})_LIST}'
$COMPONENT_LIST
map
'eval unset \${$(toupper ${v%s})_LIST}'
$COMPONENT_LIST
disable
$LIBRARY_LIST
$PROGRAM_LIST
doc
disable
$LIBRARY_LIST
$PROGRAM_LIST
doc
;;
;;
--enable-random
|
--disable-random
)
action
=
${
opt
%%-random
}
do_random
${
action
#--
}
$COMPONENT_LIST
;;
--enable-random
=
*
|
--disable-random
=
*
)
action
=
${
opt
%%-random=*
}
do_random
${
action
#--
}
$optval
;;
--enable-
*
=
*
|
--disable-
*
=
*
)
--enable-
*
=
*
|
--disable-
*
=
*
)
eval
$(
echo
"
${
opt
%%=*
}
"
|
sed
's/--/action=/;s/-/ thing=/'
)
eval
$(
echo
"
${
opt
%%=*
}
"
|
sed
's/--/action=/;s/-/ thing=/'
)
is_in
"
${
thing
}
s"
$COMPONENT_LIST
||
die_unknown
"
$opt
"
is_in
"
${
thing
}
s"
$COMPONENT_LIST
||
die_unknown
"
$opt
"
...
@@ -5287,9 +5249,6 @@ echo "shared ${shared-no}"
...
@@ -5287,9 +5249,6 @@ echo "shared ${shared-no}"
echo
"network support
${
network
-no
}
"
echo
"network support
${
network
-no
}
"
echo
"threading support
${
thread_type
-no
}
"
echo
"threading support
${
thread_type
-no
}
"
echo
"safe bitstream reader
${
safe_bitstream_reader
-no
}
"
echo
"safe bitstream reader
${
safe_bitstream_reader
-no
}
"
test
-n
"
$random_seed
"
&&
echo
"random seed
${
random_seed
}
"
echo
echo
"External libraries:"
echo
"External libraries:"
print_enabled
''
$EXTERNAL_LIBRARY_LIST
| print_3_columns
print_enabled
''
$EXTERNAL_LIBRARY_LIST
| print_3_columns
...
...
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