Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add arrow/1.0.0 recipe #1182

Merged
merged 16 commits into from
Aug 18, 2020
Merged

Add arrow/1.0.0 recipe #1182

merged 16 commits into from
Aug 18, 2020

Conversation

madebr
Copy link
Contributor

@madebr madebr commented Mar 24, 2020

Specify library name and version: arrow/0.16.0

Depends on #1179
Depends on #1180
Depends on #1181
Depends on #1146

Fixes #63

  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

@conan-center-bot
Copy link
Collaborator

All green in build 1 (8e723f5bb98a986e204c2c37299e619954ea413c)! 😊

@conan-center-bot
Copy link
Collaborator

Failure in build 2 (f22909009e61dfd3bb0796e85e180767e1090bb9):
arrow/0.16.0:

  • Error processing recipe: Linux x86_64, Release, gcc 5, libstdc++ . Options: arrow:shared-True
    You are depending on 'protobuf/3.9.1.0' but it is not in the repository

@Croydon
Copy link
Contributor

Croydon commented Mar 25, 2020

madebr creates pull request which depends on 4 other open pull requests

You are on fire 🔥 😄

recipes/arrow/all/conanfile.py Outdated Show resolved Hide resolved
madebr and others added 2 commits April 26, 2020 02:47
@conan-center-bot
Copy link
Collaborator

Some configurations of 'arrow/0.17.0' failed in build 4 (76a22dcac4f07dd315c3df10e37c767aa0b73b15):

@conan-center-bot
Copy link
Collaborator

Some configurations of 'arrow/0.17.0' failed in build 6 (0e279be7d8035203268dc7068b3576800c28cc1b):

@conan-center-bot
Copy link
Collaborator

Some configurations of 'arrow/0.17.0' failed in build 7 (6e53ea6d6c51898c364f9f973cb860a5597e86d0):

@conan-center-bot
Copy link
Collaborator

Some configurations of 'arrow/0.17.0' failed in build 8 (e45e5fbbdb9976789a242df83d8c4e540ba0683f):

@conan-center-bot
Copy link
Collaborator

Some configurations of 'arrow/0.17.0' failed in build 9 (cd7da504031ef8db47c25ee48dbfbf51d19e2fad):

@Croydon
Copy link
Contributor

Croydon commented May 5, 2020

Please put Fixed #63 to PR, thanks!

@conan-center-bot
Copy link
Collaborator

Some configurations of 'arrow/0.17.0' failed in build 10 (cd7da504031ef8db47c25ee48dbfbf51d19e2fad):

@conan-center-bot
Copy link
Collaborator

Some configurations of 'arrow/1.0.0' failed in build 12 (993773af5915d0ebf8661f104bd8f0a0447e6559):

@conan-center-bot
Copy link
Collaborator

Some configurations of 'arrow/1.0.0' failed in build 13 (98b36479e5155a244a42aa05d6fe8b7dc5605cae):

  • Linux x86_64, Release, gcc 5, libstdc++ . Options: arrow:shared-True
    • Hooks errors detected:
      • [HOOK - conan-center.py] pre_export(): ERROR: [CMAKE VERSION REQUIRED (KB-H048)] The test_packages/CMakeLists.txt requires CMake 3.1 at least. Update to 'cmake_minimum_required(VERSION 3.1)'. (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H048)
    • Log download
    • Log error Download
    • Profile
  • Access to all the logs

@conan-center-bot
Copy link
Collaborator

Some configurations of 'arrow/1.0.0' failed in build 14 (f813f1d5b29973271fb85cfc645a770a49a09bfe):

@htfy96
Copy link

htfy96 commented Aug 13, 2020

Hi, thanks for your contribution on adding this recipe! Just several suggestions:

  1. conda-forge already had an arrow-cpp recipe at https://github.com/conda-forge/arrow-cpp-feedstock/blob/68f4020a23e13039cab49927b6e9e51f27fc33ab/recipe/meta.yaml
  2. Arrow supports modular builds for some of its components. I was wondering if it's possible to break this into four libraries (arrow, parquet, gandiva and plasma)
  3. libparquet.so isn't included in current recipe. Maybe we can add it if options.with_parquet == True?

@madebr
Copy link
Contributor Author

madebr commented Aug 13, 2020

2. Arrow supports [modular builds for some of its components](https://github.com/apache/arrow/blob/master/docs/source/developers/cpp/building.rst#modular-build-targets). I was wondering if it's possible to break this into four libraries (arrow, parquet, gandiva and plasma)

I reviewed the options and added these as options and as a component.
Only arrow and plasma can be built atm, because of missing dependencies of parquet and gandiva.

@conan-center-bot
Copy link
Collaborator

An unexpected error happened and has been reported. Help is on its way! 🏇

@conan-center-bot
Copy link
Collaborator

Some configurations of 'arrow/1.0.0' failed in build 16 (b8d9a12f792c3c4875c949f0ea86da381f9b684e):

@conan-center-bot
Copy link
Collaborator

All green in build 17 (b7e73303baab49fc0389ff8308b150a108bc8280)! 😊

Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great Job!

Copy link
Contributor

@SSE4 SSE4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so many options - impresive!

@Croydon
Copy link
Contributor

Croydon commented Aug 17, 2020

Nit: Please update PR title to reflect that 1.0.0 gets added not 0.16.0

@madebr madebr changed the title Add arrow/0.16.0 recipe Add arrow/1.0.0 recipe Aug 17, 2020
@conan-center-bot
Copy link
Collaborator

All green in build 18 (b7e73303baab49fc0389ff8308b150a108bc8280)! 😊

@danimtb danimtb merged commit d6c56be into conan-io:master Aug 18, 2020
@madebr madebr deleted the arrow_recipe branch August 18, 2020 09:22

def package_info(self):
self.cpp_info.components["libarrow"].libs = [self._lib_name("arrow")]
self.cpp_info.components["libarrow"].filenames["cmake_find_package"] = "Arrow"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too late to review, but does it create one config file per component?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just checked, it creates FindArrow.cmake, FindPlasma.cmake, FindParquet.cmake .. config files with a lower case arrow/plasma/parquet target (or arrow_static/plasma_static/parquet_static if built statically).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CMake generators create only one file: FindArrow.cmake that provide the three targets, PkgConfig generator creates three files that follow the names of the components: arrow.pc, plasma.pc and parquet.pc.

Check PR here, there are some issues in the recipe: #2592

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[request] Add appache arrow library
9 participants