diff --git a/_layouts/releases.html b/_layouts/releases.html new file mode 100644 index 00000000..91a48f0e --- /dev/null +++ b/_layouts/releases.html @@ -0,0 +1,149 @@ +--- +layout: start +--- +

GAP {{ page.version }}

+ +{% capture anchor %}gap-{{page.version | replace: ".", ""}}-{{ page.date | date: "%B %Y" | downcase | replace: " ","-" }}{% endcapture %} +{% assign version-safe = page.version | replace: ".", "-" %} + +

+For an overview of changes in GAP {{page.version}} +see CHANGES.md file. +

+ +{% if site.data.assets contains version-safe %} + +{% assign unix_assets = "" | split: ',' %} +{% assign windows_assets = "" | split: ',' %} + +{% capture gap_prefix %}gap-{{ page.version }}{% endcapture %} +{% assign len = gap_prefix | size %} + +{% for asset in site.data.assets[version-safe] %} + {% assign asset_prefix = asset.name | slice: 0, len %} + {% if asset_prefix == gap_prefix %}{% unless asset.name contains "-core" %} + {% assign asset_suffix = asset.name | split: "" | reverse | join: "" | slice: 0, 4 %} + {% if asset_suffix == "exe." %} + {% assign windows_assets = windows_assets | push: asset %} + {% else %} + {% assign unix_assets = unix_assets | push: asset %} + {% endif %} + {% endunless %}{% endif %} +{% endfor %} + + +{% if unix_assets.size > 0 %} +

Linux and macOS

+ +

+Download one of the gap-{{page.version}}.* archives below, unpack +it and run ./configure && make in the unpacked directory. +Then change to the pkg subdirectory and call +../bin/BuildPackages.sh to run the script which will build most of +the packages that require compilation (provided sufficiently many libraries, +headers and tools are available). For further details, see here. Expert users can find the description +of all installation options in the + + INSTALL.md file. +

+ + + + + + + +{% for asset in unix_assets %} + + + + + +{% endfor %} +
+ {{ asset.name }} + {{ asset.bytes | divided_by: 1048576 }} MBsha256: {{ asset.sha256 }}
+ +

+You may also consider one of the +alternative distributions. +Note, however, that these are updated independently and may not yet +provide the latest GAP release. +

+{% endif %} + + +{% if windows_assets.size > 0 %} +

Windows

+ +

+For users of Windows 10, we strongly recommend using GAP via the +Windows Subsystem + for Linux. +

+ +

+Otherwise, we recommend the use of the following .exe +installer{% if windows_assets.size > 1 %}s{% endif %}, +which contains {% if windows_assets.size == 1 %}64-bit{% endif %} +binaries for GAP (compiled with the support of GMP and +readline libraries) and for selected GAP packages, and provides the standard +installation procedure. +{% if windows_assets.size > 1 %} + +Both 32-bit (x86) and 64-bit (x86_64) versions are +available. For almost all users, 64-bit GAP is by far the better choice. +Please note that the provision of 32-bit Windows installers is likely to be +dropped from GAP releases in the near future. +

+{% else %} + +

+Note that the path to the GAP directory should not contain spaces. For example, +you may install GAP in C:\gap-{{page.version}} (default), +D:\gap-{{page.version}} or +C:\Math\GAP\gap-{{page.version}}, but you must not install it in a +directory named like C:\Program files\gap-{{page.version}} or +C:\Users\alice\My Documents\gap-{{page.version}} etc. +

+{% endif %} + + + + + + + + +{% for asset in windows_assets %} + + + + + +{% endfor %} +
+ {{ asset.name }} + {{ asset.bytes | divided_by: 1048576 }} MBsha256: {{ asset.sha256 }}
+{% endif %} + +{% endif %} + + +{{ content }} + + +{% unless page.version == "4.5.6" or page.version == "4.5.4" %} +

Packages included in this release

+ +

+Each of the GAP {{page.version}} archives contains +the core GAP system (the source code, +data libraries, regression tests and +documentation), and the following selection of +packages: +

+{% endunless %} + +{% include release_list_packages.html version=page.version %}