* [gentoo-commits] gentoo-x86 commit in sci-chemistry/gromacs/files: gromacs-4.5.7-cmake-cpp-asm.patch
@ 2013-05-03 17:04 Christoph Junghans (ottxor)
0 siblings, 0 replies; only message in thread
From: Christoph Junghans (ottxor) @ 2013-05-03 17:04 UTC (permalink / raw
To: gentoo-commits
ottxor 13/05/03 17:04:13
Added: gromacs-4.5.7-cmake-cpp-asm.patch
Log:
added recent 4.5.x version (bug #468454)
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key C2000586)
Revision Changes Path
1.1 sci-chemistry/gromacs/files/gromacs-4.5.7-cmake-cpp-asm.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gromacs/files/gromacs-4.5.7-cmake-cpp-asm.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gromacs/files/gromacs-4.5.7-cmake-cpp-asm.patch?rev=1.1&content-type=text/plain
Index: gromacs-4.5.7-cmake-cpp-asm.patch
===================================================================
diff -Naur gromacs-4.5.7.orig/cmake/CMakeASM-ATTInformation.cmake gromacs-4.5.7/cmake/CMakeASM-ATTInformation.cmake
--- gromacs-4.5.7.orig/cmake/CMakeASM-ATTInformation.cmake 1969-12-31 17:00:00.000000000 -0700
+++ gromacs-4.5.7/cmake/CMakeASM-ATTInformation.cmake 2013-05-03 10:47:52.779868731 -0600
@@ -0,0 +1,13 @@
+
+# This a modified version of CMakeASMInformation.cmake coming with cmake 2.8.6, which
+# supports .S files
+
+# support for AT&T syntax assemblers, e.g. GNU as
+
+SET(ASM_DIALECT "-ATT")
+SET(CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS S;s;asm)
+
+SET(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <FLAGS> -o <OBJECT> <SOURCE>")
+
+INCLUDE(CMakeASMInformation)
+SET(ASM_DIALECT)
diff -Naur gromacs-4.5.7.orig/src/gmxlib/CMakeLists.txt gromacs-4.5.7/src/gmxlib/CMakeLists.txt
--- gromacs-4.5.7.orig/src/gmxlib/CMakeLists.txt 2013-05-03 10:46:29.029305075 -0600
+++ gromacs-4.5.7/src/gmxlib/CMakeLists.txt 2013-05-03 10:50:34.630582295 -0600
@@ -47,18 +47,18 @@
if(GMX_IA32_ASM)
file(GLOB GMX_SSEKERNEL_C_SRC nonbonded/nb_kernel_ia32_${SSETYPE}/*.c)
if(GMX_ASM_USEASM_NASM)
- file(GLOB GMX_SSEKERNEL_ASM_SRC nonbonded/nb_kernel_ia32_${SSETYPE}/*intel_syntax*.s)
+ file(GLOB GMX_SSEKERNEL_ASM_SRC nonbonded/nb_kernel_ia32_${SSETYPE}/*intel_syntax*.S)
else()
- file(GLOB GMX_SSEKERNEL_ASM_SRC nonbonded/nb_kernel_ia32_${SSETYPE}/*${SSETYPE}.s nonbonded/nb_kernel_ia32_${SSETYPE}/*asm.s)
+ file(GLOB GMX_SSEKERNEL_ASM_SRC nonbonded/nb_kernel_ia32_${SSETYPE}/*${SSETYPE}.S nonbonded/nb_kernel_ia32_${SSETYPE}/*asm.S)
endif()
endif(GMX_IA32_ASM)
if(GMX_X86_64_ASM)
file(GLOB GMX_SSEKERNEL_C_SRC nonbonded/nb_kernel_x86_64_${SSETYPE}/*.c)
if(GMX_ASM_USEASM_NASM)
- file(GLOB GMX_SSEKERNEL_ASM_SRC nonbonded/nb_kernel_x86_64_${SSETYPE}/*intel_syntax*.s)
+ file(GLOB GMX_SSEKERNEL_ASM_SRC nonbonded/nb_kernel_x86_64_${SSETYPE}/*intel_syntax*.S)
else()
- file(GLOB GMX_SSEKERNEL_ASM_SRC nonbonded/nb_kernel_x86_64_${SSETYPE}/*${SSETYPE}.s nonbonded/nb_kernel_x86_64_${SSETYPE}/*asm.s)
+ file(GLOB GMX_SSEKERNEL_ASM_SRC nonbonded/nb_kernel_x86_64_${SSETYPE}/*${SSETYPE}.S nonbonded/nb_kernel_x86_64_${SSETYPE}/*asm.S)
endif()
endif(GMX_X86_64_ASM)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-05-03 17:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-03 17:04 [gentoo-commits] gentoo-x86 commit in sci-chemistry/gromacs/files: gromacs-4.5.7-cmake-cpp-asm.patch Christoph Junghans (ottxor)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox