summaryrefslogtreecommitdiffstats
path: root/install-deps.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mgr/restful: remove deprecated moduleErnesto Puerta2024-10-281-4/+0
| | | | | | | | | | | | | Detailed changes: * Remove `restful` mgr module dir, * Remove Python depedencies (`pecan`, `werkzeug`) from ceph.spec and debian control, * Remove docs, * Remove associated QA tests, * Update vstart. Fixes: https://tracker.ceph.com/issues/47066 Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
* Merge pull request #57581 from adamemerson/wip-boost-1.85Casey Bodley2024-06-271-2/+3
|\ | | | | | | | | | | build: Bump boost version to 1.85 Reviewed-by: Casey Bodley <cbodley@redhat.com> Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
| * build: Bump Boost to 1.85Adam Emerson2024-05-231-2/+3
| | | | | | | | Signed-off-by: Adam Emerson <aemerson@redhat.com>
* | Merge pull request #53849 from dvanders/dvanders_almaCasey Bodley2024-06-251-2/+2
|\ \ | | | | | | | | | | | | install-deps.sh, do_cmake.sh: almalinux is another el flavour Reviewed-by: John Mulligan <jmulligan@redhat.com>
| * | install-deps.sh, do_cmake.sh: almalinux is another el flavourDan van der Ster2023-10-051-2/+2
| | | | | | | | | | | | Signed-off-by: Dan van der Ster <dan.vanderster@clyso.com>
* | | os/bluestore: remove zoned namespace supportKyr Shatskyy2024-06-211-1/+1
| |/ |/| | | | | | | | | | | | | | | This is actually a follow up patch for the PR #55054 and commit 03e11acca048a43ce183be68a5db1c039b7ca485 and makes clean up for suse based distros. Fixes: 03e11acca048a43ce183be68a5db1c039b7ca485 Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
* | install-deps: save and restore user's XDG_CACHE_HOMEluo rixin2024-04-181-0/+8
| | | | | | | | | | | | | | | | | | | | | | Since ccache 4.0, ccache use $XDG_CACHE_HOME/ccache to keep compile cache if XDG_CACHE_HOME is set. In this case $XDG_CACHE_HOME is overwrite, ccache will use $XDG_CACHE_HOME/ccache(ccache will create the dir if not exsit) to store compile cache, but $XDG_CACHE_HOME will be removed next round running, leading to ccache contests are always removed. So save and restore user's XDG_CACHE_HOME. Fixes: https://tracker.ceph.com/issues/65175 Signed-off-by: luo rixin <luorixin@huawei.com>
* | install-deps: remove cortx-motr integrationCasey Bodley2024-04-091-47/+0
| | | | | | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* | install-deps: enable copr ceph/grpcNizamudeen A2024-04-051-0/+8
| | | | | | | | | | | | | | | | | | In dashboard, to generate nvmeof apis in el8 this is needed so that it can download the python3-grpcio packages. https://copr.fedorainfracloud.org/coprs/ceph/grpc/ Fixes: https://tracker.ceph.com/issues/65184 Signed-off-by: Nizamudeen A <nia@redhat.com>
* | Merge pull request #55054 from pereman2/zns-removeAdam Kupczyk2024-02-061-22/+1
|\ \ | | | | | | | | | os/bluestore: remove zoned namespace support It has never been finished and now its in the way of future improvements.
| * | os/bluestore: remove zoned from crimsonPere Diaz Bou2024-01-091-22/+1
| | | | | | | | | | | | Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
* | | build dependencies: centos9Alexander Indenbaum2024-01-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - ceph.spec.in: declare git as build dependency - install-deps.sh: enable CRB repo Test procedure: docker run --rm -ti -v /home/baum/ceph-ci:/home/ceph quay.io/centos/centos:stream9 bash [root@a3c4b1545e93 /]# cd /home/ceph/ [root@a3c4b1545e93 ceph]# ./install-deps.sh 2>&1 tee install-deps.log Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
* | | install-deps: Force remove ceph-libboost* packagesluo rixin2024-01-191-0/+8
|/ / | | | | | | | | | | | | | | | | | | As `apt-get remove ceph-libboost*` show the error and cause the make check failed. `E: The package ceph-libboost1.79-dev needs to be reinstalled, but I can't find an archive for it.` The ceph-libboost* packages may be not removed, so use `dpkg` to force remove ceph-libboost*. Fixes: https://tracker.ceph.com/issues/64032 Signed-off-by: luo rixin <luorixin@huawei.com>
* / build: Don't kill install-deps.sh if we can't get ceph-libboostAdam Emerson2023-10-281-1/+3
|/ | | | | | We can still use the submodule. Signed-off-by: Adam Emerson <aemerson@redhat.com>
* build: Remove old ceph-libboost* packages in install-depsAdam Emerson2023-07-311-21/+56
| | | | | | | | | | | | | | | | | | | Here, we extract `clean_boost_on_ubuntu()` and call it before other installs on Debian distributions so that if we install a system boost, a potentially newer `ceph-libboost` won't get in the way. As the sources.list.d being removed in the original cleanup code isn't the one we're currently installing in the install code, add a removal for the currently used source, then do apt-update so packages from the removed source are no longer included as available. Two subsidiary dev packages from conflicting boost libraries can be installed, but it leaves apt in an inconsistent state. To clean this up, add `--fix-missing` to the removal line and call `clean_boost_on_ubuntu()` before other uses of apt. Fixes: https://tracker.ceph.com/issues/62097 Signed-off-by: Adam Emerson <aemerson@redhat.com>
* install-deps: remove the legacy resolver flagsNizamudeen A2023-07-201-4/+1
| | | | | | | | | | | | This was a workaround that was introduced long time ago. This will be something that could be deprectaed at some point [1]. And its preventing some of the dependencies to be downloaded or stored into the wheelhouse. Deps like jsonschema, parse, mypy, cryptography etc. [1] https://pip.pypa.io/en/latest/user_guide/#deprecation-timeline Fixes: https://tracker.ceph.com/issues/62082 Signed-off-by: Nizamudeen A <nia@redhat.com>
* build: Bump boost to 1.82Adam C. Emerson2023-07-051-2/+2
| | | | | | Needed to fix coroutine detection under Clang Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
* install-deps: remove leveldb pkgluo rixin2023-05-041-1/+0
| | | | Signed-off-by: luo rixin <luorixin@huawei.com>
* Merge pull request #48697 from phlogistonjohn/jjm-cleaner-build-shAdam King2023-03-061-80/+105
|\ | | | | | | | | | | build scripts: various cleanups and minor changes preparing for containerized build and test Reviewed-by: Ernesto Puerta <epuertat@redhat.com> Reviewed-by: Kefu Chai <tchaikov@gmail.com>
| * install-deps.sh: use ci_debug functionJohn Mulligan2023-02-071-20/+18
| | | | | | | | | | | | | | Replace a number of boilerplate CI_DEBUG lines with the recently added ci_debug function. Signed-off-by: John Mulligan <jmulligan@redhat.com>
| * install-deps.sh: source lib-build.shJohn Mulligan2023-02-071-3/+8
| | | | | | | | | | | | Currently, only in_jenkins is used. More will come later. Signed-off-by: John Mulligan <jmulligan@redhat.com>
| * install-deps.sh: copy ubuntu/apt retry logic from run-make.shJohn Mulligan2023-02-071-1/+10
| | | | | | | | | | | | | | | | Copy the logic from run-make.sh into install-deps.sh so that we can later remove it from run-make.sh. It helps prevent breakage when apt-get is interrupted. Signed-off-by: John Mulligan <jmulligan@redhat.com>
| * install-deps.sh: support INSTALL_EXTRA_PKGSJohn Mulligan2023-02-071-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of requiring other scripts to install packages independently, teach install-deps.sh to install additional packages from the variable INSTALL_EXTRA_PKGS. Now, other scripts should just set INSTALL_EXTRA_PKGS and call install-deps.sh. In particular, this fixes an issue installing packages in a clean (ex. container) system that doesn't yet have repositories set up. Since this task is performed by install-deps.sh already we avoid a chicken-and-egg issue (or doing redundant work of setting up repos) in other scripts. Signed-off-by: John Mulligan <jmulligan@redhat.com>
| * install-deps.sh: move functions above all "main" script bodyJohn Mulligan2023-02-071-61/+61
| | | | | | | | | | | | | | | | | | | | Previously, the main part (top level body) of the script started and then some function definitions occurred and then the main part of the script resumed after that. I, and others, find this confusing so this change moves the function definitions to occur before the main body of the install-deps.sh script. Signed-off-by: John Mulligan <jmulligan@redhat.com>
* | install-deps.sh: Fail when downloading apt reposZack Cerza2023-02-061-1/+2
|/ | | | | | | More specifically, if we get e.g. a 504 while attempting to download a .list file, fail the build and log the status code. Signed-off-by: Zack Cerza <zack@redhat.com>
* install-deps: switch to C.UTF-8 localeJohn Mulligan2022-10-161-1/+3
| | | | | | | | | | | | The en_US.UTF-8 locale is not always going to present on all systems. Specifically, setting en_US.UTF-8 causes numerous warnings when running this script on a CentOS Stream 8 container. Rather than install additional packages to suppress the warning, use the C.UTF-8 locale. Additionally, try to update the comment explaining the line to something based on the commit history rather than the confusing term "vulnerable". Signed-off-by: John Mulligan <jmulligan@redhat.com>
* install-deps: for consistency, reformat tabs to spacesJohn Mulligan2022-10-161-81/+81
| | | | | | | The majority of the install-deps.sh file was already using spaces to indent, convert the remaining hard tabs to 8 spaces. Signed-off-by: John Mulligan <jmulligan@redhat.com>
* install-deps: remove emacs modeline from scriptJohn Mulligan2022-10-161-1/+0
| | | | | | | | | The majority of the lines in this shell script uses spaces to indent, but I *think* this modeline tells emacs to indent with tabs. In a very near future change I'm going to make all indents use spaces. So we first remove the emacs modeline that tells it to use the opposite. Signed-off-by: John Mulligan <jmulligan@redhat.com>
* install-deps.sh: fix install-deps script for focal and bionicLaura Flores2022-09-071-2/+0
| | | | | | | | | | | | | | | | | | | When run on focal and bionic, install-deps ends early due to this extra debug message that was added to the end of `ensure_decent_gcc_on_ubuntu`. The debug message prints when the script is run in a jenkins environment. When the script is not run in a jenkins environment, the value returned there is "false" or "0", which acts as an early return. This stops the script from completing. We can remove this line, as `ensure_decent_gcc_on_ubuntu` is only called for focal and bionic, and most of the jenkins nodes are running jammy. Also, there is a debug message at the beginning of the function that should suffice. Fixes: https://tracker.ceph.com/issues/57466 Signed-off-by: Laura Flores <lflores@redhat.com>
* Merge pull request #47885 from ceph/boost-focalDavid Galloway2022-09-011-0/+4
|\ | | | | install-deps: Actually install libboost we built for Jammy
| * install-deps: Actually install libboost we built for JammyDavid Galloway2022-08-311-0/+4
| | | | | | | | | | | | Follow up to https://github.com/ceph/ceph/commit/947ac23979b6c4ba2617090f2d9a36e1f40f60c8 Signed-off-by: David Galloway <dgallowa@redhat.com>
* | install-deps: script exit on /ValueError: in centos_stream8Nizamudeen A2022-08-301-2/+2
|/ | | | | | this is happening locally as well as in our ceph-dev runs too https://github.com/rhcs-dashboard/ceph-dev/runs/7850564011 Signed-off-by: Nizamudeen A <nia@redhat.com>
* Merge pull request #47609 from cbodley/wip-install-deps-rhelKefu Chai2022-08-161-4/+0
|\ | | | | | | | | | | install-deps: remove outdated rhel8 devtool packages Reviewed-by: Patrick Donnelly <pdonnell@redhat.com> Reviewed-by: Kefu Chai <tchaikov@gmail.com>
| * install-deps: remove outdated rhel8 devtool packagesCasey Bodley2022-08-151-4/+0
| | | | | | | | | | | | these were accidentally resurrected in 65b1a13139873c1525456e05cd00aeb64da4e881 Signed-off-by: Casey Bodley <cbodley@redhat.com>
* | build: temporarily disable WITH_RADOSGW_MOTR in make checkCasey Bodley2022-08-111-1/+1
|/ | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* install-deps: bump gcc-toolset version to 11Casey Bodley2022-08-111-2/+2
| | | | | | match the toolset versions installed from ceph.spec.in Signed-off-by: Casey Bodley <cbodley@redhat.com>
* install-deps: update ensure_decent_gcc_on_rh for gcc-toolsetCasey Bodley2022-08-111-8/+5
| | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* install-deps: centos8 doesn't have or need centos-release-sclCasey Bodley2022-08-101-12/+1
| | | | | | Fixes: https://tracker.ceph.com/issues/57073 Signed-off-by: Casey Bodley <cbodley@redhat.com>
* Merge pull request #43155 from ljflores/wip-install-deps-fixKefu Chai2022-08-101-0/+1
|\ | | | | | | | | | | install-deps.sh: ensure that pip ugrades to most recent version within virtualenv Reviewed-by: Ronen Friedman <rfriedma@redhat.com> Reviewed-by: Kefu Chai <tchaikov@gmail.com>
| * install-deps.sh: ensure that pip ugrades to most recent version within ↵Laura Flores2021-09-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | virtualenv Upon re-executing `install-deps.sh` recently, I got this error message: ``` You are using pip version 9.0.3, however version 21.2.4 is available. You should consider upgrading via the 'pip install --upgrade pip' command. ``` The issue was that pip was not up to date within the virtualenv that `install-deps.sh` sets up. Adding the line `python3 -m pip install --upgrade pip` right after the virtualenv is activated should help to ensure that pip is up to date in that context. Signed-off-by: Laura Flores <lflores@redhat.com>
* | install-deps: install cortx-motr from chacraKefu Chai2022-08-091-14/+24
| | | | | | | | | | | | | | this is an intermediate solution before cotx-motr upstream builds the packages for jammy and upload them to github. Signed-off-by: Kefu Chai <tchaikov@gmail.com>
* | install-deps: extract install_cortx_motr_on_ubuntu outKefu Chai2022-08-091-18/+25
| | | | | | | | | | | | for better readability and maintainability Signed-off-by: Kefu Chai <tchaikov@gmail.com>
* | install-deps: remove use of update-alternativesCasey Bodley2022-07-301-25/+0
| | | | | | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* | install-deps.sh: centos/rhel require gcc 10.2 and devtoolset-10Casey Bodley2022-07-301-4/+4
| | | | | | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* | Revert "install-deps.sh: drop devtoolset(DTS) check for centos"Casey Bodley2022-07-301-0/+45
| | | | | | | | | | | | | | | | | | This reverts commit 66e81b8b08b1a48a48c16b5b89450aeced9de5f9. Signed-off-by: Casey Bodley <cbodley@redhat.com> Conflicts: install-deps.sh for centos/rhel 8 instead of 7
* | install-deps: enable ubuntu toolchain ppa for gcc11 on focalCasey Bodley2022-07-301-0/+1
| | | | | | | | Signed-off-by: Casey Bodley <cbodley@redhat.com>
* | Merge pull request #46554 from adamemerson/wip-up-the-boostKefu Chai2022-07-261-2/+2
|\ \ | | | | | | | | | | | | build: Bump Boost version to 1.79 Reviewed-by: Kefu Chai <tchaikov@gmail.com>
| * | build: Bump Boost version to 1.79Adam C. Emerson2022-07-221-2/+2
| | | | | | | | | | | | | | | | | | Also remove bind_allocator, as Boost.Asio now provides this function. Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
* | | install-deps: install pmdk librariesYin Congmin2022-06-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Install libpmem and libpmemobj under focal ubuntu. the version of apt list can meet the current requirements. libpmemobj require >=1.8. Libpmem has no version requirements. Signed-off-by: Yin Congmin <congmin.yin@intel.com>
* | | install-deps.sh: do not install libpmem from chacraKefu Chai2022-06-211-16/+0
|/ / | | | | | | | | | | | | | | | | | | | | this change reverts 17d2bc3707bb0078e2fa1b4eef31b39804e45135, before we recreate a chacra repo hosting libpmem packages, we are not able to query the repo from shaman or pull the dependencies from chacra. in future, we should be able to get the libpmem dependencies from offical ubuntu package repo and fedora, CentOS Stream and RHEL repos. Signed-off-by: Kefu Chai <tchaikov@gmail.com>