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
a0f3b10c
Commit
a0f3b10c
authored
2 years ago
by
MADELA Patrick
Browse files
Options
Downloads
Patches
Plain Diff
Workaround to build el7-i686 because cmake 3 not availabe on CentOS 7 x86
parent
d067e757
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#1079
failed
2 years ago
Stage: prebuild
Stage: build
Stage: test
Stage: package
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-1
5 additions, 1 deletion
.gitlab-ci.yml
with
5 additions
and
1 deletion
.gitlab-ci.yml
+
5
−
1
View file @
a0f3b10c
...
...
@@ -15,12 +15,16 @@ stages:
stage
:
prebuild
script
:
-
yum install -y openssl-devel
# Get latest version of cmake available for i386 (cmake 3 not available for CentOS 7 x86)
-
curl -s -OL https://cmake.org/files/v3.6/cmake-3.6.3-Linux-i386.tar.gz
-
tar -xzvf cmake-3.6.3-Linux-i386.tar.gz
# Get source of a cmake buildable with latest version of cmake available for i386
-
curl -s -OL https://github.com/Kitware/CMake/releases/download/v${PREBUILD_CMAKE_VERSION}/cmake-${PREBUILD_CMAKE_VERSION}-SHA-256.txt
-
curl -s -OL https://github.com/Kitware/CMake/releases/download/v${PREBUILD_CMAKE_VERSION}/cmake-${PREBUILD_CMAKE_VERSION}.tar.gz
-
echo "$(cat cmake-${PREBUILD_CMAKE_VERSION}-SHA-256.txt | grep cmake-${PREBUILD_CMAKE_VERSION}.tar.gz)" | sha256sum --check --status
-
tar -xzf cmake-${PREBUILD_CMAKE_VERSION}.tar.gz
-
mkdir build && cd build
-
cmake
3
../cmake-${PREBUILD_CMAKE_VERSION} -DCMAKE_INSTALL_PREFIX=${CI_PROJECT_DIR}/${NAME}
-
cmake
-3.6.3-Linux-i386/bin/cmake
../cmake-${PREBUILD_CMAKE_VERSION} -DCMAKE_INSTALL_PREFIX=${CI_PROJECT_DIR}/${NAME}
-
make
-
make install
artifacts
:
...
...
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