Package Details: highway-git 1.0.4.r1.gd8fa48e-1

Git Clone URL: (read-only, click to copy)
Package Base: highway-git
Description: A C++ library for SIMD (Single Instruction, Multiple Data) (git version)
Upstream URL:
Licenses: Apache
Conflicts: highway
Provides: highway
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 6
Popularity: 0.005256
First Submitted: 2021-02-19 23:30 (UTC)
Last Updated: 2023-03-18 12:08 (UTC)

Dependencies (4)

Required by (15)

Sources (1)

Latest Comments

dbermond commented on 2024-01-04 18:33 (UTC)

@jholmer This is an upstream issue that is now fixed in latest git master.

jholmer commented on 2023-12-26 04:37 (UTC) (edited on 2023-12-26 04:38 (UTC) by jholmer)

There are many failures occurring in the tests phase with "undefined reference to hwy::ThreadPool::WorkersReadyBarrier()". A workaround could be to disable building the tests with -DHWY_ENABLE_TESTS:BOOL='OFF'.

dbermond commented on 2022-06-05 11:54 (UTC)

@Fifis This was an upstream issue and is now fixed by them.

Fifis commented on 2022-06-03 20:38 (UTC)

Anyway, found the solution (this is my first patch ever, please excuse me if something is wrong):

diff --unified --recursive --text highway.orig/CMakeLists.txt
--- highway.orig/CMakeLists.txt 2022-06-03 23:33:34.246453246 +0300
+++  2022-06-03 23:34:47.706452626 +0300
@@ -121,8 +121,8 @@
-    hwy/
-    hwy/per_targets.h
+    hwy/
+    hwy/per_target.h

Fifis commented on 2022-06-03 20:20 (UTC) (edited on 2022-06-03 20:20 (UTC) by Fifis)

I am trying to install highway-git because it is a dependency of ffmpeg-full, and this is where it halts:

==> Making package: highway-git 0.16.0.r7.ga8a6dd9-2 (Fri 03 Jun 2022 23:09:01 MSK)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating highway git repo...
Fetching origin
==> Validating source files with sha256sums...
    highway ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of highway git repo...
Cloning into 'highway'...
==> Starting pkgver()...
==> Updated version: highway-git 0.17.0.r3.g5e5cf8d-1
==> Sources are ready.
==> Making package: highway-git 0.17.0.r3.g5e5cf8d-1 (Fri 03 Jun 2022 23:09:07 MSK)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The C compiler identification is GNU 12.1.0
-- The CXX compiler identification is GNU 12.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test HWY_EMSCRIPTEN
-- Performing Test HWY_EMSCRIPTEN - Failed
-- Found GTest: /usr/lib64/cmake/GTest/GTestConfig.cmake (found version "1.11.0")  
-- Configuring done
CMake Error at CMakeLists.txt:259 (add_library):
  Cannot find source file:


  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
  .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc

CMake Error at CMakeLists.txt:259 (add_library):
  No SOURCES given to target: hwy

CMake Generate step failed.  Build files cannot be regenerated correctly.
==> ERROR: A failure occurred in build().
 -> error making: highway-git

Installing just highway won’t help.