-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.sls.in
More file actions
45 lines (35 loc) · 978 Bytes
/
config.sls.in
File metadata and controls
45 lines (35 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
;; -*- mode: scheme; coding: utf-8 -*-
;; SPDX-License-Identifier: EUPL-1.2+
;; This file is a part of Loko Scheme, an R6RS Scheme system
;; Copyright © 2019-2020 Gwen Weinholt
#!r6rs
;;; Global compile-time configuration
(library (loko config)
(export
config-target-cpu
config-target-kernel
config-max-cpus
config-library-path
config-source-path
config-gdb-auto-load-path
loko-version)
(import
(rnrs)
(loko runtime parameters))
;; This is the target the system will be running on.
(define config-target-cpu
(make-parameter 'amd64))
(define config-target-kernel
(make-parameter '@DEFAULT_TARGET@))
(define (config-max-cpus)
16)
(define (config-library-path)
'("@PREFIX@/share/r6rs"))
;; Loko's source code will be installed here for use by (loko compiler
;; static).
(define (config-source-path)
"@PREFIX@/lib/loko")
(define (loko-version)
"@VERSION@")
(define (config-gdb-auto-load-path)
"@GDB_AUTOLOAD_PATH@"))