Auxolotl Laboratories, a home for all our mad science experiments
Find a file
Victor Fuentes 4e4b9366a4 feat: dynamic cross compiler (#14)
This pr adds initial support for creating a cross-compile tool chain for arbitrary architectures. For now only `aarch64`  and `riscv64` are implemented, but simlpy adding another architecture to the list of supported platforms in each package should mostly work with minimal patches.
In order to build native gcc for aarch64, you can run
```
nix-build --expr '((import ./tidepool).packages.foundation.gcc.versions."13.2.0-stage4".package.extend { platform = { build = "aarch64-linux"; host = "aarch64-linux"; target = "aarch64-linux"; }; }).package'
```
or
```
nix-build tidepool -A packages.foundation.gcc.latest.packages.aarch64-linux.aarch64-linux.aarch64-linux
```
Running this command:
- Uses [foundation](https://git.auxolotl.org/auxolotl/foundation) to bootstrap i686 gcc
- Incrementally bootstraps x86_64 gcc from i686
- Runs through the same incremental process, but this time using x86_64 gcc we previously built to bootstrap aarch64
- Build the final native aarch64 gcc

Co-authored-by: Jake Hamilton <jake.hamilton@hey.com>
Reviewed-on: auxolotl/labs#14
Reviewed-by: Jake Hamilton <jake.hamilton@hey.com>
Co-authored-by: Victor Fuentes <vlinkz@snowflakeos.org>
Co-committed-by: Victor Fuentes <vlinkz@snowflakeos.org>
2025-09-08 20:08:35 +00:00
tidepool feat: dynamic cross compiler (#14) 2025-09-08 20:08:35 +00:00
.editorconfig feat: passthrough foundation 2025-08-25 01:37:11 -07:00
.gitignore feat: passthrough foundation 2025-08-25 01:37:11 -07:00
format.sh refactor: format 2024-07-09 01:49:44 -07:00
LICENSE chore: initial commit 2024-06-01 04:00:53 -07:00
README.md chore(foundation): remove foundation from labs 2025-03-30 06:55:20 -07:00

Aux Labs

Welcome to Aux Labs! Complimentary beakers and companion cubes are available in the gift shop.

The Aux Laboratory is a place for experimentation. Here you will find novel solutions for problems in the Aux world. These experiments are not intended to be used by anyone yet due to their highly unstable nature. However, we have decided to publish them here together so that members of the community may collaborate.

Note

This repository is a part of Aux's early ad-hoc structure. In the future we will be moving to a standardized Aux Enhancement Proposal (AEP) format.

Experiment Phases

Phase Description
Idea An idea exists to solve a problem we currently have with Aux. Send a pull request to this repository creating a new directory for your experiment. The directory should contain a README.md file explaining the purpose of the experiment.
Iteration Work on the experiment is done to solve for unknowns and come up with a good solution for the original problem. It may also be helpful to collaborate with others for feedback.
Proposal The experiment has been satisfactorily completed and is ready to be considered for official adoption by the project. Discussion with the relevant Special Interest Group should take place to handle the transition of the project out of the lab and into its own repository.
Adoption The experiment has been adopted and is now a part of Aux! The experiment should be moved to its own repository and the original experiment directory should be deleted.

Experiments

Name Phase Description
Aux Tidepool Idea An initial package set built on top of Aux Foundation using Aux Lib's module system.