Skip to content

[Python] PYARROW_CXXFLAGS doesn't accept multiple options #18295

@asfimport

Description

@asfimport

Let's say I want to enable multiple warnings. I try:

PYARROW_CXXFLAGS="-Wextra -Wconversion" python setup.py build

and get the following error:

[ 22%] Building CXX object CMakeFiles/plasma.dir/plasma.cxx.o
g++-4.9: error: unrecognized command line option '-Wextra -Wconversion'

For some reason it seems command expansion doesn't work properly. "-Wextra -Wconversion" is passed as a single argument instead of two separate ones...

Reporter: Antoine Pitrou / @pitrou
Assignee: Antoine Pitrou / @pitrou

PRs and other links:

Note: This issue was originally created as ARROW-2346. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions