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

ARROW-4340: [C++][CI] Build IWYU for LLVM 7 in iwyu docker-compose job #3643

Closed
wants to merge 2 commits into from

Conversation

wesm
Copy link
Member

@wesm wesm commented Feb 14, 2019

Following the instructions in docker-compose.yml gives me a working IWYU build now

export PYTHON_VERSION=3.6
docker-compose build cpp
docker-compose build python
docker-compose build lint
docker-compose run iwyu

Change-Id: I3bf8bd27728094656e81af480de607853259c694

popd

# Build IWYU for current Clang
Copy link
Member

@kszucs kszucs Feb 14, 2019

Choose a reason for hiding this comment

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

This should go into the image instead of building it on each docker-compose run iwyu.

Please factor out into a scripts, e.g. ci/docker_install_iwyu.sh and build iwyu in its Dockerfile similarly like We install conda.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'll finish this

Copy link
Contributor

Choose a reason for hiding this comment

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

See wesm#8

@wesm
Copy link
Member Author

wesm commented Feb 14, 2019

+1. I tested this locally. This isn't run in CI and the linter passed so I'll merge

see output here https://gist.github.com/wesm/d3ea882af3b64b43a31ae1b2d2602877

@wesm wesm closed this in 2571b03 Feb 14, 2019
@wesm wesm deleted the ARROW-4340 branch February 14, 2019 15:37
tanyaschlusser pushed a commit to tanyaschlusser/arrow that referenced this pull request Feb 21, 2019
Following the instructions in docker-compose.yml gives me a working IWYU build now

```
export PYTHON_VERSION=3.6
docker-compose build cpp
docker-compose build python
docker-compose build lint
docker-compose run iwyu
```

Author: François Saint-Jacques <[email protected]>
Author: Wes McKinney <[email protected]>

Closes apache#3643 from wesm/ARROW-4340 and squashes the following commits:

56733fc <François Saint-Jacques> Refactor iwyu build into docker install script. (apache#8)
e1c46c7 <Wes McKinney> Build IWYU for LLVM 7 in iwyu docker-compose job
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.

3 participants