Comments (4)
Thanks for the pointer, @mseri!
Here are notes on what I've done to get the install working for future searchers:
By looking at https://github.com/owlbarn/owl/blob/48434ea744d8e5f488a56bb06ecd15659c58f186/Dockerfile#L31 I was able to infer that the "right paths" for the CFLAGS
variable should at least include the openblas header files.
On my system, after installing openblas via pacman, these were located at /usr/include/openblas
.
The working invocation for opam, therefore, was
CFLAGS="-I/usr/include/openblas" opam install owl
CFLAGS
was not set at all on my system. Is it expected to be? Or are users meant to know that they need to set this variable to install the package?
perhaps we should just use pkg-config if manjaro ships the pc files
The openblas package does indeed ship with a blas.pc
file, and this works on my system:
$ pkg-config --cflags blas
-I/usr/include/openblas
from opam-repository.
If you run it with CFLAGS set to the right paths it should work
from opam-repository.
Otherwise we may need to check where openblas is installed in manjaro and fix it (perhaps we should just use pkg-config if manjaro ships the pc files)
from opam-repository.
I would suggest to submit a new version of the conf-blas
package doing
build: ["pkg-config" "--exists" "--print-errors" "blas"]
for all the distributions that ship the pc file for blas.
owl
uses pkg-config internally afaik, so this should solve the issue
from opam-repository.
Related Issues (20)
- Opam repository API HOT 2
- ocamlgraph.1.8.8 - moved to new address HOT 2
- OCaml 5.2.0 Release Readiness HOT 1
- Invalid_argument("OpamEnv.unzip_to") opam error after installing conf-openblas HOT 2
- opam switch create dune fails on WSL: "undefined reference to `pthread_join@GLIBC_2.34'"
- Unable to install conf-gmp on Arch Linux with Homebrew HOT 3
- MacOS,Arm: conf-mpfr-paths does not install HOT 4
- css checksum changed and is not installable currently HOT 15
- ocaml lru cache changed signature HOT 3
- The compilation of conf-gmp.4 failed at "sh -exc cc -c $CFLAGS -I/usr/local/include test.c". HOT 1
- make old dune versions unavailable on win32 HOT 1
- iri 0.6.0 checksum changed
- easy format 1.0.1 is broken HOT 2
- policy question with respect to data races in opam packages and OCaml 5 upper bounds HOT 2
- merlin packages incompatibilities
- Error installing conf-lapack in ALPINE HOT 3
- `ocaml-base-compiler` compilation error
- Dune compilation error "fatal error: CoreFoundation/CoreFoundation.h: No such file or directory"
- Update wyrd upstream URL and version HOT 3
- mad >=0.5.0 won't install on FreeBSD due to pkg-config looking for mad rather than libmad HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opam-repository.