Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CEPCSW
Manage
Activity
Members
Labels
Plan
Issues
6
Issue boards
Milestones
Wiki
Code
Merge requests
9
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
cepc
CEPCSW
Commits
1d616b88
Commit
1d616b88
authored
7 months ago
by
lintao@ihep.ac.cn
Browse files
Options
Downloads
Patches
Plain Diff
Improve the build script.
parent
c82aff1b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!114
Improve the build script.
Pipeline
#12905
passed with stages
in 5 minutes and 59 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake/CEPCSWEnv.cmake
+6
-4
6 additions, 4 deletions
cmake/CEPCSWEnv.cmake
setup.sh
+1
-0
1 addition, 0 deletions
setup.sh
with
7 additions
and
4 deletions
cmake/CEPCSWEnv.cmake
+
6
−
4
View file @
1d616b88
# This variable will be used by GaudiToolbox.cmake to generate the cepcswenv.sh
set
(
RUN_SCRIPT_EXTRA_COMMANDS
"
${
RUN_SCRIPT_EXTRA_COMMANDS
}
export CEPCSW_ROOT=
${
CMAKE_SOURCE_DIR
}
export DETCEPCV4ROOT=
${
CMAKE_SOURCE_DIR
}
/Detector/DetCEPCv4
export DETCRDROOT=
${
CMAKE_SOURCE_DIR
}
/Detector/DetCRD
export DETDRIFTCHAMBERROOT=
${
CMAKE_SOURCE_DIR
}
/Detector/DetDriftChamber
CEPCSW_PROJECT_SOURCE_DIR=
${
CMAKE_SOURCE_DIR
}
# this is hardcode
export CEPCSW_ROOT=
\$
{CEPCSW_ROOT:-
\$
{CEPCSW_PROJECT_SOURCE_DIR}} # allow user to override the default
export DETCEPCV4ROOT=
\$
{CEPCSW_ROOT}/Detector/DetCEPCv4
export DETCRDROOT=
\$
{CEPCSW_ROOT}/Detector/DetCRD
export DETDRIFTCHAMBERROOT=
\$
{CEPCSW_ROOT}/Detector/DetDriftChamber
"
)
This diff is collapsed.
Click to expand it.
setup.sh
+
1
−
0
View file @
1d616b88
...
...
@@ -46,6 +46,7 @@ function setup-external() {
function
setup-install-area
()
{
local
installarea
=
$THISSCRITDIR
/InstallArea
if
[
!
-d
"
$installarea
"
]
;
then
info:
"The InstallArea is not created yet. Please run ./build.sh first, then source setup.sh again."
return
fi
...
...
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