changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / skelfile

changeset 255: ad70dec68fa1
parent: e2b8d0be0d24
child: 9d6a767d72f0
author: Richard Westhaver <ellis@rwest.io>
date: Fri, 14 Jun 2024 19:20:13 +0000
permissions: -rw-r--r--
description: autogen updates and moved Containerfiles
1 ;;; skelfile --- infra skelfile -*- mode: skel; -*-
2 :name "infra"
3 :author "Richard Westhaver <ellis@rwest.io>"
4 :version "0.1.0"
5 :description "The Compiler Company Infrastructure"
6 :tags (:infra)
7 :license "MPL"
8 :vc (:hg "https://vc.compiler.company/comp/infra")
9 :docs ((:org "readme"))
10 :scripts "scripts"
11 :stash #p".stash"
12 :store #p"/usr/local/store"
13 :rules
14 ((check () #$./check.sh$#)
15  (clean () #$rm -rvf .stash$#)
16  ;; containers
17  (archlinux () #$podman build -f pod/Containerfile.archlinux --no-cache -t localhost/archlinux$#)
18  (alpine () #$podman build -f pod/Containerfile.alpine --no-cache -t localhost/alpine$#)
19  (ubuntu () #$podman build -f pod/Containerfile.alpine --no-cache -t localhost/alpine$#)
20  (box (archlinux) #$podman build -f pod/Containerfile.box --no-cache -t localhost/box$#)
21  (worker (alpine) #$podman build -f pod/Containerfile.worker --no-cache -t localhost/worker$#)
22  (operator (box) #$podman build -f pod/Containerfile.operator --no-cache -t localhost/operator$#)
23  (containers (archlinux alpine ubuntu box worker operator))
24  ;; programs
25  (src () #$mkdir -pv .stash/src$#)
26  (bin () #$mkdir -pv .stash/bin$#)
27  (emacs (src) #$./scripts/get-emacs.sh$#
28  #$cd .stash/src/emacs && ./autogen.sh$#
29  #$./scripts/build-emacs.sh$#)
30  (emacs-mini (src) #$./scripts/get-emacs.sh$#
31  #$cd .stash/src/emacs && ./autogen.sh$#
32  #$./scripts/build-emacs-mini.sh$#)
33  (rocksdb (src) #$scripts/get-rocksdb.sh$#
34  #$cd .stash/src/rocksdb && make shared_lib DISABLE_JEMALLOC=1$#)
35  (rocksdb-static (src) #$scripts/get-rocksdb.sh$#
36  #$cd .stash/src/rocksdb && make static_lib DISABLE_JEMALLOC=1$#)
37  (sbcl (src) #$scripts/get-sbcl.sh$#
38  #$cd .stash/src/sbcl &&
39  echo '"2.4.5"' > version.lisp-expr &&
40  ./make.sh --dynamic-space-size=8Gb --without-gencgc --with-mark-region-gc --fancy$#)
41  (sbcl-gencgc (src) #$cd .stash/src/sbcl &&
42  ./make.sh --dynamic-space-size=8Gb --fancy$#)
43  (sbcl-shared () #$cd .stash/src/sbcl && sh make-shared-library.sh$#)
44  (quicklisp () #$cd .stash && curl -O https://beta.quicklisp.org/quicklisp.lisp$#
45  #$./scripts/quicklisp-install.sh$#)
46  (stumpwm (src) #$./scripts/get-stumpwm.sh$#
47  #$cd .stash/src/stumpwm && ./autogen.sh && ./configure && make$#)
48  (nyxt (src) #$./scripts/get-nyxt.sh$#
49  #$cd .stash/src/nyxt && git submodule update --init && make all$#)
50  (scryer-prolog (src) #$./scripts/get-scryer-prolog.sh$#
51  #$cd .stash/src/scryer-prolog && cargo build --release$#)
52  (tree-sitter (src) #$./scripts/get-tree-sitter.sh$#)
53  (linux () #$mkdir -pv .stash/src/linux$#
54  #$gpg --export autosigner@ torvalds@ gregkh@ > .stash/src/linux/keyring.gpg$#
55  #$./scripts/get-linux.sh $(uname -r | cut -d- -f1) .stash .stash/src/linux/keyring.gpg$#
56  #$cd scripts && unxz .stash/src/linux.tar.xz &&
57  tar -xvf .stash/src/linux.tar $(uname -r | cut -d- -f1)$#
58  #$cd .stash/src/linux && make mrproper -j &&
59  zcat /proc/config.gz > .config && yes N | make localmodconfig$#)
60  (xcaddy () #$go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest$#)
61  (caddy-webdav (xcaddy) #$xcaddy build --output .stash/caddy --with github.com/mholt/caddy-webdav
62  (rust () #$scripts/get-rust.sh$#)
63  ;; install
64  (tree-sitter-langs (src) #$./scripts/tree-sitter-install-langs.sh$#)
65  (cargo-tools () #$scripts/install-cargo-tools.sh$#)
66  (rustup () #$curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y$#)
67  (sbcl-install () #$cd .stash/src/sbcl && INSTALL_ROOT=/usr/local sh install.sh$#)
68  (emacs-install () #$cd .stash/src/emacs && make install$#)
69  (rocksdb-install () #$cd .stash/src/rocksdb && make install-shared &&
70  cp -r include/* /usr/local/include/$#)
71  (stumpwm-install () #$cd .stash/src/stumpwm && make install$#))