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
7ea3a4af
Commit
7ea3a4af
authored
3 years ago
by
Tigran Mkrtchyan
Committed by
Michael Davis
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
gitlab-ci: drop dependency on cmake3
parent
51cb0063
No related branches found
Branches containing commit
Tags
v0.0-136
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
cmake/UseRPMTools.cmake
+2
-2
2 additions, 2 deletions
cmake/UseRPMTools.cmake
with
5 additions
and
5 deletions
.gitlab-ci.yml
+
3
−
3
View file @
7ea3a4af
...
...
@@ -22,7 +22,7 @@ cta_srpm:
retry
:
1
image
:
gitlab-registry.cern.ch/linuxsupport/cc7-base
script
:
-
yum install -y devtoolset-8
cmake
cmake3 make rpm-build
-
yum install -y devtoolset-8 cmake3 make rpm-build
-
source /opt/rh/devtoolset-8/enable
-
mkdir build_srpm
-
cd build_srpm
...
...
@@ -45,7 +45,7 @@ cta_rpm:
image
:
gitlab-registry.cern.ch/linuxsupport/cc7-base
script
:
-
cp -f continuousintegration/docker/ctafrontend/cc7/etc/yum.repos.d/*.repo /etc/yum.repos.d/
-
yum install -y devtoolset-8
cmake
cmake3 make rpm-build
-
yum install -y devtoolset-8 cmake3 make rpm-build
-
yum -y install yum-plugin-priorities yum-plugin-versionlock
-
yum install -y git
-
source /opt/rh/devtoolset-8/enable
...
...
@@ -76,7 +76,7 @@ cta_tagged_rpm:
-
if [ -z "${CI_COMMIT_TAG}" ]; then echo "This is not a tagged commit, exiting"; exit 0; fi
-
echo "Building package for tag ${CI_COMMIT_TAG}. CTA_VERSION=${TAG_VERSION} - CTA_RELEASE=${TAG_RELEASE}"
-
cp -f continuousintegration/docker/ctafrontend/cc7/etc/yum.repos.d/*.repo /etc/yum.repos.d/
-
yum install -y devtoolset-8
cmake
cmake3 make rpm-build
-
yum install -y devtoolset-8 cmake3 make rpm-build
-
yum -y install yum-plugin-priorities yum-plugin-versionlock
-
yum install -y git
-
source /opt/rh/devtoolset-8/enable
...
...
This diff is collapsed.
Click to expand it.
cmake/UseRPMTools.cmake
+
2
−
2
View file @
7ea3a4af
...
...
@@ -159,13 +159,13 @@ rm -rf build_tree
ENDIF
(
"
${
ARGV1
}
"
STREQUAL
""
)
ADD_CUSTOM_TARGET
(
${
RPMNAME
}
_srpm
COMMAND cpack -G TGZ --config CPackSourceConfig.cmake
COMMAND cpack
3
-G TGZ --config CPackSourceConfig.cmake
COMMAND
${
CMAKE_COMMAND
}
-E copy
${
CPACK_SOURCE_PACKAGE_FILE_NAME
}
.tar.gz
${
RPM_ROOTDIR
}
/SOURCES
COMMAND
${
RPMTools_RPMBUILD_EXECUTABLE
}
-bs --define=\"_topdir
${
RPM_ROOTDIR
}
\" --define '_source_filedigest_algorithm md5' --define '_binary_filedigest_algorithm md5' --define 'neutralpackage 1' --nodeps --buildroot=
${
RPM_ROOTDIR
}
/tmp
${
RPM_ROOTDIR
}
/SPECS/
${
SPECFILE_NAME
}
)
ADD_CUSTOM_TARGET
(
${
RPMNAME
}
_rpm
COMMAND cpack -G TGZ --config CPackSourceConfig.cmake
COMMAND cpack
3
-G TGZ --config CPackSourceConfig.cmake
COMMAND
${
CMAKE_COMMAND
}
-E copy
${
CPACK_SOURCE_PACKAGE_FILE_NAME
}
.tar.gz
${
RPM_ROOTDIR
}
/SOURCES
COMMAND
${
RPMTools_RPMBUILD_EXECUTABLE
}
-bb --define=\"_topdir
${
RPM_ROOTDIR
}
\" $ENV{RPMDEFS} --buildroot=
${
RPM_ROOTDIR
}
/tmp
${
RPM_ROOTDIR
}
/SPECS/
${
SPECFILE_NAME
}
)
...
...
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