Giter Club home page Giter Club logo

Comments (5)

vgvassilev avatar vgvassilev commented on July 24, 2024 1

@u-rox23 apologies for the delay. This approach of building is not often used and has changed in when LLVM moved to the "LLVM monorepo". Alternatively, you can build it by cloning clad in a separate folder and pass -DLLVM_DIR=path/to/llvm/inst

from clad.

u-rox23 avatar u-rox23 commented on July 24, 2024

Thanks @vgvassilev, building it separately fixed the issue for me. Resolving, thanks again for the help!

from clad.

u-rox23 avatar u-rox23 commented on July 24, 2024

Reopening the issue due to another failure I'm facing. The cmake build and install was successful, however the tests failed following the below command:

make check-clad

Below is one of the failure reason:

Script:
--
: 'RUN: at line 1';   /home/rox/Desktop/clad-dev/inst/bin/clang++ -DCLAD_NO_NUM_DIFF  -std=c++11 -Xclang -add-plugin -Xclang clad -Xclang         -plugin-arg-clad -Xclang -fdump-derived-fn -Xclang         -load -Xclang /home/rox/Desktop/clad-dev/clad_obj/./lib/clad.so /home/rox/Desktop/clad-dev/clad/test/ROOT/Interface.C -I/home/rox/Desktop/clad-dev/clad/test/ROOT/../../include -oInterface.out 2>&1 | /home/rox/Desktop/clad-dev/inst/bin/FileCheck /home/rox/Desktop/clad-dev/clad/test/ROOT/Interface.C
: 'RUN: at line 2';   ./Interface.out | /home/rox/Desktop/clad-dev/inst/bin/FileCheck -check-prefix=CHECK-EXEC /home/rox/Desktop/clad-dev/clad/test/ROOT/Interface.C
: 'RUN: at line 3';   /home/rox/Desktop/clad-dev/inst/bin/clang++ -DCLAD_NO_NUM_DIFF  -std=c++11 -Xclang -add-plugin -Xclang clad -Xclang         -plugin-arg-clad -Xclang -fdump-derived-fn -Xclang         -load -Xclang /home/rox/Desktop/clad-dev/clad_obj/./lib/clad.so -Xclang -plugin-arg-clad -Xclang -enable-tbr /home/rox/Desktop/clad-dev/clad/test/ROOT/Interface.C -I/home/rox/Desktop/clad-dev/clad/test/ROOT/../../include -oInterface.out
: 'RUN: at line 4';   ./Interface.out | /home/rox/Desktop/clad-dev/inst/bin/FileCheck -check-prefix=CHECK-EXEC /home/rox/Desktop/clad-dev/clad/test/ROOT/Interface.C
--
Exit Code: 127

Command Output (stderr):
--
/home/rox/Desktop/clad-dev/clad_obj/test/ROOT/Output/Interface.C.script: line 1: /home/rox/Desktop/clad-dev/inst/bin/FileCheck: No such file or directory

--

Could anyone please provide any help here?

from clad.

sauravUppoor avatar sauravUppoor commented on July 24, 2024

@u-rox23 - It seems like the LLVM FileCheck utility is missing. You can do the following to get your tests working:

  1. Ensure that your source has the FileCheck utility present for your LLVM version (in /llvm/utils/), ideally if you are using anything above 3.x it should be present in that specified path. If it doesn't exist, consider upgrading your LLVM version to a latest release.
  2. If it exists, check if you had the -DLLVM_INSTALL_UTILS=ON flag in you cmake command. (As of March 08, 2016 auxiliary utilities are not built by default.)

from clad.

vgvassilev avatar vgvassilev commented on July 24, 2024

We should update our documentation to capture the suggested build process for developer builds.

from clad.

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.