Skip to content
Snippets Groups Projects
Commit a9a8ceb0 authored by Alexander van Amesfoort's avatar Alexander van Amesfoort
Browse files

Task #8691: bug fix wrt DESTDIR in Dragnet activate script. Also reduce make...

Task #8691: bug fix wrt DESTDIR in Dragnet activate script. Also reduce make jobs to allow other users to use the headnode while building.
parent 8247cea8
No related branches found
No related tags found
No related merge requests found
......@@ -58,10 +58,10 @@ svn checkout $lofar_svn_root/$lofar_svn_tag LOFAR > /dev/null
# build, install into DESTDIR, and create deploy archive
mkdir -p $buildtype && cd $buildtype
cmake -DBUILD_PACKAGES=Dragnet -DCMAKE_INSTALL_PREFIX=$prefix ../LOFAR
make -j 8 install DESTDIR="$tmpdir"/destdir
cd ..
make -j 7 install DESTDIR="$tmpdir"/destdir
cd ../destdir
archive=$lofar_release-Dragnet.tgz
tar zcf $archive destdir/* # whole $prefix path ends up in archive entries
tar zcf $archive * # whole $prefix path ends up in archive entries
# create environment module file if it is a LOFAR-Release-*
envmodfilename=$lofar_version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment