Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove generated files from archive and ignore them now #1092

Merged
merged 2 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ checker/src/wf.mli
/safechecker/_PluginProject
/safechecker/_CoqProject
/template-coq/_CoqProject
/template-coq/_PluginProject
/template-coq/_TemplateCoqProject
/common/_CoqProject
/safechecker/Makefile.safechecker.conf
/safechecker/Makefile.safechecker
Expand Down
2 changes: 1 addition & 1 deletion erasure-plugin/clean_extraction.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi

shopt -s nullglob # make the for loop do nothnig when there is no *.ml* files

files=`cat ../template-coq/_PluginProject | grep "^[^#].*mli\?$" | sed -e s/gen-src/src/`
files=`cat ../template-coq/_PluginProject.in | grep "^[^#].*mli\?$" | sed -e s/gen-src/src/`

if [[ ! -f "src/metacoq_erasure_plugin.cmxs" ||
"src/metacoq_erasure_plugin.cmxs" -ot "theories/Extraction.vo" ]]
Expand Down
2 changes: 1 addition & 1 deletion pcuic/clean_extraction.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ shopt -s nullglob # make the for loop do nothnig when there is no *.ml* files

echo "Cleaning result of extraction"

files=`cat ../template-coq/_PluginProject ../checker/_PluginProject.in | grep "^[^#].*mli\?$" | sed -e s/gen-src/src/`
files=`cat ../template-coq/_PluginProject.in ../checker/_PluginProject.in | grep "^[^#].*mli\?$" | sed -e s/gen-src/src/`

cd src
# Move extracted modules to build the certicoq compiler plugin
Expand Down
2 changes: 1 addition & 1 deletion safechecker-plugin/clean_extraction.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi

shopt -s nullglob # make the for loop do nothnig when there is no *.ml* files

files=`cat ../template-coq/_PluginProject | grep "^[^#].*mli\?$" | sed -e s/gen-src/src/`
files=`cat ../template-coq/_PluginProject.in | grep "^[^#].*mli\?$" | sed -e s/gen-src/src/`

if [[ ! -f "src/metacoq_safechecker_plugin.cmxs" ||
"src/metacoq_safechecker_plugin.cmxs" -ot "theories/Extraction.vo" ]]
Expand Down
252 changes: 0 additions & 252 deletions template-coq/_PluginProject

This file was deleted.

32 changes: 0 additions & 32 deletions template-coq/_TemplateCoqProject

This file was deleted.

2 changes: 1 addition & 1 deletion translations/param_binary.v
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Fixpoint tsl_rec1_app (app : list term) (E : tsl_table) (t : term) : term :=
| tFix _ _ | tCoFix _ _ => todo "tsl"
| tVar _ | tEvar _ _ => todo "tsl"
| tLambda _ _ _ => tVar "impossible"
| tInt _ | tFloat _ | tArray _ _ _ _ => todo "tsl"
| tInt _ | tFloat _ | tArray _ _ _ _ | tString _ => todo "tsl"
end
in apply app t1
end.
Expand Down
2 changes: 1 addition & 1 deletion translations/param_original.v
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Fixpoint tsl_rec1_app (app : option term) (E : tsl_table) (t : term) : term :=
| tFix _ _ | tCoFix _ _ => todo "tsl"
| tVar _ | tEvar _ _ => todo "tsl"
| tLambda _ _ _ => tVar "impossible"
| tInt _ | tFloat _ | tArray _ _ _ _ => todo "tsl"
| tInt _ | tFloat _ | tArray _ _ _ _ | tString _ => todo "tsl"
end in
match app with Some t' => mkApp t1 (t' {3 := tRel 1} {2 := tRel 0})
| None => t1 end
Expand Down
Loading