Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
e73ec921
Commit
e73ec921
authored
Apr 18, 2012
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: detect PGI compiler and set suitable flags
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
d8b06521
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
configure
configure
+18
-0
No files found.
configure
View file @
e73ec921
...
...
@@ -2140,6 +2140,24 @@ elif $cc -v 2>&1 | grep -q Open64; then
speed_cflags
=
'-O2'
size_cflags
=
'-Os'
filter_cflags
=
'filter_out -Wdisabled-optimization|-Wtype-limits|-fno-signed-zeros'
elif
$cc
-V
2>&1 |
grep
-q
Portland
;
then
cc_type
=
pgi
cc_version
=
'AV_STRINGIFY(__PGIC__.__PGIC_MINOR__.__PGIC_PATCHLEVEL__)'
cc_ident
=
"PGI
$(
$cc
-V
2>&1 |
awk
'/^pgcc/ { print $2; exit }'
)
"
opt_common
=
'-alias=ansi -Mlre -Mpre'
speed_cflags
=
"-O3 -Mautoinline -Munroll=c:4
$opt_common
"
size_cflags
=
"-O2 -Munroll=c:1
$opt_common
"
noopt_cflags
=
"-O1"
filter_cflags
=
pgi_flags
pgi_flags
(){
for
flag
;
do
case
$flag
in
-fomit-frame-pointer
)
echo
-Mnoframe
;;
-g
)
echo
-gopt
;;
*
)
echo
$flag
;;
esac
done
}
fi
test
-n
"
$cc_type
"
&&
enable
$cc_type
||
...
...
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