Update Instructions for building PALISADE in Linux authored by Yuriy Polyakov's avatar Yuriy Polyakov
......@@ -44,12 +44,7 @@ export CXX=/usr/bin/clang++
2. Clone the repo.
3. Download submodules:
```
git submodule sync --recursive
git submodule update --init --recursive
```
4. Create a directory where the binaries will be built. The typical choice is a subfolder "build". In this case, the commands are:
3. Create a directory where the binaries will be built. The typical choice is a subfolder "build". In this case, the commands are:
```
mkdir build
cd build
......@@ -57,14 +52,14 @@ cmake ..
```
Note that cmake will check for any system dependencies that are needed for the build process.
5. The PALISADE distribution includes some external libraries, such as GMP. NTL and tcmalloc. If you want to use any of these libraries, enable them when you run cmake to force them to build (see instructions on cmake options).
4. The PALISADE distribution includes some external libraries, such as GMP. NTL and tcmalloc. If you want to use any of these libraries, enable them when you run cmake to force them to build (see instructions on cmake options).
6. Build PALISADE by running the following command (this will take few minutes; using the -j<threads> make command-line flag is suggested to speed up the build)
5. Build PALISADE by running the following command (this will take few minutes; using the -j<threads> make command-line flag is suggested to speed up the build)
```
make
```
7. Install PALISADE in a system directory (if desired or for production purposes)
6. Install PALISADE in a system directory (if desired or for production purposes)
```
make install
```
......@@ -120,4 +115,4 @@ ln -s /usr/bin/cmake3 ~/bin/cmake
If you need to install a specific version of gcc, do the following (this example is for g++ v7):
```
sudo yum install devtoolset-7-gcc-c++
```
```
\ No newline at end of file