Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Compiler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fresco
Capla
Compiler
Commits
6fd3d702
Commit
6fd3d702
authored
2 months ago
by
Josué Moreau
Browse files
Options
Downloads
Patches
Plain Diff
update flake and frontend
parent
44370fa3
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bfrontend
+1
-1
1 addition, 1 deletion
bfrontend
driver/Driver.ml
+1
-1
1 addition, 1 deletion
driver/Driver.ml
flake.nix
+12
-25
12 additions, 25 deletions
flake.nix
with
14 additions
and
27 deletions
bfrontend
@
ab6bc96d
Compare
ca75e0e4
...
ab6bc96d
Subproject commit
ca75e0e44e775
6d0c
63c0a187dd2ed615e458995
Subproject commit
ab6bc9
6d
b
0c
f6d24f96722b8d5495a9e9a5adcfc
This diff is collapsed.
Click to expand it.
driver/Driver.ml
+
1
−
1
View file @
6fd3d702
...
...
@@ -47,7 +47,7 @@ let b_error_msg (s: string) : Errors.errcode =
Errors
.
MSG
(
Camlcoq
.
coqstring_of_camlstring
s
)
let
parse_b_file
(
ifile
:
string
)
:
Syntax
.
program
=
let
p
=
ParserWithErrors
.
parse
ifile
in
let
p
=
ParserWithErrors
.
parse
ifile
ifile
in
let
builtins
=
List
.
map
(
fun
(
name
,
ef
)
->
(
Camlcoq
.
intern_string
name
,
ef
)
...
...
This diff is collapsed.
Click to expand it.
flake.nix
+
12
−
25
View file @
6fd3d702
...
...
@@ -2,49 +2,36 @@
inputs
=
{
nixpkgs
.
url
=
"github:nixos/nixpkgs/nixos-24.11"
;
flake-utils
.
url
=
"github:numtide/flake-utils"
;
# compcert-capla.url =
# "git+ssh://git@gitlab.inria.fr/fresco/capla/compiler?submodules=1&ref=master-merge-test";
# compcert-capla.flake = false;
capla
=
{
url
=
"git+file:./bfrontend"
;
};
};
outputs
=
{
self
,
nixpkgs
,
flake-utils
}:
outputs
=
{
self
,
nixpkgs
,
flake-utils
,
capla
}:
with
flake-utils
.
lib
;
eachSystem
defaultSystems
(
system
:
let
pkgs
=
import
nixpkgs
{
system
=
"x86_64-linux"
;
config
.
allowUnfree
=
true
;
};
# compcert-mod = pkgs.compcert.overrideAttrs (oA: {
# src = compcert-capla;
# });
in
rec
{
# devShell = pkgs.mkShell {
# nativeBuildInputs = with pkgs; [
# compcert-mod
# coq ocaml
# ocamlPackages.findlib
# ocamlPackages.menhir
# ocamlPackages.menhirLib
# coqPackages.MenhirLib
# coqPackages.flocq
# lapack
# clang
# bash
# gcc
# ];
# };
devShell
=
pkgs
.
coqPackages
.
mkCoqDerivation
{
pname
=
"compcert"
;
owner
=
"compcert"
;
version
=
"1.0.0"
;
version
=
"1.0.0"
;
src
=
./.
;
hardeningDisable
=
[
"fortify"
];
propagatedBuildInputs
=
(
with
pkgs
;
[
gcc
clang
gnumake
gmp
(
blas-reference
.
override
{
blas64
=
true
;
})
])
++
(
with
pkgs
.
coqPackages
.
coq
.
ocamlPackages
;
[
ocaml
menhir
menhirLib
findlib
ocaml-lsp
dot-merlin-reader
])
++
(
with
pkgs
.
coqPackages
;
[
coq
coq
coq-lsp
MenhirLib
flocq
mathcomp-ssreflect
mathcomp-algebra
mathcomp-zify
]);
};
});
}
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