mirror of
https://github.com/Interlisp/maiko.git
synced 2026-03-01 01:29:28 +00:00
44a4a4c42c23e8c49f47db0cab0fa3b65bb18dfe
* Start cygwin-sdl builds: first pass at buildCygwinBuilderImage workflow. Add makefile-cygwin.x86_64-sdl. * WIP Dockerfile_cygwin_builder * First pass of complete cygwin-sdl build workflow * Fix indent error in buildCygwinBuilderImage.yml * fix incorrect use of github token in buildCygwinBuilderImage.yml * fix incorrect use of --build-arg in buildCygwinBuilderImage. * fix incorrect docker build statement in buildCygwinBuilderImage. * make docker tag lowercase since apparently Wiondows docker doesn't like uppercase tags in buildCygwinBuilderImage. * fix quotiing on last commit in buildCygwinBuilderImage. * fix download output location for SDL2 in buildCygwinBuilderImage. * Add windows/cygwin build to buildRelease workflow * Fix typos in buildRelease workflow * Fix more typos in buildRelease workflow * Debugging per-system if statements buildRelease workflow * Debugging per-system if statements buildRelease workflow #2 * Debugging per-system if statements buildRelease workflow #3 * Fix checkout actions step to use powershell-sims not bash-isms in Windows job * Fix Docker_env step to use powershell-isms not bash-isms in Windows job * Fix Docker_env step to use powershell-isms not bash-isms in Windows job #2 * Fix Docker_env step to use powershell-isms not bash-isms in Windows job #3 * Revamp cygwin build to use docker build instead of docker buildxx because buildx seems to not like windows containers * Fix some line split nonsense * Fix typo in last commit * Add proper repo info to Dockerfile_cygwin_maiko * More debugging * Revamp how cygwin-sdl is built - now build directly on runner and not via a Dcokerfile and docker. * Fix typo * Fix retrieve of sdl2 * Fix set up release tag action to ake account of the fact that Maiko has been checked out to cygwin\maiko instead of top level workspace * Fix set up release tag action to ake account of the fact that Maiko has been checked out to cygwin\maiko instead of top level workspace #2 * Fix set up release tag action to ake account of the fact that Maiko has been checked out to cygwin\maiko instead of top level workspace #3 * Cleanup build maiko step * Prevent git from messing uo line endings on checkout * Fix copy of cygwin.x86_64 dir to relesase tars * Set execute bit of (almost) all files in release tar; rearrange build step to use cyugwin bash as the shell * Fix rearrange build step to use cyugwin bash as the shell * Try a different way of rearrange build step to use cyugwin bash as the shell * Fix typo * When cygwin bash as shell did not work; reverting to brute-force way * Hopefully fix release push not getting tar file * Cygwin-sdl build working; remove debugging code * Remove wrokflow files associated with abandoned attempts at building cygwin via docker --------- Co-authored-by: Frank Halasz <fghalasz@interlisp.org>
Maiko
Maiko is the implementation of the Medley Interlisp virtual machine, for a byte-coded Lisp instruction set and some low-level functions for connecting with Lisp for access to display (via X11) and disk etc.
For an overview, see Medley Interlisp Introduction.
See the Medley repository for
- Issues (note that maiko issues are there too)
- Discussions (Q&A, announcements, etc)
- Medley's README
Bug reports, feature requests, fixes and improvements, support for additional platforms and hardware are all welcome.
Development Platforms
We are developing on FreeBSD, Linux, macOS, and Solaris currently on arm7l, arm64, PowerPC, SPARC, i386, and x86_64 hardware.
Building Maiko
Building requires clang, make, X11 client libraries (libx11-dev). For example,
$ sudo apt update
$ sudo apt install clang make libx11-dev
$ cd maiko/bin
$ ./makeright x
- The build will (attempt to) detect the OS-type and cpu-type. It will build binaries
ldeandldexin../ostype.cputype(with .o files in..ostype.cputype-x. For example, Linux on a 64-bit x86 will uselinux.x86_64, while macOS 11 on a (new M1) Mac will usedarwin.aarch64. - If you prefer using
gccoverclang, you will need to edit the makefile fragment for your configuration (makefile-ostype.cputype-x) and comment out the line (with a #) that definesCCforclangand uncomment the line (delete the #) for the line that definesCCforgcc. - There is a cmake configuration (TBD To Be Described here).
Building For macOS
- Running on macOS requires an X server, and building on a Mac requires X client libraries. An X-server for macOS (and X11 client libraries) can be freely obtained at https://www.xquartz.org/releases
Building for Windows 10
Windows 10 currently requires "Docker for Desktop" or WSL2 and a (Windows X-server). See Medley's README for more.
Description
Languages
C
95.6%
Assembly
3.4%
CMake
0.5%
Shell
0.3%
sed
0.2%