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
93d8e0a1
Commit
93d8e0a1
authored
5 years ago
by
Michael Davis
Browse files
Options
Downloads
Patches
Plain Diff
[upgrade-db] Adds where to find protobuf libs
And renames tool to cta-upgrade-db in line with other tools
parent
415b12fe
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cta.spec.in
+1
-1
1 addition, 1 deletion
cta.spec.in
upgrade_db/CMakeLists.txt
+4
-3
4 additions, 3 deletions
upgrade_db/CMakeLists.txt
with
5 additions
and
4 deletions
cta.spec.in
+
1
−
1
View file @
93d8e0a1
...
...
@@ -288,7 +288,7 @@ Scripts and utilities to faciliate working with the CTA catalogue
%attr(0755,root,root) %{_bindir}/cta-catalogue-schema-drop
%attr(0755,root,root) %{_bindir}/cta-catalogue-schema-verify
%attr(0755,root,root) %{_bindir}/cta-database-poll
%attr(0755,root,root) %{_bindir}/upgrade-db
%attr(0755,root,root) %{_bindir}/
cta-
upgrade-db
%attr(0644,root,root) %doc /usr/share/man/man1/cta-catalogue-admin-user-create.1cta.gz
%attr(0644,root,root) %doc /usr/share/man/man1/cta-catalogue-schema-create.1cta.gz
%attr(0644,root,root) %doc /usr/share/man/man1/cta-catalogue-schema-drop.1cta.gz
...
...
This diff is collapsed.
Click to expand it.
upgrade_db/CMakeLists.txt
+
4
−
3
View file @
93d8e0a1
...
...
@@ -19,7 +19,8 @@ cmake_minimum_required (VERSION 2.6)
include_directories
(
${
XRD_SSI_PB_DIR
}
/include
${
XROOTD_INCLUDE_DIR
}
${
XROOTD_INCLUDE_DIR
}
/private
)
# Upgrade DB tool
add_executable
(
upgrade-db UpgradeDB.cpp
)
target_link_libraries
(
upgrade-db ctacatalogue
)
add_executable
(
cta-upgrade-db UpgradeDB.cpp
)
target_link_libraries
(
cta-upgrade-db ctacatalogue
)
set_property
(
TARGET cta-upgrade-db APPEND PROPERTY INSTALL_RPATH
${
PROTOBUF3_RPATH
}
)
install
(
TARGETS upgrade-db DESTINATION usr/bin
)
install
(
TARGETS
cta-
upgrade-db DESTINATION usr/bin
)
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