Code Monkey home page Code Monkey logo

Comments (2)

WillianJunior avatar WillianJunior commented on May 24, 2024

I' believe to have found the reason behind the "ar: bin/build/llvm_objects/llvm_.o: No such file or directory" problem: the Halide's Makefile.

The Makefile of Halide's tiramisu_64 branch (at 3rdParty) bundles multiple LLVM libs for libHalide.a. This list is compiled by line 670 of Makefile. However, this list is never used. I've changed line 696 to add argument "$(BUILD_DIR)/llvm_objects/list" instead of "$(BUILD_DIR)/llvm_objects/llvm_.o". This allows the compilation of Halide through install_submodules.sh.

Now, when trying to compile tiramisu, there are many linker errors similar to this:
/usr/bin/ld: libtiramisu.so: undefined reference to 'llvm::TargetIRAnalysis::TargetIRAnalysis()'

from tiramisu.

kzwrime avatar kzwrime commented on May 24, 2024

@WillianJunior Do you solve the linkers errors? I experienced the same problem as you met. However, after running the install script again, the problem "ar: bin/build/llvm_objects/llvm_.o: No such file or directory" disappeared. After make tiramisu, I met many linkers errors /usr/bin/ld: libtiramisu.so: undefined reference to 'llvm::..... I have no idea how to solve the problem.

from tiramisu.

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.