[Cmake-commits] CMake branch, next, updated. v3.2.1-1339-g78fb739

Brad King brad.king at kitware.com
Wed Apr 1 11:13:45 EDT 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  78fb739f9a33b22eca2339a2c33bb23ba1808781 (commit)
       via  af61d6cb60a38069fb82f54bd7f2eb2b798bf4dc (commit)
      from  b190c080a71b5ad153d58a40256d6144d2e84b32 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=78fb739f9a33b22eca2339a2c33bb23ba1808781
commit 78fb739f9a33b22eca2339a2c33bb23ba1808781
Merge: b190c08 af61d6c
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Wed Apr 1 11:13:44 2015 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Apr 1 11:13:44 2015 -0400

    Merge topic 'fix-liblzma-access-alignment' into next
    
    af61d6cb liblzma: Use unaligned access only on Intel and PowerPC archs


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=af61d6cb60a38069fb82f54bd7f2eb2b798bf4dc
commit af61d6cb60a38069fb82f54bd7f2eb2b798bf4dc
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Wed Apr 1 11:03:57 2015 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Wed Apr 1 11:05:30 2015 -0400

    liblzma: Use unaligned access only on Intel and PowerPC archs

diff --git a/Utilities/cmliblzma/config.h.in b/Utilities/cmliblzma/config.h.in
index 017c435..9c53150 100644
--- a/Utilities/cmliblzma/config.h.in
+++ b/Utilities/cmliblzma/config.h.in
@@ -280,4 +280,10 @@ typedef uint64_t uintmax_t;
 
 /* Define to 1 if the system supports fast unaligned access to 16-bit and
    32-bit integers. */
-#define TUKLIB_FAST_UNALIGNED_ACCESS 1
+#if defined(__i386) || defined(__i386__) || defined(_M_IX86) \
+ || defined(__x86_64) || defined(__x86_64__) || defined(_M_X64) \
+ || defined(__amd64) || defined(__amd64__) \
+ || defined(__powerpc) || defined(__powerpc__) \
+ || defined(__ppc) || defined(__ppc__) || defined(__POWERPC__)
+# define TUKLIB_FAST_UNALIGNED_ACCESS 1
+#endif

-----------------------------------------------------------------------

Summary of changes:
 Utilities/cmliblzma/config.h.in |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list