[Bug 810059] opencl-utils - Useful OpenCL tools and utilities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=810059

--- Comment #11 from Jeremy Newton <alexjnewt@xxxxxxxxxxx> 2012-04-06 15:05:10 EDT ---
(In reply to comment #9)
> Created attachment 575645 [details]
> ALternative Makefile, clean-up, respects CFLAGS.

I dropped patch0 because it was giving compiling errors, though I still need to
test if this causes adverse effects in functionality. As for the new makefile,
though it works fairly well but I had to add -fPIC to the CFLAGS make it
compile.

The issue is that I'm now getting the ldconfig error again:
>opencl-utils-CLRun.x86_64: E: no-ldconfig-symlink /usr/lib64/libclrun.so.0.16
my method of symlinking is still the same as in comment#7, which makes me think
that the method to fix it originally may not be ideal. Not sure, I may have to
do some more research into this.

This is a direct copy of from halfway through the %install section until right
before the changelogs:

>#install the library and the links
>install -p -D -m 0755 src/clrun/libclrun.so %{buildroot}%{_libdir}/libclrun.so.%{version}.%{svnversion}
>cd %{buildroot}%{_libdir}
>ln -sf libclrun.so.%{version}.%{svnversion} libclrun.so.%{version}
>ln -sf libclrun.so.%{version}.%{svnversion} libclrun.so
>
>%files CLRun
>%{_libdir}/*.so.*
>
>%files devel
>%{_includedir}/%{name}/include/CL
>
>%files CLRun-devel
>%{_includedir}/%{name}/clrun/
>%{_includedir}/%{name}/include/clrun.h
>%{_datadir}/%{name}/examples
>%{_libdir}/*.so
>
>%post CLRun -p /sbin/ldconfig
>
>%postun CLRun -p /sbin/ldconfig

Did I miss something?

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]