Skip to content

build on llvm13.0 #49

Open
Open

Description

@Moriarty002

image
I met problem when building llvm2c
It seems that some function is miss in newer llvm version

Activity

  1. lzaoral commented on Oct 5, 2021

    @lzaoral

    I've just tested the build with final release of LLVM 13 on Fedora and everything compiled without any issues for me. What distro are you using?

  2. Moriarty002 commented on Oct 5, 2021

    @Moriarty002
    Author

    I don't know what happen to my environment , my system has both llvm-13 and llvm-14 , may be I need to set the path to llvm ?

  3. lzaoral commented on Oct 5, 2021

    @lzaoral

    You can select the desired LLVM version by passing -DLLVM_DIR="$(llvm-config-13 --cmakedir)" to CMake assuming that LLVM 13's llvm-config is in your PATH (it is called llvm-config-13 on Debian and Ubuntu). Otherwise, you need to specify a full path to the corresponding llvm-config binary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions