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
818682f7
Commit
818682f7
authored
7 years ago
by
Michael Davis
Browse files
Options
Downloads
Patches
Plain Diff
[XrdSsi] Builds XRootD with SSI extensions from master branch
parent
2fedaeee
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
xroot_rpms/Dockerfile
+3
-10
3 additions, 10 deletions
xroot_rpms/Dockerfile
xroot_rpms/README.md
+2
-6
2 additions, 6 deletions
xroot_rpms/README.md
xroot_rpms/build-rpms
+14
-0
14 additions, 0 deletions
xroot_rpms/build-rpms
xroot_rpms/xrootd.spec.in
+0
-922
0 additions, 922 deletions
xroot_rpms/xrootd.spec.in
with
19 additions
and
938 deletions
xroot_rpms/Dockerfile
+
3
−
10
View file @
818682f7
...
...
@@ -44,21 +44,14 @@ RUN yum clean all && \
vim
\
yum-utils
#
Get XRootD
#
Check out XRootD from master (includes SSIV2)
RUN
git clone https://github.com/xrootd/xrootd.git
# Check out SSIV2
RUN
cd
xrootd
&&
git checkout xrdssiV2
# Copy in patched xrootd.spec.in
ADD
xrootd.spec.in /xrootd/packaging/rhel/xrootd.spec.in
RUN
cp
xrootd/packaging/rhel/xrootd.spec.in xrootd.spec
RUN
cd
xrootd
&&
git pull
# Install all necessary build dependencies
RUN
cp
xrootd/packaging/rhel/xrootd.spec.in xrootd.spec
RUN
yum-builddep
-y
xrootd.spec
# Create XRootD source RPM
...
...
This diff is collapsed.
Click to expand it.
xroot_rpms/README.md
+
2
−
6
View file @
818682f7
# Build XRootD RPMs
The version of xrootd.spec.in in the xrootd xrdssiV2 branch does not package the SSI library and header files.
This is the temporary home for the patched version of xrootd.spec.in, until Michal or Andy can integrate it
properly into the xrootd git respository.
To build the RPMs:
The XRootD SSI libraries and header files are now integrated into the master branch but are not part
of any release. As we need to link against the SSI libraries, we need to build our own RPMs:
```
./build-rpms
```
...
...
This diff is collapsed.
Click to expand it.
xroot_rpms/build-rpms
+
14
−
0
View file @
818682f7
#!/bin/sh
# Ensure Docker is running
HAS_DOCKER
=
$(
ps ax|grep dockerd-current|grep
-v
grep
|wc
-l
)
if
[
$HAS_DOCKER
-eq
0
]
then
echo
-n
Starting Docker...
sudo
systemctl start docker
echo
done
.
fi
sudo
docker build
.
-f
./Dockerfile
-t
buildxroot
id
=
$(
sudo
docker create buildxroot bash
)
echo
$id
sudo
docker
cp
${
id
}
:rpmbuild_xrootd/RPMS/noarch/
.
sudo
docker
cp
${
id
}
:rpmbuild_xrootd/RPMS/x86_64/
.
# Clean up
sudo
docker
rm
-v
${
id
}
This diff is collapsed.
Click to expand it.
xroot_rpms/xrootd.spec.in
deleted
100644 → 0
+
0
−
922
View file @
2fedaeee
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