You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by dc...@apache.org on 2012/05/20 16:09:46 UTC
svn commit: r1340727 - in /avro/trunk: CHANGES.txt lang/c/INSTALL
Author: dcreager
Date: Sun May 20 14:09:45 2012
New Revision: 1340727
URL: http://svn.apache.org/viewvc?rev=1340727&view=rev
Log:
AVRO-1096. C: Describe CMAKE_OSX_ARCHITECTURES in installation instructions.
Bruce suggested that we describe how to set CMAKE_OSX_ARCHITECTURES in
the installation instructions. A fantastic idea.
Modified:
avro/trunk/CHANGES.txt
avro/trunk/lang/c/INSTALL
Modified: avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/avro/trunk/CHANGES.txt?rev=1340727&r1=1340726&r2=1340727&view=diff
==============================================================================
--- avro/trunk/CHANGES.txt (original)
+++ avro/trunk/CHANGES.txt Sun May 20 14:09:45 2012
@@ -98,6 +98,9 @@ Avro 1.7.0 (unreleased)
AVRO-1086. C: Fix possible crash bug in default codec initialization.
(Pugachev Maxim via dcreager)
+ AVRO-1096. C: Describe CMAKE_OSX_ARCHITECTURES in installation
+ instructions. (dcreager)
+
Avro 1.6.3 (5 March 2012)
AVRO-1077. Missing 'inline' for union set function. (thiru)
Modified: avro/trunk/lang/c/INSTALL
URL: http://svn.apache.org/viewvc/avro/trunk/lang/c/INSTALL?rev=1340727&r1=1340726&r2=1340727&view=diff
==============================================================================
--- avro/trunk/lang/c/INSTALL (original)
+++ avro/trunk/lang/c/INSTALL Sun May 20 14:09:45 2012
@@ -45,3 +45,13 @@ The "RelWithDebInfo" build type will bui
library, including debugging symbols. Use the "Release" build type if
you don't want debugging symbols. Use the "Debug" build type if you
want a non-optimized library, with debugging symbols.
+
+On Mac OS X, you can build a universal binary by setting the
+CMAKE_OSX_ARCHITECTURES option when running cmake. Just add something
+like the following:
+
+ -DCMAKE_OSX_ARCHITECTURES=i386;x86_64
+
+to the cmake command given above. The set of architectures that you can
+choose from differs depending on which version of OS X you're running;
+common possibilities include "i386", "x86_64", "ppc", and "ppc64".