Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
6a684128
Commit
6a684128
authored
10 years ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
Task #7336: Updated qpid build script for Cobalt, included link to wiki
parent
05fa564b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SubSystems/Online_Cobalt/install/install_qpid.sh
+10
-7
10 additions, 7 deletions
SubSystems/Online_Cobalt/install/install_qpid.sh
with
10 additions
and
7 deletions
SubSystems/Online_Cobalt/install/install_qpid.sh
+
10
−
7
View file @
6a684128
#!/bin/bash -eu
# Note: this script is derived from the QPID build procedure
# described on http://www.lofar.org/wiki/doku.php?id=qpid:build
# We need to be lofarbuild to have the proper writing rights
#
[ "`whoami`" == "lofarbuild" ]
[
"
`
whoami
`
"
==
"lofarbuild"
]
# Download location for the latest QPID source
PROTON_SOURCE
=
"http://svn.apache.org/repos/asf/qpid/proton/branches/0.8"
...
...
@@ -17,8 +20,8 @@ QPID_INSTALLDIR=/localhome/lofar/qpid
echo
"Configuring PROTON and QPID..."
mkdir
-p
$QPID_INSTALLDIR
QPIDDIR
=
`
mktemp
-d
`
pushd
$QPIDDIR
>
/dev/null
QPID
_BUILD
DIR
=
`
mktemp
-d
`
pushd
$QPID
_BUILD
DIR
>
/dev/null
echo
" Downloading PROTON..."
svn co
$PROTON_SOURCE
proton
>
/dev/null
...
...
@@ -27,7 +30,7 @@ echo " Configuring PROTON..."
pushd
proton
>
/dev/null
mkdir
build
cd
build
cmake
-DCMAKE_INSTALL_PREFIX
=
$QPID_INSTALLDIR
..
>
cmake.log
cmake
-DCMAKE_INSTALL_PREFIX
=
$QPID_INSTALLDIR
-DBUILD_PERL
=
OFF
..
>
cmake.log
echo
" Building PROTON..."
make
-j
8
>
make.log
...
...
@@ -35,7 +38,7 @@ make -j 8 > make.log
echo
" Installing PROTON..."
make
-j
8
install
>
make_install.log
# back to QPIDDIR
# back to QPID
_BUILD
DIR
popd
>
/dev/null
echo
" Downloading QPID..."
...
...
@@ -53,7 +56,7 @@ make -j 8 > make.log
echo
" Installing QPID C bindings..."
make
-j
8
install
>
make_install.log
# back to QPIDDIR
# back to QPID
_BUILD
DIR
popd
>
/dev/null
echo
" Building and installing QPID Python bindings..."
...
...
@@ -83,5 +86,5 @@ EOF
echo
" Cleaning up..."
popd
>
/dev/null
rm
-rf
"
$QPIDDIR
"
rm
-rf
"
$QPID
_BUILD
DIR
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment