Skip to content

Some novice fibs questions #43

@hoglet67

Description

@hoglet67

Hi Floooh,

I'm trying to update the AtoMMC changes I did (in back 2019) to your chips/chips-test Atom emulator to run against your latest code base.

(these changes are currently parked in my chips/chips-test fork on a branch called atommc_2019)

I have a couple of fibs questions, if you have a moment.

  1. How to I pass configuration parameters down to the emscripten compiler?

In the old fips world, this was done in:

fips-files/configs/wasm-ninja-debug.yml
fips-files/configs/wasm-ninja-release.yml

I'm looking for the equivalent of:

FIPS_EMSCRIPTEN_USE_FS: ON
FIPS_EMSCRIPTEN_TOTAL_MEMORY: 67108864
FIPS_EMSCRIPTEN_USE_CLOSURE: ON
  1. Is there any way to make an import reference a specific branch?
    c.addImport({
        name: 'chips',
        url: 'https://github.com/hoglet67/chips',
    });

I'd like to use atommc_2026 rather than having to do all my work on master.

  1. Is there any way to make an import reference a local git repository, so I don't need to commit before I can build?

Specifically, I'd like to just point the chips import at ../chips and check this out manually.

Many thanks,

Dave

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions