Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2019 22:34:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 239178] devel/erlang-cl: update to 1.2.4 and fix
Message-ID:  <bug-239178-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239178

            Bug ID: 239178
           Summary: devel/erlang-cl: update to 1.2.4 and fix
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://github.com/tonyrog/cl/releases
                OS: Any
            Status: New
          Keywords: patch, patch-ready
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: amdmi3@FreeBSD.org
          Reporter: cmt@freebsd.org
             Flags: maintainer-feedback?(amdmi3@FreeBSD.org)
          Assignee: amdmi3@FreeBSD.org

Created attachment 205736
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D205736&action=
=3Dedit
update erlang-cl to 1.2.4 and make usable.

As I'm working myself through some erlang stuff... here's one more:

Attached patch updates devel/erlang-cl to 1.2.4.

While here, patch erlang-cl's build system to actually build the opencl NIF
(Native Implemented Function) - previously, the build system didn't know ab=
out
FreeBSD and failed when building cl_nif.so, but the error went unnoticed.
In fact, my build logs show:

o ../priv/cl_nif.so cl_nif.o cl_hash.o  -fstack-protector-strong=20
gmake[2]: o: Command not found
gmake[2]: [Makefile:174: ../priv/cl_nif.so] Error 127 (ignored)
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/devel/erlang-cl/work/cl-cl-1.2.3/c_src'
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/devel/erlang-cl/work/cl-cl-1.2.3/c_src'

Teach cl's makefiles about FreeBSD, and now we have to depend on devel/ocl-=
icd
(to get libOpenCL). I can't fully test this, as my nvidia card is not that
opencl-supported (only under linux emulation?). But without cl_nif.so and
libOpenCl erlang-cl wouldn't stand a change at accessing any opencl card.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239178-7788>