summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authoreugeneswalker <38933153+eugeneswalker@users.noreply.github.com>2024-03-26 08:02:16 -0700
committerGitHub <noreply@github.com>2024-03-26 08:02:16 -0700
commited40c3210e76718052681dcf89bd475dc631e421 (patch)
tree92d236302325b45a024b228113c070a960a0fb04 /share
parentbe96460ab21ebc060c11d791d914c0e204d0525b (diff)
downloadspack-ed40c3210e76718052681dcf89bd475dc631e421.tar.gz
spack-ed40c3210e76718052681dcf89bd475dc631e421.tar.bz2
spack-ed40c3210e76718052681dcf89bd475dc631e421.tar.xz
spack-ed40c3210e76718052681dcf89bd475dc631e421.zip
ci: add developer-tools-manylinux2014 stack (#43128)
* ci: add developer-tools-manylinux2014 stack * add libtree, patchelf
Diffstat (limited to 'share')
-rw-r--r--share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml24
-rw-r--r--share/spack/gitlab/cloud_pipelines/stacks/developer-tools-manylinux2014/spack.yaml89
2 files changed, 113 insertions, 0 deletions
diff --git a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml
index 641bde58d8..6d16cc8712 100644
--- a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml
+++ b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml
@@ -518,6 +518,30 @@ developer-tools-build:
- artifacts: True
job: developer-tools-generate
+###########################################
+# Build tests for different developer tools
+# manylinux2014
+###########################################
+.developer-tools-manylinux2014:
+ extends: [ ".linux_x86_64_v3" ]
+ variables:
+ SPACK_CI_STACK_NAME: developer-tools-manylinux2014
+
+developer-tools-manylinux2014-generate:
+ extends: [ ".developer-tools-manylinux2014", ".generate-x86_64"]
+ image: ecpe4s/manylinux2014:2024.03.11
+
+developer-tools-manylinux2014-build:
+ extends: [ ".developer-tools-manylinux2014", ".build" ]
+ trigger:
+ include:
+ - artifact: jobs_scratch_dir/cloud-ci-pipeline.yml
+ job: developer-tools-manylinux2014-generate
+ strategy: depend
+ needs:
+ - artifacts: True
+ job: developer-tools-manylinux2014-generate
+
#########################################
# RADIUSS
#########################################
diff --git a/share/spack/gitlab/cloud_pipelines/stacks/developer-tools-manylinux2014/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/developer-tools-manylinux2014/spack.yaml
new file mode 100644
index 0000000000..28a258eafa
--- /dev/null
+++ b/share/spack/gitlab/cloud_pipelines/stacks/developer-tools-manylinux2014/spack.yaml
@@ -0,0 +1,89 @@
+spack:
+ view: false
+ packages:
+ all:
+ require: target=x86_64_v3
+ concretizer:
+ unify: true
+ definitions:
+ - default_specs:
+ # editors
+ - neovim~no_luajit
+ - py-pynvim
+ - emacs@29.1+json+native+treesitter # note, pulls in gcc
+ # - tree-sitter is a dep, should also have cli but no package
+ - nano # just in case
+ # tags and scope search helpers
+ - universal-ctags # only maintained ctags, works better with c++
+ - direnv
+ # runtimes and compilers
+ - python
+ - llvm+link_llvm_dylib~lld~lldb~polly+python build_type=MinSizeRel # for clangd, clang-format
+ - node-js # for editor plugins etc., pyright language server
+ - npm
+ - cmake
+ - libtool
+ - go # to build fzf, gh, hub
+ - rust+dev # fd, ripgrep, hyperfine, exa, rust-analyzer
+ - binutils+ld+gold+plugins # support linking with built gcc
+ # styling and lints
+ - astyle
+ - cppcheck
+ - uncrustify
+ - py-fprettify
+ - py-fortran-language-server
+ - py-python-lsp-server
+ # cli dev tools
+ - ripgrep
+ - gh
+ - fd
+ # - bfs # liburing: /usr/include/linux/ipv6.h:19:8: error: redefinition of 'struct in6_pktinfo'
+ - fzf
+ - tree
+ - jq
+ - py-yq
+ - hub
+ - ncdu
+ - eza
+ - lsd
+ - hyperfine
+ - htop
+ - tmux
+ - ccache
+ # ensure we can use a jobserver build and do this fast
+ - gmake
+ - ninja # should be @kitware, can't be because of meson requirement
+ - openssl certs=system # must be this, system external does not work
+ - libtree
+ - patchelf
+
+ - arch:
+ - '%gcc target=x86_64_v3'
+
+ specs:
+ - matrix:
+ - - $default_specs
+ - - $arch
+
+ compilers:
+ - compiler:
+ spec: gcc@=10.2.1
+ paths:
+ cc: /opt/rh/devtoolset-10/root/usr/bin/gcc
+ cxx: /opt/rh/devtoolset-10/root/usr/bin/g++
+ f77: /opt/rh/devtoolset-10/root/usr/bin/gfortran
+ fc: /opt/rh/devtoolset-10/root/usr/bin/gfortran
+ flags: {}
+ operating_system: centos7
+ target: x86_64
+ modules: []
+ environment: {}
+ extra_rpaths: []
+
+ ci:
+ pipeline-gen:
+ - build-job:
+ image: ecpe4s/manylinux2014:2024.03.11
+
+ cdash:
+ build-group: Developer Tools Manylinux2014 \ No newline at end of file