Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Vakhtang Tsulaia
athena
Commits
b2deed43
Commit
b2deed43
authored
6 years ago
by
Edward Moyse
Committed by
Adam Edward Barton
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Modified the Athena build script to not assume that there is AthenaExternals locally…
Former-commit-id:
428e5aa9
parent
f57dde7a
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
Projects/Athena/build_env.sh
+8
-8
8 additions, 8 deletions
Projects/Athena/build_env.sh
with
8 additions
and
8 deletions
Projects/Athena/build_env.sh
+
8
−
8
View file @
b2deed43
...
...
@@ -37,7 +37,7 @@ env_setup() {
# Check if the user specified any source/build directories:
if
[
"
$BUILDDIR
"
=
""
]
;
then
BUILDDIR
=
${
AthenaSrcDir
}
/../../../build
BUILDDIR
=
${
AthenaSrcDir
}
/../../../build
fi
# Set up the environment for the build:
...
...
@@ -53,16 +53,16 @@ env_setup() {
# Set up the AthenaExternals project:
extDir
=
${
BUILDDIR
}
/install/AthenaExternals/
${
NICOS_PROJECT_VERSION
}
/InstallArea
if
[
!
-d
${
extDir
}
]
;
then
echo
"Didn't find the AthenaExternals project under
${
extDir
}
"
echo
"Didn't find the AthenaExternals project under
${
extDir
}
"
echo
"(Hopefully this is intentional and you have done e.g. asetup AthenaExternals,master,latest)"
else
echo
"Setting up AthenaExternals from:
${
extDir
}
"
source
${
extDir
}
/
*
/setup.sh
fi
echo
"Setting up AthenaExternals from:
${
extDir
}
"
source
${
extDir
}
/
*
/setup.sh
# Get the "platform name" from the directory created by the AthenaExternals
# build:
platform
=
$(
cd
${
extDir
}
;
ls
)
# Point to Gaudi:
# Get platform from the GAUDI build - we're assuming here that there's only one platform installed.
platform
=
$(
cd
${
BUILDDIR
}
/install/GAUDI/
${
NICOS_PROJECT_VERSION
}
/InstallArea/
;
ls
)
export
GAUDI_ROOT
=
${
BUILDDIR
}
/install/GAUDI/
${
NICOS_PROJECT_VERSION
}
/InstallArea/
${
platform
}
echo
"Taking Gaudi from:
${
GAUDI_ROOT
}
"
...
...
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