Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
e4ba74a8
Commit
e4ba74a8
authored
Oct 13, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tune MacIntel for prescott. Also add tuning to contrib (prescott vs. G4)wq
parent
f68336d9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
configure.ac
configure.ac
+3
-1
extras/contrib/bootstrap
extras/contrib/bootstrap
+9
-7
No files found.
configure.ac
View file @
e4ba74a8
...
@@ -1390,7 +1390,9 @@ if test -n "${with_tuning}"; then
...
@@ -1390,7 +1390,9 @@ if test -n "${with_tuning}"; then
CFLAGS_TUNING="-mtune=${with_tuning}"
CFLAGS_TUNING="-mtune=${with_tuning}"
fi
fi
else
else
if test "${target_cpu}" = "i686" -o "${target_cpu}" = "i586" -o "${target_cpu}" = "i486" -o "${target_cpu}" = "i386"; then
if test "${SYS}" = "darwin" -a "${target_cpu}" = "i686"; then
CFLAGS_TUNING="-march=pentium-m -mtune=prescott"
elif test "${target_cpu}" = "i686" -o "${target_cpu}" = "i586" -o "${target_cpu}" = "i486" -o "${target_cpu}" = "i386"; then
CFLAGS_TUNING="-mtune=pentium2"
CFLAGS_TUNING="-mtune=pentium2"
elif test "${target_cpu}" = "x86_64"; then
elif test "${target_cpu}" = "x86_64"; then
CFLAGS_TUNING="-mtune=athlon64"
CFLAGS_TUNING="-mtune=athlon64"
...
...
extras/contrib/bootstrap
View file @
e4ba74a8
...
@@ -68,6 +68,7 @@ case $HOST in
...
@@ -68,6 +68,7 @@ case $HOST in
echo
"HAVE_DARWIN_OS = 1"
>>
config.mak
echo
"HAVE_DARWIN_OS = 1"
>>
config.mak
echo
"ENVP = MACOSX_DEPLOYMENT_TARGET=
${
SDK_TARGET
}
"
>>
config.mak
echo
"ENVP = MACOSX_DEPLOYMENT_TARGET=
${
SDK_TARGET
}
"
>>
config.mak
echo
"MACOSX_SDK = /Developer/SDKs/MacOSX10.3.9.sdk"
>>
config.mak
echo
"MACOSX_SDK = /Developer/SDKs/MacOSX10.3.9.sdk"
>>
config.mak
CFLAGS_TUNING
=
" -mtune=G4"
#EXTRA_CFLAGS=" -D\${ENVP} -isysroot \${MACOSX_SDK}"
#EXTRA_CFLAGS=" -D\${ENVP} -isysroot \${MACOSX_SDK}"
#EXTRA_LDFLAGS=" -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}"
#EXTRA_LDFLAGS=" -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}"
echo
"PATH = /bin:/usr/bin:/usr/local/bin"
>>
config.mak
echo
"PATH = /bin:/usr/bin:/usr/local/bin"
>>
config.mak
...
@@ -78,6 +79,7 @@ case $HOST in
...
@@ -78,6 +79,7 @@ case $HOST in
echo
"HAVE_DARWIN_OS = 1"
>>
config.mak
echo
"HAVE_DARWIN_OS = 1"
>>
config.mak
echo
"ENVP = MACOSX_DEPLOYMENT_TARGET=
${
SDK_TARGET
}
"
>>
config.mak
echo
"ENVP = MACOSX_DEPLOYMENT_TARGET=
${
SDK_TARGET
}
"
>>
config.mak
echo
"MACOSX_SDK = /Developer/SDKs/MacOSX10.3.9.sdk"
>>
config.mak
echo
"MACOSX_SDK = /Developer/SDKs/MacOSX10.3.9.sdk"
>>
config.mak
CFLAGS_TUNING
=
" -march=pentium-m -mtune=prescott"
#EXTRA_CFLAGS=" -D\${ENVP} -isysroot \${MACOSX_SDK}"
#EXTRA_CFLAGS=" -D\${ENVP} -isysroot \${MACOSX_SDK}"
#EXTRA_LDFLAGS=" -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}"
#EXTRA_LDFLAGS=" -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}"
echo
"PATH = /bin:/usr/bin:/usr/local/bin"
>>
config.mak
echo
"PATH = /bin:/usr/bin:/usr/local/bin"
>>
config.mak
...
@@ -139,7 +141,7 @@ echo "CXX = ${CXX}" >> config.mak
...
@@ -139,7 +141,7 @@ echo "CXX = ${CXX}" >> config.mak
echo
"LD =
${
LD
}
"
>>
config.mak
echo
"LD =
${
LD
}
"
>>
config.mak
echo
"RANLIB =
${
RANLIB
}
"
>>
config.mak
echo
"RANLIB =
${
RANLIB
}
"
>>
config.mak
echo
"AR =
${
AR
}
"
>>
config.mak
echo
"AR =
${
AR
}
"
>>
config.mak
echo
"EXTRA_CFLAGS =
${
EXTRA_CFLAGS
}
"
>>
config.mak
echo
"EXTRA_CFLAGS =
${
CFLAGS_TUNING
}
${
EXTRA_CFLAGS
}
"
>>
config.mak
echo
"EXTRA_CPPFLAGS =
${
EXTRA_CPPFLAGS
}
-I
${
PREFIX
}
/include"
>>
config.mak
echo
"EXTRA_CPPFLAGS =
${
EXTRA_CPPFLAGS
}
-I
${
PREFIX
}
/include"
>>
config.mak
echo
"EXTRA_LDFLAGS =
${
EXTRA_LDFLAGS
}
"
>>
config.mak
echo
"EXTRA_LDFLAGS =
${
EXTRA_LDFLAGS
}
"
>>
config.mak
echo
"EXTRA_PATH =
${
EXTRA_PATH
}
"
>>
config.mak
echo
"EXTRA_PATH =
${
EXTRA_PATH
}
"
>>
config.mak
...
...
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