[freefoam] 01/01: Add ppc64el arch to FOAMDetermineArch.cmake.

Anton Gladky gladk at moszumanska.debian.org
Wed Oct 14 18:57:48 UTC 2015


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository freefoam.

commit c95645b69898dbc02099b1564a4d820e186ac94e
Author: Fernando Seiti Furusato <ferseiti at br.ibm.com>
Date:   Wed Oct 14 20:57:41 2015 +0200

    Add ppc64el arch to FOAMDetermineArch.cmake.
---
 debian/patches/ppc64el.patch | 11 +++++++++++
 debian/patches/series        |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/ppc64el.patch b/debian/patches/ppc64el.patch
new file mode 100644
index 0000000..5596afd
--- /dev/null
+++ b/debian/patches/ppc64el.patch
@@ -0,0 +1,11 @@
+--- a/CMake/FOAMDetermineArch.cmake
++++ b/CMake/FOAMDetermineArch.cmake
+@@ -86,7 +86,7 @@
+ if(FOAM_OSNAME STREQUAL Linux)
+   if(FOAM_CPUNAME STREQUAL i686)
+     set(FOAM_OS linux)
+-  elseif(FOAM_CPUNAME STREQUAL x86_64)
++  elseif(FOAM_CPUNAME STREQUAL x86_64 OR FOAM_CPUNAME STREQUAL ppc64le)
+     if(FOAM_64_BIT)
+       set(FOAM_OS linux64)
+     else()
diff --git a/debian/patches/series b/debian/patches/series
index cda5e45..2b841c7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -12,3 +12,4 @@ update-doxygen-foamheader.diff
 mips.diff
 fix_python_header.patch
 fix_cmake_failure.patch
+ppc64el.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/freefoam.git



More information about the debian-science-commits mailing list