Package Details: halide 18.0.0-1

Git Clone URL: https://aur.archlinux.org/halide.git (read-only, click to copy)
Package Base: halide
Description: A language for fast and portable data-parallel computation.
Upstream URL: https://halide-lang.org/
Licenses: MIT
Submitter: OmarEmaraDev
Maintainer: OmarEmaraDev
Last Packager: OmarEmaraDev
Votes: 2
Popularity: 0.000548
First Submitted: 2021-09-04 19:56 (UTC)
Last Updated: 2024-07-31 12:46 (UTC)

Dependencies (9)

Sources (1)

Latest Comments

daskol commented on 2024-07-31 07:15 (UTC) (edited on 2024-07-31 07:16 (UTC) by daskol)

Add tarball checksums in PKGBUILD, please.

diff --git a/PKGBUILD b/PKGBUILD
index a81e3d4..2357efb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,7 @@ optdepends=(
   'libpng: PNG support in the Image IO Utility.'
   'libjpeg: JPEG support in the Image IO Utility.')
 source=("https://github.com/halide/Halide/archive/refs/tags/v$pkgver.tar.gz")
-md5sums=('SKIP')
+sha256sums=('1176b42a3e2374ab38555d9316c78e39b157044b5a8e765c748bf3afd2edb351')

 build() {
   cmake -B build -S "Halide-$pkgver" \

OmarEmaraDev commented on 2022-07-14 11:15 (UTC)

@shirok1 It seems to me POSITION_INDEPENDENT_CODE is already set to ON in the cmake file, so I am not sure how that would help. See CMakeLists.txt. What is the issue/error exactly?

shirok1 commented on 2022-07-13 04:31 (UTC) (edited on 2022-07-13 04:32 (UTC) by shirok1)

Mine have same PIC issue too. I suggest adding -DCMAKE_POSITION_INDEPENDENT_CODE=ON to PKGBUILD instead of changing $CXXFLAGS manually.

carlosal1015 commented on 2022-07-08 21:13 (UTC)

Thank you, is fixed now.

OmarEmaraDev commented on 2022-07-08 20:52 (UTC)

@carlosal1015 I updated the package to 14.0.0 and it seems to build fine. Can you try this new build?

OmarEmaraDev commented on 2022-03-13 11:32 (UTC)

Started using tarballs instead. The library is built with PIC by default, check the generated ninja build file. So it is unclear why that would make a difference for you. Perhaps it is something in your environment?

shirok1 commented on 2022-03-13 08:33 (UTC)

please consider using tarball links like https://github.com/halide/Halide/archive/refs/tags/v13.0.4.tar.gz and add these lines to build():

CFLAGS="$CFLAGS -fPIC"
CXXFLAGS="$CXXFLAGS -fPIC"

my ld can't link without -fPIC