Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
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
Package registry
Container registry
Harbor 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
dCache
cta
Commits
894e1596
Commit
894e1596
authored
11 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
The cmake rules for building the stager client commands now work on SLC5
parent
2dd58e66
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
client/src/stager/CMakeLists.txt
+20
-41
20 additions, 41 deletions
client/src/stager/CMakeLists.txt
with
20 additions
and
41 deletions
client/src/stager/CMakeLists.txt
+
20
−
41
View file @
894e1596
...
...
@@ -22,47 +22,26 @@
cmake_minimum_required
(
VERSION 2.6
)
################################################################################
# Rules to build stager client tools
# Rules to build
and install the
stager client tools
################################################################################
set
(
STAGER_CLIENT_
PROG
S
stager_get
stager_
update
stager_
put
stager_
putdone
stager_
qry
stager_
rm
stager_
setfilegcweight
castor
stager_
addprivilege
stager_removeprivilege
stager_
abort
stager_
listprivileges
set
(
STAGER_CLIENT_
EXE_SRC_FILE
S
castor.c
stager_
abort.cpp
stager_
addprivilege.c
stager_
get.c
stager_
listprivileges.cpp
stager_
update.c
stager_
put.c
stager_putdone.c
stager_
qry.cpp
stager_removeprivilege
.c
stager_
rm.c
stager_
setfilegcweight.c
)
foreach
(
PROG
${
STAGER_CLIENT_PROGS
}
)
add_executable
(
${
PROG
}
${
PROG
}
)
target_link_libraries
(
${
PROG
}
castorcommon castorns castorclient
)
endforeach
(
PROG
)
install
(
TARGETS
${
STAGER_CLIENT_PROGS
}
DESTINATION
${
CASTOR_DEST_BIN_DIR
}
)
################################################################################
# Rules to install hsmtools's man page(s) and init scripts
################################################################################
set
(
STAGER_CLIENT_MAN_PAGES
stager_get
stager_update
stager_put
stager_putdone
stager_qry
stager_rm
stager_setfilegcweight
stager_addprivilege
stager_removeprivilege
stager_listprivileges
stager_abort
)
foreach
(
PAGE
${
STAGER_CLIENT_MAN_PAGES
}
)
CastorInstallExeManPage
(
${
PAGE
}
)
endforeach
(
PAGE
)
foreach
(
SRC_FILE
${
STAGER_CLIENT_EXE_SRC_FILES
}
)
string
(
REGEX REPLACE
"[.]cp*$"
""
EXE_FILE
${
SRC_FILE
}
)
add_executable
(
${
EXE_FILE
}
${
SRC_FILE
}
)
target_link_libraries
(
${
EXE_FILE
}
castorcommon castorns castorclient
)
CastorInstallExeManPage
(
${
EXE_FILE
}
)
endforeach
()
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