Updating deps.sh for postgres

This commit is contained in:
Noah L. Schrick 2022-04-27 17:20:04 -05:00
parent 3ed40b4a45
commit 28cec106a8
2 changed files with 11 additions and 16 deletions

View File

@ -46,20 +46,9 @@ Note, if you change the password, be sure to change the passwords in the config.
This application uses CMake to build.
mkdir build
cd build
./build.sh
For debug builds:
cmake -DCMAKE_BUILD_TYPE=Debug ../
For release builds:
cmake -DCMAKE_BUILD_TYPE=Release ../
Build the application:
make ag_gen
## Configuration
@ -73,9 +62,9 @@ RAGE uses an ini-style configuration, located in config.ini.
## Running
Execute example from the examples directory.
./ag_gen -n ../examples/thesis_example.nm -x ../examples/thesis_example.xp
Edit the run script to your liking, then just execute the script
./run.sh
## Contributing

View File

@ -14,7 +14,13 @@ elif [[ $OS = 'linux' ]]; then
if hash pacman 2>/dev/null; then
sudo pacman -S cmake postgresql boost cppcheck clang doxygen graphviz libconfig openmpi
elif hash apt-get 2>/dev/null; then
sudo apt-get -y install libboost-all-dev postgresql postgresql-contrib \
sudo apt-get install wget ca-certificates
# Add Postgres Repos and GPG keys
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
sudo apt-get update
sudo apt-get -y install libboost-all-dev postgresql postgresql-contrib \
libpq-dev cppcheck clang valgrind doxygen graphviz cmake \
build-essential bison flex libssl-dev libconfig++-dev libyaml-cpp-dev \
openmpi-bin libomp-dev