Skip to content

Commit 1a459c7

Browse files
teknoraverfacebook-github-bot
authored andcommitted
Centos 8 build instructions (#263)
Summary: Pull Request resolved: #263 Test Plan: Build: {P550129352} and test: {P550158647} Reviewed By: PaliC Differential Revision: D41169820 Pulled By: teknoraver fbshipit-source-id: 78b6d198ef8878d6882755f55a64cfa1e8dcc238
1 parent 39c536a commit 1a459c7

File tree

5 files changed

+22
-7
lines changed

5 files changed

+22
-7
lines changed

.github/workflows/install_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run: |
3636
set -eux
3737
sudo apt update
38-
xargs sudo apt install -y -qq --no-install-recommends <build-requirements.txt
38+
xargs sudo apt install -y -qq --no-install-recommends <build-requirements-debian.txt
3939
git submodule update --init --recursive --jobs 0
4040
4141
- name: Update cmake

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,17 @@ git submodule sync && git submodule update --init --recursive
5858

5959
#### Installing System Dependencies
6060

61-
The runtime system dependencies are specified in `build-requirements.txt`. To install them on Debian-based systems, one could run:
61+
The runtime system dependencies are specified in `build-requirements-{debian,centos8}.txt`.
62+
To install them on Debian-based systems, one could run:
6263

6364
```shell
6465
sudo apt update
65-
xargs sudo apt install -y -qq --no-install-recommends <build-requirements.txt
66+
xargs sudo apt install -y -qq --no-install-recommends <build-requirements-debian.txt
67+
```
68+
69+
While on a Centos system:
70+
```shell
71+
xargs sudo dnf install -y <build-requirements-centos8.txt
6672
```
6773

6874
#### Python Environment Setup

build-requirements-centos8.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
libffi-devel
2+
libnsl2-devel
3+
readline-devel
4+
xz-devel
File renamed without changes.

docs/source/setup.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,19 @@ First clone multipy and update the submodules:
4040
Installing system dependencies
4141
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4242

43-
The runtime system dependencies are specified in
44-
``build-requirements.txt``. To install them on Debian-based systems, one
45-
could run:
43+
The runtime system dependencies are specified in ``build-requirements-{debian,centos8}.txt``.
44+
To install them on Debian-based systems, one could run:
4645

4746
.. code:: shell
4847
4948
sudo apt update
50-
xargs sudo apt install -y -qq --no-install-recommends < build-requirements.txt
49+
xargs sudo apt install -y -qq --no-install-recommends < build-requirements-debian.txt
50+
51+
While to install on a CentOS 8 system:
52+
53+
.. code:: shell
54+
55+
xargs sudo dnf install -y < build-requirements-centos8.txt
5156
5257
Installing environment encapsulators
5358
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)