Giter Club home page Giter Club logo

Comments (6)

fredrikbk avatar fredrikbk commented on June 18, 2024

Custom llvm should work and separate_arguments should separate by whitespace not -. Is the problem that there are whitespace in the path?

(llvm-config does correctly handle spaces in the llvm path (see https://llvm.org/bugs/show_bug.cgi?id=27743).)

from simit.

symek avatar symek commented on June 18, 2024

Hi, sorry for not being precise! I compile simit on Centos7.1. When llvm-config is placed in:
$HOME/packages/llvm/3.4.2/platform-linux/arch-x86_64/bin/

it compiles, but throws an error on linking:

[ 57%] Linking CXX shared library ../lib/libsimit.so
/usr/bin/ld: cannot find -linux/arch-x86_64/lib

It clearly gets confused with platform-linux section of the path returned by llvm-config --libdir. Running llvm-config from $HOME/llvm/bin works as expected.

Thanks for your attention. I will try to make CMake working in such case.

[edit] - it's cmake-3.4.3 btw

from simit.

fredrikbk avatar fredrikbk commented on June 18, 2024

Ahh, it is probably confused by the combination -l as it is the lib include flag. I should be able to fix this shortly.

Thanks for the quick response!

from simit.

fredrikbk avatar fredrikbk commented on June 18, 2024

I believe this was fixed with 2b18597. It would be much appreciated if you can test the latest version on your system.

from simit.

symek avatar symek commented on June 18, 2024

Hi,
thank you for fast response. It works like a charm now!

A little glitch found by chance: there is a misleading typo in fem/spring building CMake file. It complains about missing SIMIT_LIB_DIR whereas it actually is expecting SIMIT_LIBRARY_DIR.

from simit.

fredrikbk avatar fredrikbk commented on June 18, 2024

Thanks for the help! I also fixed the cmake issue.

from simit.

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.