Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cmake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Software Control System
Devtools
cmake
Commits
df64ee79
Commit
df64ee79
authored
2 years ago
by
MADELA Patrick
Browse files
Options
Downloads
Patches
Plain Diff
Initial commit
parents
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+103
-0
103 additions, 0 deletions
.gitlab-ci.yml
README.md
+10
-0
10 additions, 0 deletions
README.md
with
113 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
103
−
0
View file @
df64ee79
variables
:
CMAKE_VERSION
:
3.18.2
PYTHON_VERSION
:
3.6.13
CONAN_VERSION
:
1.52.0
DEVTOOLS_ROOT
:
"
/usr/Local/devtools"
stages
:
-
build
-
test
-
package
.build
:
stage
:
build
script
:
-
yum -y install --setopt=tsflags=nodocs devtoolset-7-toolchain
-
curl -s https://gitlab.synchrotron-soleil.fr/software-control-system/devtools/python3/-/jobs/artifacts/main/download?job=linux-el6-i686 | tar -xzf - -C ${DEVTOOLS_ROOT}
-
${PYTHON_ROOT}/bin/pip3 install -q --no-cache-dir --prefix=${CONAN_ROOT} conan==${CONAN_VERSION} conan-package-tools
-
mkdir -p cmake-${CMAKE_VERSION}
-
cd cmake-${CMAKE_VERSION}
-
source scl_source enable devtoolset-7
-
CXX=/opt/rh/devtoolset-7/root/usr/bin/g++ CC=/opt/rh/devtoolset-7/root/usr/bin/gcc linux32 -- conan install cmake/${CMAKE_VERSION}@ -g deploy --build=missing --build=cmake
-
mkdir -p ${CI_PROJECT_DIR}/${NAME}
-
cp -a cmake/* ${CI_PROJECT_DIR}/${NAME}
artifacts
:
name
:
${NAME}
paths
:
-
${NAME}
.test
:
stage
:
test
script
:
-
curl -s https://gitlab.synchrotron-soleil.fr/software-control-system/devtools/python3/-/jobs/artifacts/main/download?job=linux-el6-i686 | tar -xzf - -C ${DEVTOOLS_ROOT}
-
${NAME}/bin/conan --version | grep ${CONAN_VERSION}
.package
:
stage
:
package
script
:
-
cd ${CI_PROJECT_DIR}/${NAME}
-
zip -r --symlinks ../${NAME}.zip *
-
'
curl
--header
"JOB-TOKEN:
$CI_JOB_TOKEN"
--upload-file
../${NAME}.zip
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/fakegit/${GIT_VERSION}/"'
linux-el6-i686
:
extends
:
[
"
.build"
]
image
:
gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44-x86
variables
:
NAME
:
"
cmake-${CMAKE_VERSION}-linux-el6-i686"
PYTHON_ROOT
:
${DEVTOOLS_ROOT}/python-${PYTHON_VERSION}-linux-el6-i686
CONAN_ROOT
:
${DEVTOOLS_ROOT}/conan-${CONAN_VERSION}-linux-el6-i686
PATH
:
"
${CONAN_ROOT}/bin:${PYTHON_ROOT}/bin"
PYTHONPATH
:
"
${CONAN_ROOT}/lib/python3.6/site-packages"
test-el6-i686
:
extends
:
[
"
.test"
]
image
:
gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44-x86
variables
:
NAME
:
"
cmake-${CMAKE_VERSION}-linux-el6-i686"
PYTHON_ROOT
:
${DEVTOOLS_ROOT}/python-${PYTHON_VERSION}-linux-el6-i686
CONAN_ROOT
:
${DEVTOOLS_ROOT}/conan-${CONAN_VERSION}-linux-el6-i686
PATH
:
"
${CONAN_ROOT}/bin:${PYTHON_ROOT}/bin"
PYTHONPATH
:
"
${CONAN_ROOT}/lib/python3.6/site-packages"
needs
:
-
linux-el6-i686
package-el6-i686
:
extends
:
[
"
.package"
]
image
:
gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44-x86
variables
:
NAME
:
"
cmake-${CMAKE_VERSION}-linux-el6-i686"
needs
:
-
linux-el6-i686
-
test-el6-i686
linux-el7-i686
:
extends
:
[
"
.build"
]
image
:
gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el7-gcc48-x86
variables
:
NAME
:
"
cmake-${CMAKE_VERSION}-linux-el6-i686"
PYTHON_ROOT
:
${DEVTOOLS_ROOT}/python-${PYTHON_VERSION}-linux-el6-i686
CONAN_ROOT
:
${DEVTOOLS_ROOT}/conan-${CONAN_VERSION}-linux-el6-i686
PATH
:
"
${CONAN_ROOT}/bin:${PYTHON_ROOT}/bin"
PYTHONPATH
:
"
${CONAN_ROOT}/lib/python3.6/site-packages"
test-el7-i686
:
extends
:
[
"
.test"
]
image
:
gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el7-gcc48-x86
variables
:
NAME
:
"
cmake-${CMAKE_VERSION}-linux-el6-i686"
PYTHON_ROOT
:
${DEVTOOLS_ROOT}/python-${PYTHON_VERSION}-linux-el6-i686
CONAN_ROOT
:
${DEVTOOLS_ROOT}/conan-${CONAN_VERSION}-linux-el6-i686
PATH
:
"
${CONAN_ROOT}/bin:${PYTHON_ROOT}/bin"
PYTHONPATH
:
"
${CONAN_ROOT}/lib/python3.6/site-packages"
needs
:
-
linux-el7-i686
package-el7-i686
:
extends
:
[
"
.package"
]
image
:
gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el7-gcc48-x86
variables
:
NAME
:
"
cmake-${CMAKE_VERSION}-linux-el7-i686"
needs
:
-
linux-el7-i686
-
test-el7-i686
This diff is collapsed.
Click to expand it.
README.md
0 → 100644
+
10
−
0
View file @
df64ee79
# Cmake
Pipeline to build Cmake 3.18.2 for our legacy CentOS 32 bits platform.
Cmake for independent 64 bits Linux distribution is avaible but not for 32 bits:
*
https://cmake.org/files/v3.18/cmake-3.18.2-Linux-x86_64.tar.gz
Allows to build Cmake for:
*
CentOS 6.10 32 bits:
[
cmake-3.18.2-linux-el6-i686.zip
](
https://gitlab.synchrotron-soleil.fr/software-control-system/tools/cmake/-/jobs/artifacts/main/download?job=linux-el6-i686
)
*
CentOS 7.9 32 bits:
[
cmake-3.18.2-linux-el7-i686.zip
](
https://gitlab.synchrotron-soleil.fr/software-control-system/tools/cmake/-/jobs/artifacts/main/download?job=linux-el7-i686
)
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