From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GFCWOND64WRLjgAASxT56A (envelope-from ) for ; Sun, 20 Aug 2023 13:36:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kMx+OND64WR6ZAEA9RJhRA (envelope-from ) for ; Sun, 20 Aug 2023 13:36:48 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 75F1F4E8A3 for ; Sun, 20 Aug 2023 13:36:48 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=OEIhTABA; dkim=pass header.d=wilsonb.com header.s=201703 header.b=nJwKoynb; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=wilsonb.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692531408; a=rsa-sha256; cv=none; b=LYl0wyRpBRiMPiqL7qNcZsNN3Fkkdx3oEBCSGgwuLGlqLu0kQ525gMEGVmklRvsT6Q5G8v izvYNDqLxHlXuPZbrIqwRNQ3yKOny+KTnpSSOq8en0FOEOF+tQT1Cjor1SEuFheZGPJyeA CbXDUlb6UPHC01MkGifwQC+87v+BCdSik9xW1GmY5PHkoI8r+eLxysDFigM6urYMFoPCzt t/X3QkM0LDAlsOLTuB/hB65mWnDH/GKGIgKm1SCnZqWbM/Z0PyAnNaBvvo6Wg8Cn6W3cB/ d/yM7kmiz1medaEFIMg8ttrjCrzBRgBrdjpWltkyyM4+HfyyWxX761nEH7yU2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=OEIhTABA; dkim=pass header.d=wilsonb.com header.s=201703 header.b=nJwKoynb; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=wilsonb.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692531408; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1SufmhDjxUSElhdesWmVUo4xdnwEmat1pNQiDQIaOIQ=; b=geX+JMfzRYECSrTwI85Ak+vLXSRPhRoKWdVqP0SeAc5SP7qbFWom0DfABSR2xnqqeJQG8/ 3HKTIGl13kwaD4F15AtLBpp2jWvN0KelyD7UviJlA1v2v0oynXcnWVzNRN8V8xk6IfAZnn z+L5lQrj68oEndUB/KMewOxdXBeKg+VrCDUozHVSNGD1Uc7tk2jZm2OIOlZ0UPhT6wn3V2 4NpRrfsJeR8sdcQdpI3IhlbmiuvFcPO2I/j+E7+PHTzVJCU0720HKUCPmJ0ZkzAuHUCkj9 6n8ilBLqfEe66fAKBLerYvvzrqUsW+0CKebQtXuCkiwSRj/ysw+HNUTL3Pqvjw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXgj6-0003qj-Dz; Sun, 20 Aug 2023 07:36:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qXgj5-0003qb-5B for guix-devel@gnu.org; Sun, 20 Aug 2023 07:36:11 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qXgj2-0005aU-FK for guix-devel@gnu.org; Sun, 20 Aug 2023 07:36:10 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1692531366; x=1692538566; h=Content-Type: MIME-Version: Message-Id: Subject: Subject: From: From: Cc: To: To: Date: Sender: Sender; bh=1SufmhDjxUSElhdesWmVUo4xdnwEmat1pNQiDQIaOIQ=; b=OEIhTABA+vJ+k0kLSQlfy6Kh4cCdNqG3XsOO+Tegj54ZPF6OJqE11FfsUSMRQW+Fqyio0RSupEzQtRgyPHnqjVX1+bw2ebyG+8cN7k8yxRIyHITPlcndi9vKxwLbSKbE101todkG8/XFhZEVzTh7bgIVtCubg3sq8P8BuagaGcXM/2rFCkrrfm4sVKZSes7Eaf2crLaWRQ116fNUAIYWfdr1GcgqjS91Pgbzb1apcUEJ39q2qtFv1ocYS0KhD9kvkYDArbB7cv4X31atQR+20AYQwJdpYw3jPxxmOsEs2IpsgB26iP6MWS1gjBedH/Phg7zOAb3YswNHX+1dHlEHCA== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyIyNWJlMSIsImd1aXgtZGV2ZWxAZ251Lm9yZyIsIjA4NTQ3YSJd Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by 6e490b73d477 with SMTP id 64e1faa60fd7edc9ecad65bc (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Sun, 20 Aug 2023 11:36:06 GMT Received: from localhost (199.147.145.153.ap.dti.ne.jp [153.145.147.199]) by wilsonb.com (Postfix) with ESMTPSA id 445C3A0E01; Sun, 20 Aug 2023 11:36:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1692531363; bh=1SufmhDjxUSElhdesWmVUo4xdnwEmat1pNQiDQIaOIQ=; h=Date:To:Cc:From:Subject:From; b=nJwKoynb5iI1Fi3AUTD5osiGulxmuM+liAjIkcimj4LsL09sxtBLT1pZOi1yaDDqT 9GUWp2Qw5ZQ6c4G0RpcvA3Giko1HIwRYKtbsVq+lP5UCHdPzHowcrakw4ib0FLh+GN c0YRDdQ3ILuQBzsW/f5eRMTghmQJg5N/eu9A06bsnU0z0df7k7LEnvlI0CUErb1w4A TIprYZCWNzX5lBV90JJMQtbnvw4GDSMx3wqCXFF/3UwOu/Lq2wVxRil0PJynqy6b51 Cs84QRN/llXIBa8v+45oEFSwxEOJ1Df4tAhGZLX4uMCszVZ9TYVc5Bn4Jq+NiuIl6j BQd0BYWqOl+MBPoVZtVfLPok4HYFJ9MliX6ZX+TOOq+irbDm2i/SaAJdIm6KdB6uSe joUhBCXWPhPnH4/Mkql9m00DO8nXsHXbvKl01s1WNaS4Lft4sT98BjC2RRopNOUxQV YeE6AcEMVtE+UHYUEMJ3arSkZENMkvbQORIcm5vR7L9SbhwpLxJN8cUgjHFVuRRuwG RfsMsa+bWViQtoZgql38/5skb7sWPh/IYHMuNiw7Bt40pwdlclXdF6RGPveNL6y/uQ jvGnlIxRS72Kvkq1SY9UhsuQPxeSyIfEWQq96f8+kmXB1/hEv21Gn35tpni5nWnZXX cafLC/1FalcY6JvBL2wGUO8E= Date: Sun, 20 Aug 2023 20:35:27 +0900 To: guix-devel@gnu.org Cc: dmngaie@gmail.com From: "B. Wilson" Subject: Help packaging ArrayFire Message-Id: <31K2BANL72LAD.26D56CX0Y9SZY@wilsonb.com> User-Agent: mblaze/1.2 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_408536e246c8ecf8206cbe86_=_" Received-SPF: pass client-ip=69.72.42.5; envelope-from=bounce+ec9951.08547a-guix-devel=gnu.org@mg.wilsonb.com; helo=m42-5.mailgun.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Spam-Score: -7.40 X-Migadu-Queue-Id: 75F1F4E8A3 X-Migadu-Spam-Score: -7.40 X-TUID: J4lcQcG7DQq5 This is a multipart message in MIME format. ------_=_408536e246c8ecf8206cbe86_=_ Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Guix, Knee deep in CMake hell here and would appreciate a helping hand. ArrayFire= build is defeating me: CMake Error at /gnu/store/ygab8v4ci9iklaykapq52bfsshpvi8pw-cmake-minima= l-3.24.2/share/cmake-3.24/Modules/ExternalProject.cmake:3269 (message): error: could not find git for fetch of af_forge-populate Call Stack (most recent call first): /gnu/store/ygab8v4ci9iklaykapq52bfsshpvi8pw-cmake-minimal-3.24.2/shar= e/cmake-3.24/Modules/ExternalProject.cmake:4171 (_ep_add_update_command) CMakeLists.txt:13 (ExternalProject_Add) Apparently, some of the build dependencies get automatically cloned, but I'= m unable to make heads or tails of how to work around this. The `af_forge-populate` makes it look like it's related to Forge, but "ArrayFir= e also requires Forge but this is a submodule and will be checkout during submodule initilization stage. AF_BUILD_FORGE cmake option has to be turned= on to build graphics support," so I'm stumped. I need this soon for a project and am willing to pay someone to take this o= ver. Here are the official build instructions:=20 https://github.com/arrayfire/arrayfire/wiki/Build-Instructions-for-Linux In fact, there's a 2016 thread where Dennis Mungai claims to have successfu= lly gotten ArrayFire packaged on Guix: https://issues.guix.gnu.org/23055. Howev= er, that appears to have never resulted in a patch. Thoughts? ------_=_408536e246c8ecf8206cbe86_=_ Content-Disposition: attachment; filename=arrayfire.scm Content-Type: text/plain Content-Transfer-Encoding: quoted-printable ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2023 B. Wilson ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (bmw packages arrayfire) #:use-module (gnu packages algebra) #:use-module (gnu packages boost) #:use-module (gnu packages documentation) #:use-module (gnu packages image) #:use-module (gnu packages llvm) #:use-module (gnu packages logging) #:use-module (gnu packages maths) #:use-module (gnu packages pkg-config) #:use-module (gnu packages pretty-print) #:use-module (guix build-system cmake) #:use-module (guix packages) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:)) (define arrayfire-glad (let ((commit "ef8c5508e72456b714820c98e034d9a55b970650") (revision "1")) (package (name "arrayfire-glad") (version (git-version "0" revision commit)) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/arrayfire/glad.git") (commit commit))) (sha256 (base32 "0yln2mrymhb6ni6gb1vc0vrzbrkzmsxk7wyvbgqlv16bnmrmxmdv")= ) (file-name (git-file-name name version)))) (build-system cmake-build-system) (arguments (list #:tests? #f)) (home-page "https://github.com/arrayfire/glad") (synopsis "OpenGL(3.3) Loader Library") (description "OpenGL(3.3) Loader Library, a dependency of ArrayFire."= ) (license license:bsd-3)))) (define-public arrayfire (package (name "arrayfire") (version "3.8.3") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/arrayfire/arrayfire.git") (commit (string-append "v" version)) (recursive? #t))) (sha256 (base32 "1fvd0jvg49inhqx0mcqrfsfnqvc3n0pgnym5gina5svgh293n68a")) (file-name (git-file-name name version)))) (build-system cmake-build-system) (native-inputs (list doxygen pkg-config)) (inputs (list boost fftw fmt freeimage lapack libomp openblas spdlog)) (home-page "https://arrayfire.com/") (synopsis "General purpose tensor library") (description "ArrayFire is a general-purpose tensor library that simpli= fies the process of software development for the parallel architectures found in= CPUs, GPUs, and other hardware acceleration devices.") (license license:bsd-3))) ------_=_408536e246c8ecf8206cbe86_=_--