GithubHelp home page GithubHelp logo

Comments (4)

deplinenoise avatar deplinenoise commented on August 10, 2024

This is very similar to #20, but with a twist.

from tundra.

jsvennevid avatar jsvennevid commented on August 10, 2024

+1 on this, since we'll mix the use of EE and IOP toolchains in the future. :)

from tundra.

deplinenoise avatar deplinenoise commented on August 10, 2024

Here's one way to implement this that seems clean:

  • Have configs in tundra.lua list SubConfigs that they can need to build stuff with. This covers both cross-compilation (need to use a toolset compatible with the host) and SPU/PPU case (just two different C compilers really)
  • In boot.lua, create base environment and load tools for all subconfigs too
  • When generating nodes, decide on what base environment to use depending on the requirements of the program. This can be done either with plain filtering or with some other tagging mechanism.

from tundra.

deplinenoise avatar deplinenoise commented on August 10, 2024

Cross-compilation and multiple toolsets per config.

  • Added SubConfigs concept that lets a configuration specify that it is the union of several other configurations.
  • Added Virtual property to configuration to flag that they cannot be built directly. For example, for a PS3 setup you would need three nested configs, a host config to compile tools with, a PPU config and an SPU config. These three would be marked virtual.
  • Added HOSTPROGSUFFIX, HOSTSHLIBSUFFIX to be used in cross-compilation scenarios when running tools.

Closed by 277d6ca (Support multiple C toolsets in same build (e.g. SPU and PPU))
Closed by 277d6ca (Support for cross-compilation)

from tundra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.