cl: build with rebar3 (#480528)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user