mirror of https://github.com/PCSX2/pcsx2.git
debian: Refresh and clean. Thanks Micove.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3701 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
b5472c80ec
commit
a23c5e75b7
|
@ -155,6 +155,8 @@ License: BSD (3 clause)
|
|||
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGE.
|
||||
|
||||
Files: plugins/zzogl-pg/opengl/ZeroGSShaders/* plugins/zzogl-pg/opengl/zpipe* plugins/zzogl-pg/opengl/zerogsmath.h plugins/zzogl-pg/opengl/memcpy_amd.cpp
|
||||
Copyright: Unknow
|
||||
|
||||
|
||||
The Debian packaging is:
|
||||
|
|
|
@ -22,10 +22,16 @@
|
|||
if [ -n "$1" ] ; then
|
||||
SVN_CO_VERSION=$1;
|
||||
else
|
||||
echo "Please provide the subversion version as fisrt parameter"
|
||||
echo "Please provide the subversion version for first parameter"
|
||||
exit 1;
|
||||
fi
|
||||
SVN_TRUNK="http://pcsx2.googlecode.com/svn/trunk"
|
||||
if [ -n "$2" ] ; then
|
||||
# Use branch argument
|
||||
SVN_TRUNK="http://pcsx2.googlecode.com/svn/branches/$2"
|
||||
else
|
||||
# by default take the trunk
|
||||
SVN_TRUNK="http://pcsx2.googlecode.com/svn/trunk"
|
||||
fi
|
||||
|
||||
# Debian name of package and tarball
|
||||
PKG_NAME="pcsx2.snapshot-${SVN_CO_VERSION}"
|
||||
|
@ -78,7 +84,8 @@ mkdir -p $ROOT_DIR;
|
|||
get_svn_dir debian-unstable-upstream;
|
||||
echo "Done")
|
||||
|
||||
echo "Donwload Linux compatible plugins ${SVN_CO_VERSION}"
|
||||
echo "Download Linux compatible plugins ${SVN_CO_VERSION}"
|
||||
# Note others plugins exists but they are not 100% copyrigh free
|
||||
mkdir -p $ROOT_DIR/plugins
|
||||
(cd $ROOT_DIR/plugins;
|
||||
get_svn_file plugins/CMakeLists.txt;
|
||||
|
@ -116,19 +123,19 @@ find $NEW_DIR -name "Makefile.am" -exec rm -f {} \;
|
|||
echo "Remove 3rd party directory"
|
||||
find $NEW_DIR -name "3rdparty" -exec rm -fr {} \; 2> /dev/null
|
||||
echo "Remove windows file (useless & copyright issue)"
|
||||
find $NEW_DIR -iname "windows" -exec rm -fr {} \; 2> /dev/null
|
||||
find $NEW_DIR -iname "windows" -type d -exec rm -fr {} \; 2> /dev/null
|
||||
find $NEW_DIR -name "Win32" -type d -exec rm -fr {} \; 2> /dev/null
|
||||
rm -fr "${NEW_DIR}/plugins/zzogl-pg/opengl/Win32"
|
||||
rm -fr "${NEW_DIR}/tools/GSDumpGUI"
|
||||
rm -fr "${NEW_DIR}/common/vsprops"
|
||||
echo "Remove useless file (copyright issue)"
|
||||
rm -fr "${NEW_DIR}/plugins/zzogl-pg/opengl/ZeroGSShaders/zlib"
|
||||
rm -fr "${NEW_DIR}/common/src/Utilities/x86/MemcpyFast.cpp"
|
||||
rm -fr "${NEW_DIR}/plugins/CDVDnull/Linux"
|
||||
|
||||
|
||||
## BUILD
|
||||
echo "Build the tar gz file"
|
||||
tar -C ${TMP_DIR} -czf ${TAR_NAME}.gz $PKG_NAME
|
||||
tar -C $TMP_DIR -czf ${TAR_NAME}.gz $PKG_NAME
|
||||
|
||||
## Clean
|
||||
rm -fr $NEW_DIR
|
||||
rm -fr $ROOT_DIR
|
||||
|
|
|
@ -1,413 +0,0 @@
|
|||
Index: pcsx2.snapshot-3369/pcsx2/CMakeLists.txt
|
||||
===================================================================
|
||||
--- pcsx2.snapshot-3369.orig/pcsx2/CMakeLists.txt
|
||||
+++ pcsx2.snapshot-3369/pcsx2/CMakeLists.txt
|
||||
@@ -17,12 +17,8 @@
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "")
|
||||
|
||||
# set common flags
|
||||
-set(CommonFlags
|
||||
+set(CommonFlags
|
||||
-pthread
|
||||
- -fno-guess-branch-probability
|
||||
- -fno-dse
|
||||
- -fno-tree-dse
|
||||
- -fno-strict-aliasing
|
||||
-m32
|
||||
-march=i486
|
||||
-msse
|
||||
@@ -38,55 +34,51 @@
|
||||
-W
|
||||
-g)
|
||||
|
||||
+# Remove optimization that can break the code. Must be retested
|
||||
+set(BadFlags_O0
|
||||
+ -fno-guess-branch-probability
|
||||
+ -fno-dse
|
||||
+ -fno-tree-dse
|
||||
+ )
|
||||
+
|
||||
+set(BadFlags_O1
|
||||
+ -fno-argument-alias
|
||||
+ -fno-branch-count-reg
|
||||
+ -fno-ipa-pure-const
|
||||
+ -fno-ipa-reference
|
||||
+ -fno-omit-frame-pointer
|
||||
+ -fno-split-wide-types
|
||||
+ -fno-tree-copy-prop
|
||||
+ -fno-tree-dse
|
||||
+ -fno-tree-sink
|
||||
+ )
|
||||
+
|
||||
+set(BadFlags_O2
|
||||
+ -fno-expensive-optimizations
|
||||
+ -fno-forward-propagate
|
||||
+ -fno-inline-small-functions
|
||||
+ -fno-ipa-cp
|
||||
+ -fno-schedule-insns2
|
||||
+ -fno-strict-aliasing
|
||||
+ -fno-tree-builtin-call-dce
|
||||
+ )
|
||||
+
|
||||
# set optimization flags
|
||||
set(OptimizationFlags
|
||||
- -falign-functions
|
||||
- -falign-jumps
|
||||
- -falign-labels
|
||||
- -falign-loops
|
||||
- -fcaller-saves
|
||||
- -fcprop-registers
|
||||
- -fcrossjumping
|
||||
- -fcse-follow-jumps
|
||||
-fcse-skip-blocks
|
||||
- -fdefer-pop
|
||||
- -fdelete-null-pointer-checks
|
||||
- -fgcse
|
||||
- -fgcse-lm
|
||||
- -fif-conversion
|
||||
- -fif-conversion2
|
||||
- -fmerge-constants
|
||||
- -foptimize-sibling-calls
|
||||
- -fpeephole2
|
||||
- -fregmove
|
||||
- -freorder-blocks
|
||||
- -freorder-functions
|
||||
- -frerun-cse-after-loop
|
||||
- -fsched-interblock
|
||||
- -fsched-spec
|
||||
-fstrict-overflow
|
||||
- -fthread-jumps
|
||||
- -ftree-ccp
|
||||
- -ftree-ch
|
||||
- -ftree-copyrename
|
||||
- -ftree-dce
|
||||
- -ftree-dominator-opts
|
||||
- -ftree-fre
|
||||
-ftree-lrs
|
||||
- -ftree-pre
|
||||
- -ftree-sra
|
||||
- -ftree-ter
|
||||
- -ftree-vrp
|
||||
- -funit-at-a-time)
|
||||
+ -O2
|
||||
+ )
|
||||
|
||||
# Debug - Build
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
-
|
||||
+
|
||||
# executable name
|
||||
set(pcsx2Name pcsx2)
|
||||
-
|
||||
+
|
||||
# add defines
|
||||
- add_definitions(${CommonFlags} ${DebugFlags} -DPCSX2_DEVBUILD -DPCSX2_DEBUG -DWX_PRECOMP)
|
||||
+ add_definitions(${CommonFlags} ${DebugFlags} ${BadFlags_O0} -DPCSX2_DEVBUILD -DPCSX2_DEBUG -DWX_PRECOMP)
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
|
||||
# Devel - Build
|
||||
@@ -94,9 +86,9 @@
|
||||
|
||||
# executable name
|
||||
set(pcsx2Name pcsx2)
|
||||
-
|
||||
+
|
||||
# add defines
|
||||
- add_definitions(${CommonFlags} ${OptimizationFlags} -DPCSX2_DEVBUILD -DWX_PRECOMP -DNDEBUG)
|
||||
+ add_definitions(${CommonFlags} ${OptimizationFlags} ${BadFlags_O0} ${BadFlags_O1} ${BadFlags_O2} -DPCSX2_DEVBUILD -DWX_PRECOMP -DNDEBUG)
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
|
||||
# Release - Build
|
||||
@@ -104,9 +96,9 @@
|
||||
|
||||
# executable name
|
||||
set(pcsx2Name pcsx2)
|
||||
-
|
||||
+
|
||||
# add defines
|
||||
- add_definitions(${CommonFlags} ${OptimizationFlags} -DWX_PRECOMP -DNDEBUG)
|
||||
+ add_definitions(${CommonFlags} ${OptimizationFlags} ${BadFlags_O0} ${BadFlags_O1} ${BadFlags_O2} -DWX_PRECOMP -DNDEBUG)
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
|
||||
# you must have both svn client executable and a source that contains svn metadata
|
||||
@@ -606,7 +598,7 @@
|
||||
set(Platform
|
||||
${pcsx2LinuxSources}
|
||||
${pcsx2LinuxHeaders})
|
||||
-endif(Linux)
|
||||
+endif(Linux)
|
||||
|
||||
# Windows
|
||||
if(Windows)
|
||||
@@ -619,7 +611,7 @@
|
||||
if(MacOSX)
|
||||
set(PlatformSources
|
||||
)
|
||||
-endif(MacOSX)
|
||||
+endif(MacOSX)
|
||||
|
||||
# additonal include directories
|
||||
include_directories(.
|
||||
@@ -640,7 +632,7 @@
|
||||
|
||||
# link target with project internal libraries
|
||||
target_link_libraries(${pcsx2Name} Utilities x86emitter)
|
||||
-
|
||||
+
|
||||
# link target with wx
|
||||
target_link_libraries(${pcsx2Name} ${wxWidgets_LIBRARIES})
|
||||
|
||||
Index: pcsx2.snapshot-3369/common/src/x86emitter/CMakeLists.txt
|
||||
===================================================================
|
||||
--- pcsx2.snapshot-3369.orig/common/src/x86emitter/CMakeLists.txt
|
||||
+++ pcsx2.snapshot-3369/common/src/x86emitter/CMakeLists.txt
|
||||
@@ -22,10 +22,6 @@
|
||||
# set common flags
|
||||
set(CommonFlags
|
||||
-pthread
|
||||
- -fno-guess-branch-probability
|
||||
- -fno-dse
|
||||
- -fno-tree-dse
|
||||
- -fno-strict-aliasing
|
||||
-m32
|
||||
-march=i486
|
||||
-msse
|
||||
@@ -41,66 +37,63 @@
|
||||
-W
|
||||
-g)
|
||||
|
||||
+# Remove optimization that can break the code. Must be retested
|
||||
+set(BadFlags_O0
|
||||
+ -fno-guess-branch-probability
|
||||
+ -fno-dse
|
||||
+ -fno-tree-dse
|
||||
+ )
|
||||
+
|
||||
+set(BadFlags_O1
|
||||
+ -fno-argument-alias
|
||||
+ -fno-branch-count-reg
|
||||
+ -fno-ipa-pure-const
|
||||
+ -fno-ipa-reference
|
||||
+ -fno-omit-frame-pointer
|
||||
+ -fno-split-wide-types
|
||||
+ -fno-tree-copy-prop
|
||||
+ -fno-tree-dse
|
||||
+ -fno-tree-sink
|
||||
+ )
|
||||
+
|
||||
+
|
||||
+set(BadFlags_O2
|
||||
+ -fno-expensive-optimizations
|
||||
+ -fno-forward-propagate
|
||||
+ -fno-inline-small-functions
|
||||
+ -fno-ipa-cp
|
||||
+ -fno-schedule-insns2
|
||||
+ -fno-strict-aliasing
|
||||
+ -fno-tree-builtin-call-dce
|
||||
+ )
|
||||
+
|
||||
# set optimization flags
|
||||
set(OptimizationFlags
|
||||
- -falign-functions
|
||||
- -falign-jumps
|
||||
- -falign-labels
|
||||
- -falign-loops
|
||||
- -fcaller-saves
|
||||
- -fcprop-registers
|
||||
- -fcrossjumping
|
||||
- -fcse-follow-jumps
|
||||
-fcse-skip-blocks
|
||||
- -fdefer-pop
|
||||
- -fdelete-null-pointer-checks
|
||||
- -fgcse
|
||||
- -fgcse-lm
|
||||
- -fif-conversion
|
||||
- -fif-conversion2
|
||||
- -fmerge-constants
|
||||
- -foptimize-sibling-calls
|
||||
- -fpeephole2
|
||||
- -fregmove
|
||||
- -freorder-blocks
|
||||
- -freorder-functions
|
||||
- -frerun-cse-after-loop
|
||||
- -fsched-interblock
|
||||
- -fsched-spec
|
||||
-fstrict-overflow
|
||||
- -fthread-jumps
|
||||
- -ftree-ccp
|
||||
- -ftree-ch
|
||||
- -ftree-copyrename
|
||||
- -ftree-dce
|
||||
- -ftree-dominator-opts
|
||||
- -ftree-fre
|
||||
-ftree-lrs
|
||||
- -ftree-pre
|
||||
- -ftree-sra
|
||||
- -ftree-ter
|
||||
- -ftree-vrp
|
||||
- -funit-at-a-time)
|
||||
+ -O2
|
||||
+ )
|
||||
|
||||
# Debug - Build
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
|
||||
# add defines
|
||||
- add_definitions(${CommonFlags} ${DebugFlags} -DPCSX2_DEVBUILD -DPCSX2_DEBUG)
|
||||
+ add_definitions(${CommonFlags} ${DebugFlags} ${BadFlags_O0} -DPCSX2_DEVBUILD -DPCSX2_DEBUG)
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
|
||||
# Devel - Build
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
|
||||
# add defines
|
||||
- add_definitions(${CommonFlags} ${OptimizationFlags} -DPCSX2_DEVBUILD)
|
||||
+ add_definitions(${CommonFlags} ${OptimizationFlags} ${BadFlags_O0} ${BadFlags_O1} ${BadFlags_O2} -DPCSX2_DEVBUILD)
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
|
||||
# Release - Build
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
|
||||
# add defines
|
||||
- add_definitions(${CommonFlags} ${OptimizationFlags})
|
||||
+ add_definitions(${CommonFlags} ${OptimizationFlags} ${BadFlags_O0} ${BadFlags_O1} ${BadFlags_O2})
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
|
||||
# variable with all sources of this library
|
||||
Index: pcsx2.snapshot-3369/common/src/Utilities/CMakeLists.txt
|
||||
===================================================================
|
||||
--- pcsx2.snapshot-3369.orig/common/src/Utilities/CMakeLists.txt
|
||||
+++ pcsx2.snapshot-3369/common/src/Utilities/CMakeLists.txt
|
||||
@@ -20,16 +20,12 @@
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "")
|
||||
|
||||
# set common flags
|
||||
-set(CommonFlags
|
||||
+set(CommonFlags
|
||||
-pthread
|
||||
-m32
|
||||
-march=i486
|
||||
-msse
|
||||
-msse2
|
||||
- -fno-dse
|
||||
- -fno-guess-branch-probability
|
||||
- -fno-strict-aliasing
|
||||
- -fno-tree-dse
|
||||
-pipe
|
||||
-Wno-format
|
||||
-Wno-unused-parameter
|
||||
@@ -41,66 +37,64 @@
|
||||
-g
|
||||
-W)
|
||||
|
||||
+# Remove optimization that can break the code. Must be retested
|
||||
+set(BadFlags_O0
|
||||
+ -fno-guess-branch-probability
|
||||
+ -fno-dse
|
||||
+ -fno-tree-dse
|
||||
+ )
|
||||
+
|
||||
+set(BadFlags_O1
|
||||
+ -fno-argument-alias
|
||||
+ -fno-branch-count-reg
|
||||
+ -fno-ipa-pure-const
|
||||
+ -fno-ipa-reference
|
||||
+ -fno-omit-frame-pointer
|
||||
+ -fno-split-wide-types
|
||||
+ -fno-tree-copy-prop
|
||||
+ -fno-tree-dse
|
||||
+ -fno-tree-sink
|
||||
+ )
|
||||
+
|
||||
+
|
||||
+set(BadFlags_O2
|
||||
+ -fno-expensive-optimizations
|
||||
+ -fno-forward-propagate
|
||||
+ -fno-inline-small-functions
|
||||
+ -fno-ipa-cp
|
||||
+ -fno-schedule-insns2
|
||||
+ -fno-strict-aliasing
|
||||
+ -fno-tree-builtin-call-dce
|
||||
+ )
|
||||
+
|
||||
+
|
||||
# set optimization flags
|
||||
set(OptimizationFlags
|
||||
- -falign-functions
|
||||
- -falign-jumps
|
||||
- -falign-labels
|
||||
- -falign-loops
|
||||
- -fcaller-saves
|
||||
- -fcprop-registers
|
||||
- -fcrossjumping
|
||||
- -fcse-follow-jumps
|
||||
-fcse-skip-blocks
|
||||
- -fdefer-pop
|
||||
- -fdelete-null-pointer-checks
|
||||
- -fgcse
|
||||
- -fgcse-lm
|
||||
- -fif-conversion
|
||||
- -fif-conversion2
|
||||
- -fmerge-constants
|
||||
- -foptimize-sibling-calls
|
||||
- -fpeephole2
|
||||
- -fregmove
|
||||
- -freorder-blocks
|
||||
- -freorder-functions
|
||||
- -frerun-cse-after-loop
|
||||
- -fsched-interblock
|
||||
- -fsched-spec
|
||||
-fstrict-overflow
|
||||
- -fthread-jumps
|
||||
- -ftree-ccp
|
||||
- -ftree-ch
|
||||
- -ftree-copyrename
|
||||
- -ftree-dce
|
||||
- -ftree-dominator-opts
|
||||
- -ftree-fre
|
||||
-ftree-lrs
|
||||
- -ftree-pre
|
||||
- -ftree-sra
|
||||
- -ftree-ter
|
||||
- -ftree-vrp
|
||||
- -funit-at-a-time)
|
||||
+ -O2
|
||||
+ )
|
||||
|
||||
# Debug - Build
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
-
|
||||
+
|
||||
# add defines
|
||||
- add_definitions(${CommonFlags} ${DebugFlags} -DPCSX2_DEBUG -DPCSX2_DEVBUILD)
|
||||
+ add_definitions(${CommonFlags} ${DebugFlags} ${BadFlags_O0} -DPCSX2_DEBUG -DPCSX2_DEVBUILD)
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
|
||||
# Devel - Build
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
-
|
||||
+
|
||||
# add defines
|
||||
- add_definitions(${CommonFlags} ${OptimizationFlags} -DPCSX2_DEVBUILD)
|
||||
+ add_definitions(${CommonFlags} ${OptimizationFlags} ${BadFlags_O0} ${BadFlags_O1} ${BadFlags_O2} -DPCSX2_DEVBUILD)
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Devel)
|
||||
|
||||
# Release - Build
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
-
|
||||
+
|
||||
# add defines
|
||||
- add_definitions(${CommonFlags} ${OptimizationFlags})
|
||||
+ add_definitions(${CommonFlags} ${OptimizationFlags} ${BadFlags_O0} ${BadFlags_O1} ${BadFlags_O2})
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
|
||||
# variable with all sources of this library
|
||||
@@ -178,7 +172,7 @@
|
||||
|
||||
# link target with wx
|
||||
target_link_libraries(${UtilitiesName} ${wxWidgets_LIBRARIES})
|
||||
-
|
||||
+
|
||||
# Force the linker into 32 bits mode
|
||||
target_link_libraries(${UtilitiesName} -m32)
|
||||
|
|
@ -1,78 +0,0 @@
|
|||
Index: pcsx2.snapshot-3369/common/src/Utilities/CMakeLists.txt
|
||||
===================================================================
|
||||
--- pcsx2.snapshot-3369.orig/common/src/Utilities/CMakeLists.txt
|
||||
+++ pcsx2.snapshot-3369/common/src/Utilities/CMakeLists.txt
|
||||
@@ -39,21 +39,9 @@
|
||||
|
||||
# Remove optimization that can break the code. Must be retested
|
||||
set(BadFlags_O0
|
||||
- -fno-guess-branch-probability
|
||||
- -fno-dse
|
||||
- -fno-tree-dse
|
||||
)
|
||||
|
||||
set(BadFlags_O1
|
||||
- -fno-argument-alias
|
||||
- -fno-branch-count-reg
|
||||
- -fno-ipa-pure-const
|
||||
- -fno-ipa-reference
|
||||
- -fno-omit-frame-pointer
|
||||
- -fno-split-wide-types
|
||||
- -fno-tree-copy-prop
|
||||
- -fno-tree-dse
|
||||
- -fno-tree-sink
|
||||
)
|
||||
|
||||
|
||||
Index: pcsx2.snapshot-3369/common/src/x86emitter/CMakeLists.txt
|
||||
===================================================================
|
||||
--- pcsx2.snapshot-3369.orig/common/src/x86emitter/CMakeLists.txt
|
||||
+++ pcsx2.snapshot-3369/common/src/x86emitter/CMakeLists.txt
|
||||
@@ -39,21 +39,9 @@
|
||||
|
||||
# Remove optimization that can break the code. Must be retested
|
||||
set(BadFlags_O0
|
||||
- -fno-guess-branch-probability
|
||||
- -fno-dse
|
||||
- -fno-tree-dse
|
||||
)
|
||||
|
||||
set(BadFlags_O1
|
||||
- -fno-argument-alias
|
||||
- -fno-branch-count-reg
|
||||
- -fno-ipa-pure-const
|
||||
- -fno-ipa-reference
|
||||
- -fno-omit-frame-pointer
|
||||
- -fno-split-wide-types
|
||||
- -fno-tree-copy-prop
|
||||
- -fno-tree-dse
|
||||
- -fno-tree-sink
|
||||
)
|
||||
|
||||
|
||||
Index: pcsx2.snapshot-3369/pcsx2/CMakeLists.txt
|
||||
===================================================================
|
||||
--- pcsx2.snapshot-3369.orig/pcsx2/CMakeLists.txt
|
||||
+++ pcsx2.snapshot-3369/pcsx2/CMakeLists.txt
|
||||
@@ -36,21 +36,9 @@
|
||||
|
||||
# Remove optimization that can break the code. Must be retested
|
||||
set(BadFlags_O0
|
||||
- -fno-guess-branch-probability
|
||||
- -fno-dse
|
||||
- -fno-tree-dse
|
||||
)
|
||||
|
||||
set(BadFlags_O1
|
||||
- -fno-argument-alias
|
||||
- -fno-branch-count-reg
|
||||
- -fno-ipa-pure-const
|
||||
- -fno-ipa-reference
|
||||
- -fno-omit-frame-pointer
|
||||
- -fno-split-wide-types
|
||||
- -fno-tree-copy-prop
|
||||
- -fno-tree-dse
|
||||
- -fno-tree-sink
|
||||
)
|
||||
|
||||
set(BadFlags_O2
|
|
@ -1,54 +0,0 @@
|
|||
Index: pcsx2.snapshot-3369/common/src/Utilities/CMakeLists.txt
|
||||
===================================================================
|
||||
--- pcsx2.snapshot-3369.orig/common/src/Utilities/CMakeLists.txt
|
||||
+++ pcsx2.snapshot-3369/common/src/Utilities/CMakeLists.txt
|
||||
@@ -46,13 +46,6 @@
|
||||
|
||||
|
||||
set(BadFlags_O2
|
||||
- -fno-expensive-optimizations
|
||||
- -fno-forward-propagate
|
||||
- -fno-inline-small-functions
|
||||
- -fno-ipa-cp
|
||||
- -fno-schedule-insns2
|
||||
- -fno-strict-aliasing
|
||||
- -fno-tree-builtin-call-dce
|
||||
)
|
||||
|
||||
|
||||
Index: pcsx2.snapshot-3369/common/src/x86emitter/CMakeLists.txt
|
||||
===================================================================
|
||||
--- pcsx2.snapshot-3369.orig/common/src/x86emitter/CMakeLists.txt
|
||||
+++ pcsx2.snapshot-3369/common/src/x86emitter/CMakeLists.txt
|
||||
@@ -46,13 +46,6 @@
|
||||
|
||||
|
||||
set(BadFlags_O2
|
||||
- -fno-expensive-optimizations
|
||||
- -fno-forward-propagate
|
||||
- -fno-inline-small-functions
|
||||
- -fno-ipa-cp
|
||||
- -fno-schedule-insns2
|
||||
- -fno-strict-aliasing
|
||||
- -fno-tree-builtin-call-dce
|
||||
)
|
||||
|
||||
# set optimization flags
|
||||
Index: pcsx2.snapshot-3369/pcsx2/CMakeLists.txt
|
||||
===================================================================
|
||||
--- pcsx2.snapshot-3369.orig/pcsx2/CMakeLists.txt
|
||||
+++ pcsx2.snapshot-3369/pcsx2/CMakeLists.txt
|
||||
@@ -42,13 +42,6 @@
|
||||
)
|
||||
|
||||
set(BadFlags_O2
|
||||
- -fno-expensive-optimizations
|
||||
- -fno-forward-propagate
|
||||
- -fno-inline-small-functions
|
||||
- -fno-ipa-cp
|
||||
- -fno-schedule-insns2
|
||||
- -fno-strict-aliasing
|
||||
- -fno-tree-builtin-call-dce
|
||||
)
|
||||
|
||||
# set optimization flags
|
|
@ -2,7 +2,3 @@
|
|||
02_update_default_path.patch
|
||||
05_move_data_to_config.patch
|
||||
21_use_legacy_soundtouch_13.patch
|
||||
# Personnal patch that need advance testing
|
||||
#55_cmake_opt_clean.patch
|
||||
#56_cmake_enable_opt1.patch
|
||||
#57_cmake_enable_opt2.patch
|
||||
|
|
|
@ -91,40 +91,15 @@ install: build
|
|||
# lintian override
|
||||
dh_lintian
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
dh_testdir -i
|
||||
dh_testroot -i
|
||||
dh_installchangelogs -i
|
||||
dh_installdocs -i
|
||||
dh_installman -i
|
||||
dh_link -i
|
||||
dh_compress -i
|
||||
dh_fixperms -i
|
||||
dh_installdeb -i
|
||||
dh_gencontrol -i
|
||||
dh_md5sums -i
|
||||
dh_builddeb -i
|
||||
## Uncomment this, if fglrx driver is installed
|
||||
#override_dh_shlibdeps:
|
||||
# dh_shlibdeps -- --ignore-missing-info
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir -a
|
||||
dh_testroot -a
|
||||
dh_installchangelogs -a
|
||||
dh_installdocs -a
|
||||
dh_installmenu -a
|
||||
dh_installman -a
|
||||
override_dh_strip:
|
||||
dh_strip --package=pcsx2-unstable --dbg-package=pcsx2-unstable-dbg
|
||||
dh_strip --package=pcsx2-plugins-unstable --dbg-package=pcsx2-plugins-unstable-dbg
|
||||
dh_link -a
|
||||
dh_compress -a
|
||||
dh_fixperms -a
|
||||
dh_makeshlibs -a
|
||||
dh_installdeb -a
|
||||
dh_shlibdeps -a
|
||||
dh_gencontrol -a
|
||||
dh_md5sums -a
|
||||
dh_builddeb -a
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install
|
||||
%:
|
||||
dh $@ --parallel
|
||||
|
||||
.PHONY: build clean install
|
||||
|
|
|
@ -91,43 +91,15 @@ install: build
|
|||
# lintian override
|
||||
dh_lintian
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
dh_testdir -i
|
||||
dh_testroot -i
|
||||
dh_installchangelogs -i
|
||||
dh_installdocs -i
|
||||
dh_installman -i
|
||||
dh_link -i
|
||||
dh_compress -i
|
||||
dh_fixperms -i
|
||||
dh_installdeb -i
|
||||
dh_gencontrol -i
|
||||
dh_md5sums -i
|
||||
dh_builddeb -i
|
||||
# Allow compilation when fglrx is installed
|
||||
override_dh_shlibdeps:
|
||||
dh_shlibdeps -- --ignore-missing-info
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir -a
|
||||
dh_testroot -a
|
||||
dh_installchangelogs -a
|
||||
dh_installdocs -a
|
||||
dh_installmenu -a
|
||||
dh_installman -a
|
||||
override_dh_strip:
|
||||
dh_strip --package=pcsx2-unstable --dbg-package=pcsx2-unstable-dbg
|
||||
dh_strip --package=pcsx2-plugins-unstable --dbg-package=pcsx2-plugins-unstable-dbg
|
||||
dh_link -a
|
||||
dh_compress -a
|
||||
dh_fixperms -a
|
||||
dh_makeshlibs -a
|
||||
dh_installdeb -a
|
||||
# XXX: WARNING to test the package on my system I must add the option (--exclude)
|
||||
# due to fglrx drivers modify libGL. It must be re-enable for final packaging
|
||||
# dh_shlibdeps -a
|
||||
dh_shlibdeps -a --exclude=libzzogl
|
||||
dh_gencontrol -a
|
||||
dh_md5sums -a
|
||||
dh_builddeb -a
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install
|
||||
%:
|
||||
dh $@ --parallel
|
||||
|
||||
.PHONY: build clean install
|
||||
|
|
Loading…
Reference in New Issue