Repository navigation
[run-make] Added flag for Dashboard and WError - #66181
Conversation
d791cdd to
f028f96
Compare
e332f86 to
c79f505
Compare
82fc31b to
1912011
Compare
|
I think this looks good, @anshuman-agarwala. I'd like to see a build run through our CI before we merge. To do that, you'd have to push your branch to the https://github.com/ceph/ceph-ci repository. I've sent you an invite to the Ceph github org to enable that. The build should then show up here: https://jenkins.ceph.com/job/ceph-dev-pipeline/ |
| cmake_opts+=" -DENABLE_GIT_VERSION=OFF" | ||
| cmake_opts+=" -DWITH_GTEST_PARALLEL=ON" | ||
| cmake_opts+=" -DWITH_FIO=ON" | ||
| cmake_opts+=" -DWITH_CEPHFS_SHELL=ON" | ||
| cmake_opts+=" -DWITH_GRAFANA=ON" | ||
| cmake_opts+=" -DWITH_SPDK=ON" | ||
| cmake_opts+=" -DWITH_RBD_MIRROR=ON" | ||
| if [ ! $DISABLE_WERROR ]; then |
There was a problem hiding this comment.
I know it's nitpicky, but let's be extemely consistent with the naming if if it's a bit ungramattical: WITHOUT_WERROR
There was a problem hiding this comment.
Also, I don't think this line will do what you want it to do, wrt the ! operator.
There was a problem hiding this comment.
I've cleaned this up.
| @@ -77,6 +77,9 @@ function prepare() { | |||
| if test -f ./install-deps.sh ; then | |||
| ci_debug "Running install-deps.sh" | |||
| INSTALL_EXTRA_PACKAGES="ccache git $which_pkg lvm2" | |||
| if [ "$(uname -m)" == "ppc64le" ]; then | |||
| INSTALL_EXTRA_PACKAGES="$INSTALL_EXTRA_PACKAGES openblas-devel gfortran cargo" | |||
There was a problem hiding this comment.
Can you justify these additions that are specific to ppc64le? Especially cargo.
There was a problem hiding this comment.
Can you justify these additions that are specific to ppc64le? Especially cargo.
We were having issues running tox UTs as the python deps were not installed properly. fortran is needed to build libopenblas and cargo is also needed for building one more dependency.
There was a problem hiding this comment.
To add more context, python wheels for ppc64le are not available so during package installation these wheels are built from source which is where these dependencies are required.
There was a problem hiding this comment.
I see. Can we add a comment to that affect? We may want to aim to either provide the needed deps as packages or wheels rather than need to rebuild these. So leaving a comment as an explanation and a breadcrumb to revisit it later would be good.
There was a problem hiding this comment.
I've added a comment explaining this.
|
General q. Would we be able to leverage cmake user presets to have architecture specific flags? Cc: @cbodley - tagging you for your thoughts as well since you had recently looked into this idea |
| cmake_opts+=" -DWITH_MGR_DASHBOARD_FRONTEND=OFF" | ||
| fi | ||
| if [ $WITHOUT_BREAKPAD ]; then | ||
| cmake_opts+=" -DWITH_BREAKPAD=OFF" |
There was a problem hiding this comment.
I think we can skip this one as Casey raised a PR recently to disable breakpad for power & windows!!
#66462
|
Dashboard has been disabled due to compatibility issues with NX packages. |
ea67c56 to
c9cc1e2
Compare
c9cc1e2 to
1bdb2fd
Compare
Added flags to make Dashboard and WError optional. This should not impact existing pipelines as these options are disabled only when the flags are present. Signed-off-by: Anshuman <[email protected]>
1bdb2fd to
5f102ea
Compare
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
https://jenkins.ceph.com/job/ceph-dev-pipeline/3380/ |
zmc
left a comment
There was a problem hiding this comment.
These changes seem sane and haven't regressed. Thanks @anshuman-agarwala!
Added flags to make Dashboard and WError optional. This should not impact existing pipelines as these options are disabled only when the flags are present.
This is required because these components are causing issues when built on ppc64 arch.
Signed-off-by: Anshuman [email protected]
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.