Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KERNEL.HASWELL file missing? #30

Open
bot-lin opened this issue Sep 20, 2022 · 3 comments
Open

KERNEL.HASWELL file missing? #30

bot-lin opened this issue Sep 20, 2022 · 3 comments
Labels
build-issue Issues related to building and compiling the code

Comments

@bot-lin
Copy link

bot-lin commented Sep 20, 2022

Platform

Macbook Air M2

OS

Ubuntu 20.04 Docker

Problem

I was trying to build dependencies by running

CC=clang-12 CXX=clang++-12 WITH_OPENGL=OFF BUILD_VISUALIZATIONS=OFF ./scripts/build.sh

and I got the following error:

-- Reading vars from /HybVIO/3rdparty/mobile-cv-suite/OpenBLAS/kernel/arm64/KERNEL.HASWELL...
CMake Error at cmake/utils.cmake:20 (file):
  file STRINGS file
  "/HybVIO/3rdparty/mobile-cv-suite/OpenBLAS/kernel/arm64/KERNEL.HASWELL"
  cannot be read.
Call Stack (most recent call first):
  kernel/CMakeLists.txt:16 (ParseMakefileVars)
  kernel/CMakeLists.txt:863 (build_core)

I have looked in the 3rdparty/mobile-cv-suite/OpenBLAS/kernel/arm64/ directory and there was no KERNEL.HASWELL in the directory.

@oseiskar
Copy link
Member

We are not planning to add support for new devices or architectures in this repository.

However, if you want to take a shot at fixing the build for the new Mac, this is probably a good place to start: https://github.com/AaltoML/mobile-cv-suite/blob/da7c2aea38dcb4085ef10e7414c8b96e2bbcc85f/scripts/components/openblas.sh#L4

Note that the 3rdparty dependencies of this codebase are (mostly) included through this separate project & repository https://github.com/AaltoML/mobile-cv-suite

@oseiskar oseiskar added the build-issue Issues related to building and compiling the code label Oct 19, 2022
@ParticleTruthSeeker
Copy link

I changed this to armv8 for the raspberrypi4 per the openblas documentation however the compilation fails. I know the team demonstrated this on the pi but it would be useful to have some additional help on the exact steps you took.

@arilotter
Copy link

For some reason, it's trying to build for x86_64. If you force the platform VORTEX instead of HASWELL everywhere, you get a lot further.
you also have to update a bunch of submodules!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-issue Issues related to building and compiling the code
Projects
None yet
Development

No branches or pull requests

4 participants