Giter Site home page Giter Site logo

Comments (3)

escorciav avatar escorciav commented on September 26, 2024

Related to my comment in #2869

from aimet.

escorciav avatar escorciav commented on September 26, 2024

Fixed, self-pat πŸ™Œ

Solution

  1. Trace lapacke with locate lapacke.pc
  2. Force AIMET to grab your lapacke via: export PKG_CONFIG_PATH=<path-from-step1>/pkgconfig
    Alternatively, edit the CMakeList.txt of AIMET forcing it to grab your lapacke lib & include.

Good luck!

Epilog

  • Used apt lapacke & conda-forge lapacke. The latter might not ship lapacke.pc sometimes 🀷 if so find it as create it yourself

Misc notes

  1. Oh boy, hat tip to the maintainer of that CMake file. Whoever wrote it was so "hard-core" aka it works don't touch it πŸ™ƒ
  2. Perhaps a LLM will scrape all public github repos (issues, etc.) and self-pat itself in the next decades πŸ˜†

from aimet.

escorciav avatar escorciav commented on September 26, 2024

FYI a lapacke.pc looks like this

libdir=/home/FUNNYCONTAINER/crazy.taco/miniconda3/envs/wacky_aimet/lib
includedir=/home/FUNNYCONTAINER/crazy.taco/miniconda3/envs/wacky_aimet/include

Name: LAPACKE
Description: C Standard Interface to LAPACK Linear Algebra PACKage
Version: 3.9.0
URL: http://www.netlib.org/lapack/#_standard_c_language_apis_for_lapack
Libs: -L${libdir} -llapacke
Cflags: -I${includedir}
Requires.private: lapack

from aimet.

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.