You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Joseph Winston (JIRA)" <ji...@apache.org> on 2016/02/27 18:59:18 UTC

[jira] [Commented] (ARROW-16) Building cpp issues on XCode 7.2.1

    [ https://issues.apache.org/jira/browse/ARROW-16?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15170672#comment-15170672 ] 

Joseph Winston commented on ARROW-16:
-------------------------------------

Two interrelated issues.  One is setting the appropriate C++-11 options in CMAKE.  The other is removing a library not present on OS X.  Suggestions:
1. Update cmake_minimum_required(VERSION 2.7) to cmake_minimum_required(VERSION 3.1)
2. Remove all use of C++-11 command line options from CXX_COMMON_FLAGS as well as CMAKE_CXX_FLAGS
3. Use set (CMAKE_CXX_STANDARD 11), a feature of cmake 3.1 and later to automatically set the complier's flags
4. Do not link against rt found in utils on OS X.

I'll be happy to build a pull request is the general approach is acceptable.


> Building cpp issues on XCode 7.2.1
> ----------------------------------
>
>                 Key: ARROW-16
>                 URL: https://issues.apache.org/jira/browse/ARROW-16
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>         Environment: OS X 10.11.13.  Last commit e6905effbb9383afd2423a4f86cf9a33ca680b9d
>            Reporter: Joseph Winston
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Compiler options aren't quite right.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)