Skip to content

build llvm in //libs/jsruntime/build.rs #155

@masnagam

Description

@masnagam

currently, we build llvm before running cargo commands. this was an easier way but there are the following disadvantages:

  • llvm is built w/ specific options
    • we cannot change options in accordance with the build profile to use
    • LLVM_USE_PERF, LLVM_USE_SANITIZER, etc.
  • we have to build it manually before running cargo commands

change //libs/jsruntime/build.rs and specify build options according to the build profile. we can use the cmake crate for building c++ bridge files together with llvm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions