Skip to content

ceph-perf-pull-requests: use clang for crimson perf test - #1576

Merged
tchaikov merged 2 commits into
ceph:masterfrom
tchaikov:wip-crimson-clang
Jun 1, 2020
Merged

tchaikov merged 2 commits into
ceph:masterfrom
tchaikov:wip-crimson-clang

Conversation

@tchaikov

@tchaikov tchaikov commented Jun 1, 2020

Copy link
Copy Markdown
Contributor

No description provided.

@tchaikov

tchaikov commented Jun 1, 2020

Copy link
Copy Markdown
Contributor Author

@AmnonHanuhov

export FOR_MAKE_CHECK=true
cxx_compiler=g++
c_compiler=gcc
for i in $(seq 11 -1 8); do

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We're doing auto-detection of available Clang's version with a fallback to GCC.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yes, starts from 11 for future-proof.

--cmake-args "-DCMAKE_CXX_COMPILER=$cxx_compiler -DCMAKE_C_COMPILER=$c_compiler -DCMAKE_BUILD_TYPE=Release -DWITH_SEASTAR=ON -DWITH_TESTS=OFF" \
vstart-base crimson-osd
src/script/run-cbt.sh --build-dir $PWD/build --source-dir $PWD --cbt ${{WORKSPACE}}/cbt -a $archive_dir src/test/crimson/cbt/radosbench_4K_read.yaml
else

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ACK, classical stays unaffected.

tchaikov added 2 commits June 1, 2020 17:23
for detecting test failures on clang

Signed-off-by: Kefu Chai <[email protected]>
so we can detect build failures on clang

Signed-off-by: Kefu Chai <[email protected]>
@tchaikov
tchaikov force-pushed the wip-crimson-clang branch from b2efe5e to 79804b7 Compare June 1, 2020 09:23
@tchaikov

tchaikov commented Jun 1, 2020 •

Copy link
Copy Markdown
Contributor Author

@rzarzynski we need to have ceph/ceph#35336 first.

@ronen-fr

ronen-fr commented Jun 2, 2020

Copy link
Copy Markdown

@mkogan1 FYI (and see the ref'ed)

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