[vlfeat] 10/10: I no longer try to generate x86-specific code on non-x86 boxes

Dima Kogan dima at secretsauce.net
Fri Oct 17 02:01:53 UTC 2014


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

dkogan-guest pushed a commit to branch patches
in repository vlfeat.

commit 1d4214446c3c47de928664a7a745105df615ba84
Author: Dima Kogan <dima at secretsauce.net>
Date:   Mon Dec 23 13:34:33 2013 -0800

    I no longer try to generate x86-specific code on non-x86 boxes
---
 vl/host.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/vl/host.c b/vl/host.c
index ef97cdc..a9654f0 100644
--- a/vl/host.c
+++ b/vl/host.c
@@ -441,6 +441,8 @@ _vl_cpuid (vl_int32* info, int function)
 
 #endif
 
+#if defined(VL_ARCH_IX86) || defined(VL_ARCH_X64) || defined(VL_ARCH_IA64)
+
 void
 _vl_x86cpu_info_init (VlX86CpuInfo *self)
 {
@@ -488,6 +490,8 @@ _vl_x86cpu_info_to_string_copy (VlX86CpuInfo const *self)
   return string ;
 }
 
+#endif
+
 /** ------------------------------------------------------------------
  ** @brief Human readable static library configuration
  ** @return a new string with the static configuration.

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



More information about the debian-science-commits mailing list