changeset 9: |
015c6f7d6e16 |
parent: |
34e87d25f113
|
child: |
fdc215fe9f17 |
author: |
ellis <ellis@rwest.io> |
date: |
Fri, 24 Nov 2023 04:05:51 -0500 |
permissions: |
-rw-r--r-- |
description: |
bundles |
1 ### infra/makefile --- The Compiler Company Infrastructure 3 LINUX_VERSION:=$(shell
uname
-r
| cut
-d-
-f1
) 12 CPU_COUNT:=$(shell
getconf
_NPROCESSORS_ONLN
) 13 HG_COMMIT:=$(shell
hg
id
-i
) 15 VARS:=$(foreach
v,
$(filter-out
$(__
) __,
$(.VARIABLES
)),
"\n$(v
) = $($(v
))") 19 clean:linux-
clean dist-
clean;
22 LINUX_TARGET:=linux-
$(LINUX_VERSION
) 23 linux:$(LINUX_TARGET) linux-
config;
25 $(LINUX_TARGET):scripts/
get-
linux.
sh;
27 gpg
--export
autosigner@
torvalds@
gregkh@
>
build/
$@/keyring.gpg
28 $<
$(LINUX_VERSION
) build
build/
$@/keyring.gpg
29 cd build
&& unxz
$@.tar.xz
&& tar
-xvf
$@.tar
$(LINUX_TARGET
) 30 linux-config:$(LINUX_TARGET);
31 cd build/$<
&& make
mrproper
-j
&& zcat
/proc/config.gz
>
.config
&& make
localmodconfig
32 linux-clean::;
rm -
rf build/
$(LINUX_TARGET)*
35 EMACS_TARGET:=emacs-
$(EMACS_VERSION
) 36 emacs:scripts/
get-
emacs.
sh;
40 ROCKSDB_TARGET:=rocksdb-
$(ROCKSDB_VERSION
) 41 rocksdb:scripts/
get-
rocksdb.
sh;
45 SBCL_TARGET:=sbcl-
$(SBCL_VERSION
) 46 sbcl:scripts/
get-
sbcl.
sh;
50 RUST_TARGET:=rocksdb-
$(ROCKSDB_VERSION
) 51 rust:scripts/
get-
rust.
sh 55 code:scripts/
get-
code.
sh 61 archlinux:virt/
build-
archlinux-
base.
sh 63 fedora:virt/
build-
fedora-
base.
sh 65 box:virt/
build-
box-
base.
sh 67 bbdb:virt/
build-
bbdb-
base.
sh 69 heptapod:virt/
build-
heptapod.
sh 71 heptapod-runner:virt/
build-
heptapod-
runner.
sh 76 the.compiler.company:;
78 cdn.compiler.company:;
79 packy.compiler.company:;
82 dist/code:scripts/
bundle.
sh 88 dist:dist/
code dist/
style 90 dist-clean::;
rm -
rf dist/*