Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Guix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
ogs
inf
Guix
Commits
99b340f5
Unverified
Commit
99b340f5
authored
5 years ago
by
Jan Nieuwenhuizen
Browse files
Options
Downloads
Patches
Plain Diff
gnu: Add m2-planet.
* gnu/packages/mes.scm (m2-planet): New variable.
parent
5a17042e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gnu/packages/mes.scm
+35
-0
35 additions, 0 deletions
gnu/packages/mes.scm
with
35 additions
and
0 deletions
gnu/packages/mes.scm
+
35
−
0
View file @
99b340f5
...
@@ -204,3 +204,38 @@ (define-public mescc-tools
...
@@ -204,3 +204,38 @@ (define-public mescc-tools
((
#
:make-flags
_
)
((
#
:make-flags
_
)
`
(
list
(
string-append
"PREFIX="
(
assoc-ref
%outputs
"out"
))
`
(
list
(
string-append
"PREFIX="
(
assoc-ref
%outputs
"out"
))
"CC=gcc"
))))))
"CC=gcc"
))))))
(
define-public
m2-planet
(
let
((
commit
"b87ddb0051b168ea45f8d49a610dcd069263336a"
)
(
revision
"2"
))
(
package
(
name
"m2-planet"
)
(
version
(
string-append
"1.4.0-"
revision
"."
(
string-take
commit
7
)))
(
source
(
origin
(
method
git-fetch
)
(
uri
(
git-reference
(
url
"https://github.com/oriansj/m2-planet.git"
)
(
commit
commit
)))
(
file-name
(
git-file-name
name
version
))
(
sha256
(
base32
"0yyc0fcbbxi9jqa1n76x0rwspdrwmc8g09jlmsw9c35nflrhmz8q"
))))
(
native-inputs
`
((
"mescc-tools"
,
mescc-tools
)))
(
build-system
gnu-build-system
)
(
arguments
`
(
#
:make-flags
(
list
(
string-append
"PREFIX="
(
assoc-ref
%outputs
"out"
)))
#
:tests?
#f
#
:phases
(
modify-phases
%standard-phases
(
delete
'bootstrap
)
(
delete
'configure
))))
(
synopsis
"The PLAtform NEutral Transpiler"
)
(
description
"M2-Planet, the PLAtform NEutral Transpiler, when combined with
mescc-tools, compiles a subset of the C language into working binaries with
introspective steps inbetween. It is self-hosting and for bootstrapping it
also has an implementation in the M1 macro assembly language. M2-Planet is
built as Phase-5 of the full source bootstrapping process and is capable of
building GNU Mes."
)
(
home-page
"https://github.com/oriansj/m2-planet"
)
(
license
gpl3+
))))
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