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

Update icecc-create-env to upstream #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

markbenvenuto
Copy link
Collaborator

I replaced the version with the upstream version and then added support for --out.

Tests
Fedora 31 builds

  • local clang
  • local gcc
  • v3 toolchain gcc

Probably get Gregory or Geert to test on Ubuntu.

Chroot Test Cases
Note: icecc-create-env complains about cc1plus but my real builds worked
src/mongo/db/modules/ninja/icecream/icecc-create-env /usr/bin/gcc /bin/true --out $(pwd)/build/icecc_envs/testg.tar.gz
src/mongo/db/modules/ninja/icecream/icecc-create-env /usr/bin/clang /bin/true --out $(pwd)/build/icecc_envs/testc.tar.gz

src/mongo/db/modules/ninja/icecream/icecc-create-env /opt/mongodbtoolchain/v3/bin/gcc /bin/true --out $(pwd)/build/icecc_envs/test3g.tar.gz
src/mongo/db/modules/ninja/icecream/icecc-create-env /opt/mongodbtoolchain/v3/bin/clang /bin/true --out $(pwd)/build/icecc_envs/test3c.tar.gz

src/mongo/db/modules/ninja/icecream/icecc-create-env /opt/mongodbtoolchain/v2/bin/gcc /bin/true --out $(pwd)/build/icecc_envs/test2g.tar.gz
src/mongo/db/modules/ninja/icecream/icecc-create-env /opt/mongodbtoolchain/v2/bin/clang /bin/true --out $(pwd)/build/icecc_envs/test2c.tar.gz

/usr/local/bin/icecc-test-env build/icecc_envs/testg.tar.gz
/usr/local/bin/icecc-test-env build/icecc_envs/testc.tar.gz

/usr/local/bin/icecc-test-env build/icecc_envs/test3g.tar.gz
/usr/local/bin/icecc-test-env build/icecc_envs/test3c.tar.gz

/usr/local/bin/icecc-test-env build/icecc_envs/test2g.tar.gz
/usr/local/bin/icecc-test-env build/icecc_envs/test2c.tar.gz

/usr/local/bin/icecc-test-env build/icecc_envs/test.tar.gz

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.

1 participant