-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Load
hulpke/extraperfect
as lazy artifact (#2432)
- Loading branch information
1 parent
04c90ae
commit 436a22f
Showing
10 changed files
with
66 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[gap_extraperfect] | ||
git-tree-sha1 = "084fa12573e5089ceb3299f9d341f244b415da52" | ||
lazy = true | ||
|
||
[[gap_extraperfect.download]] | ||
sha256 = "e565303927682f54cba20a69b8d23673b9b9d4d2a2bc88751f58ed5d3365e29f" | ||
url = "https://github.com/oscar-system/GAP.jl/releases/download/archive-tag/extraperfect.tar.gz" | ||
# Created from https://github.com/hulpke/extraperfect using | ||
# #!/bin/sh | ||
# export SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) | ||
# rm -rf extraperfect | ||
# mkdir extraperfect | ||
# gzip -9 -n -c perf27.grp > extraperfect/perf27.grp.gz | ||
# gzip -9 -n -c perf33.grp > extraperfect/perf33.grp.gz | ||
# gtar --mtime="$(git log -1 --pretty=%cI)" --owner=0 --group=0 --numeric-owner -cvf extraperfect.tar extraperfect | ||
# gzip -n -c extraperfect.tar > extraperfect.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
include("wrappers.jl") | ||
include("customize.jl") | ||
include("utils.jl") | ||
include("gap_to_oscar.jl") | ||
include("oscar_to_gap.jl") | ||
include("iso_gap_oscar.jl") | ||
include("iso_oscar_gap.jl") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
function _write_gap_file(relpath::String, content::String) | ||
gaproot = GAP.Setup.gaproot() | ||
path = joinpath(gaproot, relpath) | ||
mkpath(dirname(path)) | ||
# write to a temporary file and move later to avoid race conditions | ||
tmpfile = tempname(dirname(path); cleanup=false) | ||
open(tmpfile, "w") do file | ||
write(file, content) | ||
end | ||
Base.Filesystem.rename(tmpfile, path) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters