cl: build with rebar3 (#480528)

This commit is contained in:
Sandro
2026-01-22 10:22:31 +00:00
committed by GitHub
+4 -4
View File
@@ -2,7 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
rebar,
rebar3,
erlang,
opencl-headers,
ocl-icd,
@@ -22,18 +22,18 @@ stdenv.mkDerivation rec {
# https://github.com/tonyrog/cl/issues/39
postPatch = ''
substituteInPlace c_src/Makefile \
--replace "-m64" ""
--replace-fail "-m64" ""
'';
buildInputs = [
erlang
rebar
rebar3
opencl-headers
ocl-icd
];
buildPhase = ''
rebar compile
rebar3 compile
'';
# 'cp' line taken from Arch recipe