Skip to content

y-scope/clp-ffi-js

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4108398 · Nov 6, 2024

History

55 Commits
Oct 3, 2024
Nov 6, 2024
Oct 4, 2024
Oct 4, 2024
Aug 23, 2024
Nov 6, 2024
Aug 17, 2024
Oct 7, 2024
Oct 7, 2024
Oct 7, 2024
Oct 7, 2024
Oct 10, 2024

Repository files navigation

clp-ffi-js is a JavaScript FFI library for CLP. It currently supports decoding log events from CLP IR streams. Other CLP features are being added incrementally.

You can use GitHub issues to request features or report bugs.

Building

Requirements

  • CMake 3.16 or higher
  • GNU Make
  • Python 3
  • Task 3.38.0 or higher

Setup

Initialize and update submodules:

git submodule update --init --recursive

Common build commands

To build the project:

task

To clean the build:

task clean

Contributing

Follow the steps below to develop and contribute to the project.

Set up

Before opening the project in an IDE, run the commands below.

Download and install emscripten:

task emsdk

Set up the config files for our C++ linting tools:

task lint:cpp-configs

Linting

Before submitting a pull request, ensure you’ve run the linting commands below and either fixed any violations or suppressed the warning.

To run all linting checks:

task lint:check

To run all linting checks AND automatically fix any fixable issues:

task lint:fix

Running specific linters

The commands above run all linting checks, but for performance you may want to run a subset (e.g., if you only changed C++ files, you don't need to run the YAML linting checks) using one of the tasks in the table below.

Task Description
lint:cpp-check Runs the C++ linters (formatters and static analyzers).
lint:cpp-fix Runs the C++ linters and fixes some violations.
lint:cpp-format-check Runs the C++ formatters.
lint:cpp-format-fix Runs the C++ formatters and fixes some violations.
lint:cpp-static-check Runs the C++ static analyzers.
lint:cpp-static-fix Runs the C++ static analyzers and fixes some violations.
lint:yml-check Runs the YAML linters.
lint:yml-fix Runs the YAML linters and fixes some violations.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published