Skip to content

Fix previously ignored errors when fetching ToolDAQFramework #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions GetToolDAQ.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -e

init=1
tooldaq=1
boostflag=1
Expand Down Expand Up @@ -110,17 +112,22 @@ fi

if [ $zmq -eq 1 ]
then
git clone https://github.com/ToolDAQ/zeromq-4.0.7.git

mkdir zeromq-4.0.7
cd zeromq-4.0.7
git clone https://github.com/ToolDAQ/zeromq-4.0.7.git src

prefix=$PWD
cd src

./configure --prefix=`pwd`
./configure --prefix="$prefix"
make -j $threads
make install
cp -v include/zmq.hpp "$prefix/include"

export LD_LIBRARY_PATH=`pwd`/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH="$prefix/lib:$LD_LIBRARY_PATH"
unset prefix

cd ../
cd ../..
fi

if [ $boostflag -eq 1 ]
Expand All @@ -133,7 +140,7 @@ then
rm -rf INSTALL
mkdir install

./bootstrap.sh --prefix=`pwd`/install/ > /dev/null 2>/dev/null
./bootstrap.sh --prefix="`pwd`/install/" --without-libraries=python > /dev/null 2>/dev/null
./b2 install iostreams -j $threads

export LD_LIBRARY_PATH=`pwd`/install/lib:$LD_LIBRARY_PATH
Expand Down
Loading