Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
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
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Mattias Ellert
CMake
Commits
76742c4c
Commit
76742c4c
authored
4 years ago
by
Hi Key
Committed by
Brad King
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
gitlab-ci: add jobs to make Linux release packages for aarch64 on 3.19 branch
parent
e14fb01c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+23
-0
23 additions, 0 deletions
.gitlab-ci.yml
.gitlab/artifacts.yml
+1
-0
1 addition, 0 deletions
.gitlab/artifacts.yml
.gitlab/ci/sccache.sh
+14
-7
14 additions, 7 deletions
.gitlab/ci/sccache.sh
.gitlab/os-linux.yml
+15
-0
15 additions, 0 deletions
.gitlab/os-linux.yml
with
53 additions
and
7 deletions
.gitlab-ci.yml
+
23
−
0
View file @
76742c4c
...
...
@@ -186,6 +186,29 @@ build:linux-x86_64-package:
variables
:
RSYNC_DESTINATION
:
dev
build:linux-aarch64-package
:
extends
:
-
.linux_package_aarch64
-
.cmake_build_linux_package
-
.cmake_release_artifacts
-
.linux_builder_tags_aarch64
-
.run_only_for_package
dependencies
:
-
prep:doc-package
needs
:
-
prep:doc-package
.upload:linux-aarch64-package
:
extends
:
-
.rsync_upload
-
.run_only_for_package
dependencies
:
-
build:linux-aarch64-package
needs
:
-
build:linux-aarch64-package
variables
:
RSYNC_DESTINATION
:
dev
# macOS builds
build:macos-ninja
:
...
...
This diff is collapsed.
Click to expand it.
.gitlab/artifacts.yml
+
1
−
0
View file @
76742c4c
...
...
@@ -74,6 +74,7 @@
paths
:
# Any packages made.
-
build/cmake-*-Linux-x86_64.*
-
build/cmake-*-Linux-aarch64.*
-
build/cmake-*-macos-universal.*
# Any source packages made.
-
build/cmake-*.tar.gz
...
...
This diff is collapsed.
Click to expand it.
.gitlab/ci/sccache.sh
+
14
−
7
View file @
76742c4c
...
...
@@ -2,21 +2,30 @@
set
-e
case
"
$(
uname
-s
)
"
in
Linux
)
readonly
kernel
=
"
$(
uname
-s
)
-
$(
uname
-m
)
"
case
$kernel
in
Linux-x86_64
)
version
=
"0.2.13"
shatool
=
"sha256sum"
sha256sum
=
"28a5499e340865b08b632306b435913beb590fbd7b49a3f887a623b459fabdeb"
platform
=
"x86_64-unknown-linux-musl"
;;
Darwin
)
Linux-aarch64
)
version
=
"g6628e1f"
shatool
=
"sha256sum"
sha256sum
=
"bb88adbb5a29c166ecaa78d0593493b609a7f84d91d1228502a908f319b513f0"
platform
=
"aarch64-unknown-linux-musl"
url
=
"https://github.com/hwinit/sccache/releases/download/
$version
"
;;
Darwin-x86_64
)
version
=
"gfe63078"
shatool
=
"shasum -a 256"
sha256sum
=
"60a0302b1d7227f7ef56abd82266353f570d27c6e850c56c6448bf62def38888"
platform
=
"x86_64-apple-darwin"
url
=
"https://paraview.org/files/dependencies"
;;
*
)
echo
"Unrecognized platform
$
(
uname
-s
)
"
echo
"Unrecognized platform
$
kernel
"
exit
1
;;
esac
...
...
@@ -28,9 +37,7 @@ readonly platform
readonly
filename
=
"sccache-
$version
-
$platform
"
readonly
tarball
=
"
$filename
.tar.gz"
if
[
"
$(
uname
-s
)
"
=
"Darwin"
]
;
then
url
=
"https://paraview.org/files/dependencies"
else
if
[
-z
"
$url
"
]
;
then
url
=
"https://github.com/mozilla/sccache/releases/download/
$version
"
fi
readonly
url
...
...
This diff is collapsed.
Click to expand it.
.gitlab/os-linux.yml
+
15
−
0
View file @
76742c4c
...
...
@@ -25,6 +25,14 @@
LAUNCHER
:
"
scl
enable
devtoolset-6
rh-python36
--"
CMAKE_ARCH
:
x86_64
.linux_package_aarch64
:
image
:
"
kitware/cmake:build-linux-aarch64-deps-2020-12-21@sha256:0bd7dfe4e45593b04e39cd21e44011034610cfd376900558c5ef959bb1af15af"
variables
:
GIT_CLONE_PATH
:
"
$CI_BUILDS_DIR/cmake
ci"
LAUNCHER
:
"
scl
enable
devtoolset-7
--"
CMAKE_ARCH
:
aarch64
### Debian
.debian10
:
...
...
@@ -155,6 +163,13 @@
-
docker
-
linux
.linux_builder_tags_aarch64
:
tags
:
-
cmake
-
build
-
docker
-
linux-aarch64
## Linux-specific scripts
.before_script_linux
:
&before_script_linux
...
...
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