Skip to content

ARROW-738: Fix manylinux1 build - #471

Closed
xhochy wants to merge 5 commits into
apache:masterfrom
xhochy:fix-manylinux1-build
Closed

xhochy wants to merge 5 commits into
apache:masterfrom
xhochy:fix-manylinux1-build

Conversation

@xhochy

@xhochy xhochy commented Mar 31, 2017

Copy link
Copy Markdown
Member

No description provided.

xhochy added 4 commits March 31, 2017 20:18
Change-Id: I4eb0fcb4b6648fa5947d511d4520dee940ae708c
Change-Id: I94b089212111a6521002b30ba296b6bc48208ac6
Change-Id: Ie9be061c8fe3e1be9944777e1d2767432476838a
Change-Id: I3539418e2f20afea383eb8cce742a1d98041d816
Comment thread python/CMakeLists.txt
bundle_arrow_lib(ARROW_SHARED_LIB)
bundle_arrow_lib(ARROW_IO_SHARED_LIB)
bundle_arrow_lib(ARROW_IPC_SHARED_LIB)
bundle_arrow_lib(ARROW_PYTHON_SHARED_LIB)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nice

Comment thread python/setup.py Outdated
for lib in libs:
filename = os.path.basename(lib)
shutil.move(pjoin(self.build_type, filename),
pjoin(build_lib, 'pyarrow', filename))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Some of these are symlinks, though, right? is there a way to only move the non-symlinked libs?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done.

@wesm

wesm commented Mar 31, 2017

Copy link
Copy Markdown
Member

I had to add import glob to get this to work locally, also per the symlink thing I have

-rw-r--r-- 1 wesm wesm  1008788 Mar 31 15:03 libarrow_io.so
-rw-r--r-- 1 wesm wesm  1008788 Mar 31 15:06 libarrow_io.so.0
-rw-r--r-- 1 wesm wesm  1008788 Mar 31 15:06 libarrow_io.so.0.0.0
-rw-r--r-- 1 wesm wesm  5040094 Mar 31 15:03 libarrow_ipc.so
-rw-r--r-- 1 wesm wesm  5040094 Mar 31 15:06 libarrow_ipc.so.0
-rw-r--r-- 1 wesm wesm  5040094 Mar 31 15:06 libarrow_ipc.so.0.0.0
-rw-r--r-- 1 wesm wesm  3869440 Mar 31 15:03 libarrow_python.so
-rw-r--r-- 1 wesm wesm  3869440 Mar 31 15:06 libarrow_python.so.0
-rw-r--r-- 1 wesm wesm  3869440 Mar 31 15:06 libarrow_python.so.0.0.0
-rw-r--r-- 1 wesm wesm  7499685 Mar 31 15:03 libarrow.so
-rw-r--r-- 1 wesm wesm  7499685 Mar 31 15:06 libarrow.so.0
-rw-r--r-- 1 wesm wesm  7499685 Mar 31 15:06 libarrow.so.0.0.0
-rw-r--r-- 1 wesm wesm  4671965 Mar 31 15:03 libparquet_arrow.so
-rw-r--r-- 1 wesm wesm 15179907 Mar 31 15:03 libparquet.so

Change-Id: I0ac05266e96dd64e881f0b3e746df69432446fa2
@wesm

wesm commented Apr 2, 2017

Copy link
Copy Markdown
Member

Cool. When we add Windows support for pyarrow (ARROW-734) we'll probably want to have a dedicated code path for non-Unix-y platforms

@wesm

wesm commented Apr 2, 2017

Copy link
Copy Markdown
Member

Looks like S3 is cranky today. Going to check this out locally and then merge

@wesm

wesm commented Apr 2, 2017

Copy link
Copy Markdown
Member

+1, looks good here. thanks @xhochy, and sorry about breaking the build!

@asfgit asfgit closed this in 9f720b1 Apr 2, 2017
@xhochy
xhochy deleted the fix-manylinux1-build branch April 6, 2017 08:12
wesm pushed a commit to wesm/arrow that referenced this pull request Sep 8, 2018
… file opener

If memory_map parameter is true, normal file operation is executed, while in negative case, the according memory mapped file operation happens. Seems either be used via inverted logic or being bug.

Author: Philipp Hoch <p.hoch@celonis.com>

Closes apache#471 from philhoch/bugfix-mixed-up-memory-map-parameter and squashes the following commits:

651cf6b [Philipp Hoch] switched logic within conditional to support memory mapped behavior if requested and readable file accordingly

Change-Id: I64c74f5bead99c72602d2260b0c36590dadbd55e
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.

2 participants