Commit Graph

60 Commits

Author SHA1 Message Date
Frithjof ea58a2f9a5
Infer package tarball directory from source url (#687)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-07-08 08:08:56 +02:00
Roman Yurchak fc5495ffdb
Update to Python 3.8.2 (#712)
* Updating to CPython 3.8

* More fixes

* Skip python headers check in tools/dependency-check.sh

* Fix checksum

* Fix packages

* Fix syntax error

* Fix benchmark path

* Update CPython tests

* More test fixes

* Fix PyStone

* More Cpython test fixes

* Update docs

* Fix issue in conftest

* Add documentation

* Upload updated Docker image
2020-07-07 16:21:33 +02:00
Roman Yurchak 9afc7a1617
STY Apply black for code style (#702)
* Apply black

* A few fixes

* Relax flake8 checks

* Exclude tools/file_packager.py from black
2020-06-28 20:24:40 +02:00
Roman Yurchak 0e26ca0642
BLD Build CLAPACK, cpython and lz4 in parallel (#701) 2020-06-28 15:51:46 +02:00
Shyam Saladi 1685e588b4
DOC Fix typo in make_parser (#689) 2020-06-16 23:29:42 +02:00
Frithjof 163ab43b64
Add package version option to mkpkg command (#661) 2020-05-19 23:38:41 +02:00
Roman Yurchak 4dc422e2ab Avoid duplicates in the list of built packages 2020-05-12 12:33:20 +02:00
Roman Yurchak 1fcf5a88f8 Refactor 2020-05-09 12:32:10 +02:00
Roman Yurchak ac2435a607 Fix argparse nargs 2020-05-09 12:24:40 +02:00
Roman Yurchak db5ceca12e Lint 2020-05-09 02:06:22 +02:00
Roman Yurchak ab6d0d9703 Add build-test-minimal CI job 2020-05-09 01:52:25 +02:00
Roman Yurchak 5ba82b81f9 Add mechanism to build a subset of packages 2020-05-09 01:28:44 +02:00
Adam Seering 3ec7849cfe
ENH Upgrade cpython to 3.7.4 (#625) 2020-03-25 12:31:12 +01:00
Adam Seering 7c0cbf61f4
Upgrade cpython to 3.7.3 (#624) 2020-03-18 10:36:50 +01:00
Michael Droettboom 2f2ed8fc26
Upgrade to Python 3.7.2 (#321)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-03-12 13:30:33 +01:00
Adam Seering f71b69bf7c
ENH Upgrade to Python 3.7.1 (#619) 2020-03-11 11:32:30 +01:00
William Lachance 96adc4b82d Fixes/tweaks to the cross-compilation process to accomodate Mac 2019-10-21 12:27:18 -04:00
Jan Max Meyer e1af6fe57c ENH Make local package sources (path) available for meta.yaml (#324) 2019-07-08 20:37:22 +02:00
Michael Droettboom c3c2f10bc5
Loading wheels from PyPI (#147)
* Add micropip

* Remove CORS proxy for metadata

* Update docs

* Support loading a mixture of built-in and PyPI packages
2019-05-03 13:43:31 -04:00
Marc Abramowitz 1d2edf1051 mkpkg: Grab sdist instead of first URL from PyPI (#356)
The first URL from PyPI is often a platform-specific wheel, so it's
better if we prefer to grab a source distribution that we can build with
emscripten.

Before:

```
$ bin/pyodide mkpkg lxml
$ grep 'url: ' packages/lxml/meta.yaml
  url: 951337aa3d28589eccca765c4e17ce/lxml-4.3.2-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
```

After:

```
$ bin/pyodide mkpkg lxml
$ grep 'url: ' packages/lxml/meta.yaml
  url: d070609b410dbf4233659af53fe0ab/lxml-4.3.2.tar.gz
```

Closes: #363.
2019-03-26 12:10:41 -04:00
Michael Droettboom fe8f091d8a
Merge pull request #336 from mdboom/rebuild-package-on-depchange
Automatically rebuild packages if any patches or extra files change
2019-03-14 10:23:28 -04:00
Michael Droettboom 04b7f73718 Clean up the downloaded file if it's corrupted 2019-03-13 15:01:35 -04:00
Michael Droettboom 8f6e1bab09 Automatically rebuild packages if any patches or extra files change 2019-03-13 14:50:18 -04:00
Michael Droettboom 1b867058ab Add a mkpkg tool to make new packages. 2019-02-28 18:43:26 -05:00
Michael Droettboom ec9df315df Fix twice-defined variable 2019-01-25 10:31:59 -05:00
Madhur Tandon a704d5a04b Implement the ABI number functionality.
Modified ``Makefile`` and ``packages/Makefile`` to get ``PYODIDE_PACKAGE_ABI`` from ``Makefile.envs``
Made ``checkABI`` as a public API function.
Modified ``file_packager.py`` to check for the compatible ABI number.
Defined ABI number with which pyodide is built in Makefile.envs
Accepted ABI number in ``file_packager.py`` as an argument.
Modified ``buildpkg.py`` and ``buildall.py`` to account for the new argument.
Added the corresponding ``test_different_ABI`` test.
2019-01-23 00:07:39 +05:30
Michael Droettboom 4d3095ab91 Make bin/pyodide display help rather than crash 2019-01-15 10:09:09 -05:00
Madhur Tandon 4abae985ea Add Documentation + Minor Changes 2018-12-11 13:26:51 +05:30
Madhur Tandon 369ce905c1 Adhere to flake8 2018-12-11 12:55:24 +05:30
Madhur Tandon 0a72c4efd8 Expose Port 8000 for easy testing
Add ``serve`` module as a command line subcommand which enables us to start a server within the docker environment.
This is helpful in testing the ``pyodide`` builds running within the docker environment using external browser
programs of the same machine.
2018-12-11 12:55:24 +05:30
Roman Yurchak 66fe5feb2c Better refactoring 2018-11-15 13:24:27 +01:00
Roman Yurchak fcaad86bdd Use -Os and small INLINING_LIMIT for files liked with LAPACK 2018-11-15 13:24:27 +01:00
Roman Yurchak c992e847b7 Don't inline BLAS/CLAPACK 2018-11-15 13:24:27 +01:00
Roman Yurchak b495ead55b Only include lapack when necessary 2018-11-15 13:22:36 +01:00
Roman Yurchak ccdadc6e93 Move CLAPACK_WA to the root folder 2018-11-15 13:22:36 +01:00
Roman Yurchak 3e1d6348a7 Statically link BLAS/LAPACK 2018-11-15 13:22:36 +01:00
Roman Yurchak 3b906e4b68 More patches 2018-11-15 13:22:36 +01:00
Michael Droettboom b071d37e1a Initial steps toward Scipy support 2018-11-15 13:22:36 +01:00
Michael Droettboom d2067f705b Fix handling of bytecode files 2018-11-08 15:03:30 -05:00
Roman Yurchak a954de100e
Merge pull request #231 from rth/skip-c-extension-build-target
Fix Skip building C extensions for the target env
2018-10-29 18:24:53 +01:00
Roman Yurchak d3b6310140 Better way to pass SKIP_HOST as an environement variable 2018-10-29 13:27:14 +01:00
Roman Yurchak d9b590f518 Define build/skip_host meta.yaml option 2018-10-29 12:52:13 +01:00
Roman Yurchak 0429185745 Fix typo 2018-10-26 19:04:32 +02:00
Roman Yurchak f6bd2170ca Fix string escaping and logging 2018-10-26 18:13:19 +02:00
Roman Yurchak 8ec53afdc7 Remove --old-and-unmanageable with distutils 2018-10-26 18:04:43 +02:00
Roman Yurchak 2bdba761e3 More fixes for f2c 2018-10-26 17:57:59 +02:00
Michael Droettboom 6a5c37799e Add support for transforming Fortran files with f2c 2018-10-26 17:20:42 +02:00
Roman Yurchak c2939bca16 Skip building C extensions for the target
(except for numpy)
2018-10-26 17:00:53 +02:00
Roman Yurchak bb53e36a78 Rename to dryrun, add docstring and doctest 2018-10-23 12:13:59 +02:00
Roman Yurchak 4abdff5187 Add test_pywasmcross.py 2018-10-16 15:41:01 +02:00