7 Commits

Author SHA1 Message Date
Bruno Macabeus 124c668acb Fix local environment for ARM-based hosts (#1420)
* compile `psycopg2` locally

* build cffi locally

* disable `USE_SANDBOX_JAIL` by default

* ignore `regedit` block if it is not necessary

* run `poetry lock`

* remove unnecessary changes

* revert unnecessary changes
2025-01-28 21:18:07 +00:00
Mark Street a0caef8070 Add registry hack for msvc8.0 (#1309) 2024-08-01 20:59:57 +01:00
Robin Lambertz d0a85112d7 No podman in compilers download (#874)
* Update poetry to 1.6.1

* Don't use podman/docker to download compilers

* Fixup docker test

* Actually fix docker tests

* Use debug level when failing to get image manifest

---------

Co-authored-by: Mark Street <22226349+mkst@users.noreply.github.com>
2023-10-04 10:04:09 +09:00
Robin Lambertz e1c33d47d3 Support libraries in decomp.me (#843)
* Add script to download libraries, and download directx

* Add libraries endpoint

* Allow compiling with a library

* Add new libraries tab in frontend

* Add libraries support in CI

* Better look for the libraries

* Give pretty names to libraries

* Move Libraries to live under CompilerOpts

* typechecking hackery

* Make libraries trigger autorecomp and set the unsaved flag

* Fix libraryVersions

* Add new libraries download script to CI, docker and docs

---------

Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2023-09-30 14:54:40 +09:00
Mark Street 4a2eabb345 Overhaul download py (#855)
* Add translations for ps1/maspsx compiler set

* Tell clang to compile and not link to remove need for lld binary

* Assume msdos assembler lives on PATH

* Overhaul download.py

* Attempt to fix docker ci

* Appease black

* Whoops, don't forget to detach

* Fix path to download.py

* fix perms (hack?)

* Add --platforms and --compilers args to download.py

* Try out --compiler dir arg for docker in ci

* Try to ignore that 500 error about image manifests

* it's --compilerS-dir

* Try again

* Try building our own podman (fallback to vfs when rootless)

* install distro 'podman' to get configuration (fixes fuse)

* mount /dev/fuse in ci

* dumb bugfix, .download_cache

* split compilers config out of download.py

* update poetry.lock

* Add psyq3.3 + psyq4.4 and migrate psyq4.3 scratches to psyq4.4

* docker_entrypoint.sh cleanup

* Try to protect against 'locating item named "manifest" for image with ID'

* better podman sanity check

* appease black

* use 'requests.get()' to grab remote image digest

* Update compilers repo to 'decompme/compilers'

* Fix description for psyq3.6
2023-09-20 16:37:35 +09:00
Ethan Roseman 36d1f1d706 Poetry (#366)
* Trying to set up poetry

* oops

* mypy python 3.9

* mark

* blah

* attempt to fix stuff

* .

* fixies

* try winders again

* doqqer

* tomorrow for sure!

* attempt to install poetry as user

* help

* docker fix?

* ?

* try thing

* oh god

* the path to victory

* meowp

* srob

* try to do it manually on windows, install on docker

* try to do it manually on windows, install on docker: the sequel

* winders

* drf extensions

* winders 2

* use pip to install poetry on winders

* execute 'poetry install' at runtime, same as yarn install (#377)

Co-authored-by: Mark Street <22226349+mkst@users.noreply.github.com>
2022-02-20 22:46:00 +09:00
Mark Street c369e860dc Adding docker-compose.yaml 2021-08-03 19:14:06 +01:00