Skip to content
Snippets Groups Projects
Commit b0b9f35d authored by Heldmann, Tim's avatar Heldmann, Tim
Browse files

Update setup script to work on lichtenberg

parent 1b74d37f
No related branches found
No related tags found
No related merge requests found
GNU nano 2.9.8 setup.sh
#!/bin/bash
set -e
ml purge
ml gcc/11
ml clang/14
#get MetaCG from repo
git clone git@git.rwth-aachen.de:tuda-sc/projects/metacg.git
cd metacg
......@@ -11,21 +19,25 @@ cd cubelib
tar xzf ../cubelib-4.5.tar.gz
cd cubelib-4.5
./configure --prefix=$(realpath ../../install/cubelib)
make install -j
make install -j 64
#install metacg graph lib and tools
cd ../../../
mkdir build
mkdir install
cd build
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DMETACG_BUILD_CGCOLLECTOR=ON -DCUBE_LIB=../deps/install/cubelib/lib -DCUBE_INCLUDE=../deps/install/cubelib/include/cubelib -DCMAKE_INSTALL_PREFIX=../install ..
make install -j
cmake -G "Unix Makefiles" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DMETACG_BUILD_CGCOLLECTOR=ON -DCUBE_LIB=../deps/install$
make install -j 64
cd ../..
ml purge
ml gcc/11
ml clang/15
git clone git@git.rwth-aachen.de:tim.heldmann/CTUApex.git
cd CTUApex
mkdir build
cd build
cmake -Dmetacg_DIR=$(realpath ../../metacg/install/lib64/cmake/metacg) -Dspdlog_DIR=$(realpath ../../metacg/install/lib64/cmake/spdlog) -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
make -j
\ No newline at end of file
cmake -G "Unix Makefiles" -Dmetacg_DIR=$(realpath ../../metacg/install/lib64/cmake/metacg)
make -j 64
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment