This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag '9.2.beta13' into t/29500/install_all_python_packages_via_p…
…ip_wheel__create_pep_503_simple_repository_for_wheels SageMath version 9.2.beta13, Release Date: 2020-09-21
- Loading branch information
Showing
210 changed files
with
9,369 additions
and
3,091 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
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,59 @@ | ||
name: Build & Test WSL | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
windows: | ||
runs-on: windows-latest | ||
name: Windows (using WSL) | ||
# Following https://trac.sagemath.org/ticket/25206#comment:63 | ||
steps: | ||
- name: Configure git | ||
run: git config --global core.symlinks true | ||
- uses: actions/checkout@v2 | ||
- name: Install Ubuntu 20.04 (in WSL) | ||
run: | | ||
(New-Object System.Net.WebClient).DownloadFile("https://aka.ms/wslubuntu2004", "Ubuntu.appx") | ||
Expand-Archive Ubuntu.appx | ||
Ubuntu\ubuntu2004.exe install --root | ||
- name: Install dependencies | ||
run: | | ||
Function ExtractPackages | ||
{ | ||
param($path) | ||
@(Get-Content $path | Where-Object { !$_.StartsWith("#") }) | ||
} | ||
$packages = Get-ChildItem build/pkgs -recurse -Include debian.txt, debian-bootstrap.txt | foreach-object { ExtractPackages $_.FullName } | sort -Unique | ||
# Add tox which is use to build | ||
$packages += 'tox' | ||
echo "Install the following packages:" @packages | ||
# Add deadsnakes so that libpython3.7-dev is found | ||
& wsl sudo add-apt-repository ppa:deadsnakes/ppa | ||
# Install | ||
& wsl sudo apt-get update -y | ||
& wsl sudo apt-get install -y @packages | ||
- name: Build | ||
run: wsl tox -e local -- SAGE_NUM_THREADS=4 build | ||
env: | ||
# WSL runs everything as root, so we have to enable build as root user | ||
EXTRA_CONFIGURE_ARGS: "--enable-build-as-root" | ||
# If make is invoked in parellel (i.e. with -jN where N > 1), then we sometimes run into errors for some reason | ||
# So keep N small in order to minimize the risk | ||
MAKE: "make -j2" | ||
WSLENV: EXTRA_CONFIGURE_ARGS:MAKE | ||
- name: Test | ||
run: wsl tox -e local -- SAGE_NUM_THREADS=4 ptest | ||
- name: Prepare logs artifact | ||
run: mkdir -p "artifacts/logs"; cp -r .tox/*/log "artifacts/logs" | ||
shell: bash | ||
if: always() | ||
- uses: actions/upload-artifact@v1 | ||
with: | ||
path: artifacts | ||
name: logs | ||
if: always() | ||
- name: Print out logs for immediate inspection | ||
# and markup the output with GitHub Actions logging commands | ||
run: .github/workflows/scan-logs.sh "artifacts/logs" | ||
shell: bash | ||
if: always() |
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 +1 @@ | ||
SageMath version 9.2.beta12, Release Date: 2020-09-06 | ||
SageMath version 9.2.beta13, Release Date: 2020-09-21 |
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 +1,2 @@ | ||
libbrial-dev libbrial-groebner-dev | ||
libbrial-dev | ||
libbrial-groebner-dev |
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 +1,2 @@ | ||
libcdd-dev libcdd-tools | ||
libcdd-dev | ||
libcdd-tools |
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 +1,2 @@ | ||
cliquer libcliquer-dev | ||
cliquer | ||
libcliquer-dev |
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,4 +1,4 @@ | ||
tarball=configure-VERSION.tar.gz | ||
sha1=d0347cf03ace1769091098cfcb0e8e4e5417f031 | ||
md5=ff6158c08cb696e21b8621a657647a14 | ||
cksum=1298150702 | ||
sha1=e8cac32102815b6ff83bbb455c5d4cacc5b4ee8f | ||
md5=caa431f870eb76bf36b0bfd47a01ba5d | ||
cksum=2384868099 |
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 +1 @@ | ||
5efa8df9cd13231bf53759c11b6910106992b7d4 | ||
85a3dc5389b6670934938f705a9366b4ba8573b8 |
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 +1,2 @@ | ||
curl libcurl4-openssl-dev | ||
curl | ||
libcurl4-openssl-dev |
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,2 +1,6 @@ | ||
# Packages needed for ./bootstrap | ||
gettext autoconf automake libtool pkg-config | ||
gettext | ||
autoconf | ||
automake | ||
libtool | ||
pkg-config |
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
42 changes: 42 additions & 0 deletions
42
build/pkgs/ecl/patches/ecl-configure-include-stdlib-h.patch
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,42 @@ | ||
--- a/src/configure 2020-04-24 03:54:52.000000000 -0700 | ||
+++ b/src/configure 2020-09-17 14:47:48.000000000 -0700 | ||
@@ -2046,6 +2046,7 @@ | ||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
/* end confdefs.h. */ | ||
$4 | ||
+#include <stdlib.h> | ||
int | ||
main () | ||
{ | ||
@@ -2059,6 +2060,7 @@ | ||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
/* end confdefs.h. */ | ||
$4 | ||
+#include <stdlib.h> | ||
int | ||
main () | ||
{ | ||
@@ -7421,6 +7423,7 @@ | ||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
/* end confdefs.h. */ | ||
#include <stdio.h> | ||
+#include <stdlib.h> | ||
int main() { | ||
const char *int_type; | ||
int bits; | ||
@@ -7709,6 +7712,7 @@ | ||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
/* end confdefs.h. */ | ||
#include <stdio.h> | ||
+#include <stdlib.h> | ||
int main() { | ||
const char *int_type; | ||
int bits; | ||
@@ -8004,6 +8008,7 @@ | ||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
/* end confdefs.h. */ | ||
#include <stdio.h> | ||
+#include <stdlib.h> | ||
int main() { | ||
FILE *f = fopen("conftestval","w"); | ||
int c1, c2; |
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 +1,2 @@ | ||
gmp-ecm libecm-dev | ||
gmp-ecm | ||
libecm-dev |
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 +1 @@ | ||
7.0.4.p1 | ||
7.0.4.p2 |
Oops, something went wrong.