Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hcana
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
jlab
hallc
analyzer_software
hcana
Commits
6e80c15a
Commit
6e80c15a
authored
11 years ago
by
Edward Brash
Committed by
Stephen A. Wood
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Updates for site-wide scons build (rather than local version).
parent
e3a3fa8c
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
SConstruct.py
+9
-4
9 additions, 4 deletions
SConstruct.py
with
9 additions
and
4 deletions
SConstruct.py
+
9
−
4
View file @
6e80c15a
...
...
@@ -5,6 +5,7 @@ import os
import
sys
import
platform
import
commands
import
SCons
def
rootcint
(
target
,
source
,
env
):
"""
Executes the ROOT dictionary generator over a list of headers.
"""
...
...
@@ -29,9 +30,11 @@ baseenv = Environment(ENV = os.environ)
# print "Construction variable = '%s', value = '%s'" % (key, dict[key])
####### Check SCons version ##################
print
(
'
!!! You should be using the local version of SCons, invoked with:
'
)
print
(
'
!!! ./podd/scons/scons.py
'
)
EnsureSConsVersion
(
4
,
9
,
9
)
#print('!!! You should be using the local version of SCons, invoked with:')
#print('!!! ./podd/scons/scons.py')
print
(
'
!!! Building the Hall C analyzer and libraries with SCons requires
'
)
print
(
'
!!! SCons version 2.1.0 or newer.
'
)
EnsureSConsVersion
(
2
,
1
,
0
)
####### Hall A Build Environment #############
#
...
...
@@ -46,8 +49,10 @@ baseenv.Append(HA_DIR = baseenv.subst('$HC_DIR')+'/podd ')
baseenv
.
Append
(
HA_SRC
=
baseenv
.
subst
(
'
$HA_DIR
'
)
+
'
/src
'
)
baseenv
.
Append
(
HA_DC
=
baseenv
.
subst
(
'
$HA_DIR
'
)
+
'
/hana_decode
'
)
baseenv
.
Append
(
HA_SCALER
=
baseenv
.
subst
(
'
$HA_DIR
'
)
+
'
/hana_scaler
'
)
baseenv
.
Append
(
SOVERSION
=
'
1.5
'
)
baseenv
.
Append
(
MAJORVERSION
=
'
1
'
)
baseenv
.
Append
(
MINORVERSION
=
'
5
'
)
baseenv
.
Append
(
PATCH
=
'
25
'
)
baseenv
.
Append
(
SOVERSION
=
baseenv
.
subst
(
'
$MAJORVERSION
'
)
+
'
.
'
+
baseenv
.
subst
(
'
$MINORVERSION
'
))
baseenv
.
Append
(
VERSION
=
baseenv
.
subst
(
'
$SOVERSION
'
)
+
'
.
'
+
baseenv
.
subst
(
'
$PATCH
'
))
baseenv
.
Append
(
EXTVERS
=
''
)
baseenv
.
Append
(
HA_VERSION
=
baseenv
.
subst
(
'
$VERSION
'
)
+
baseenv
.
subst
(
'
$EXTVERS
'
))
...
...
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