From 0039f56a5720a9dddf7cfbc133cc54c40737ad8e Mon Sep 17 00:00:00 2001 From: bsampath Date: Mon, 25 Mar 2013 14:18:39 -0700 Subject: [PATCH] Update README.osx --- folly/README.osx | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/folly/README.osx b/folly/README.osx index 562aefd6ea8..31694174bb6 100644 --- a/folly/README.osx +++ b/folly/README.osx @@ -12,17 +12,23 @@ In addition to the dependencies listed in the README file, the following would b # make # make install -Major source changes --------------------- -Most Macs come with a case insensitive file system. This causes issue with String.h in folly. As a -temporary fix, it has been renamed as FollyString.h to prevent it from interfering with standard headers. -Besides this, the following linux/gcc-isms have been modified to enable compilation on OSX, +Compiler and OS Versions +------------------------ +This successfully compiled on Mountain Lion with GCC 4.7.2. Three unit tests that fail have been disabled +for mac OSX +- eventfd_test +- thread_cached_int_test +- thread_local_test -1. byteswap.h is auto generated on compile, when the system doesn't have one. -2. Added boost system and gnulib m4 macros -3. OSX does not have clock_getres and clock_gettime functions. Created these as wrappers around mach time - kernel interfaces. -4. Handled the case where the POPCNT instruction is not present for the processor architecture and gnu - indirect functions are not supported. -5. Handled the __GNU_PREREQ missing case with a locally defined macro. +Major changes +------------- +- Most Macs come with a case insensitive file system. This causes issue with String.h in folly. As a + temporary fix, it has been renamed as FollyString.h to prevent it from interfering with standard headers. +- byteswap.h is auto generated on compile, when the system doesn't have one. +- Added boost system and gnulib m4 macros +- OSX does not have clock_getres and clock_gettime functions. Created these as wrappers around mach time + kernel interfaces. +- Handled the case where the POPCNT instruction is not present for the processor architecture and gnu + indirect functions are not supported. +- Handled the __GNU_PREREQ missing case with a locally defined macro.