Skip to content

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

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

ceph-perf-pull-requests: use clang for crimson perf test#1576
tchaikov merged 2 commits intoceph:masterfrom
tchaikov:wip-crimson-clang

Conversation

@tchaikov
Copy link
Contributor

@tchaikov tchaikov commented Jun 1, 2020

No description provided.

@tchaikov
Copy link
Contributor Author

tchaikov commented Jun 1, 2020

@AmnonHanuhov

export FOR_MAKE_CHECK=true
cxx_compiler=g++
c_compiler=gcc
for i in $(seq 11 -1 8); do
Copy link
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
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
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 <kchai@redhat.com>
so we can detect build failures on clang

Signed-off-by: Kefu Chai <kchai@redhat.com>
@tchaikov tchaikov force-pushed the wip-crimson-clang branch from b2efe5e to 79804b7 Compare June 1, 2020 09:23
@tchaikov
Copy link
Contributor Author

tchaikov commented Jun 1, 2020

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

@ronen-fr
Copy link

ronen-fr commented Jun 2, 2020

@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