|
Message-ID: <3e8a38662fed80ae9581755c75948d53@smtp.hushmail.com> Date: Sun, 28 Nov 2021 10:10:54 +0100 From: magnum <magnumripper@...hmail.com> To: john-users@...ts.openwall.com Subject: Re: installing OpenCL / gpu drivers on Debian for AMD Radeon R9 390 / Hawaii On 2021-11-28 00:26, Aleksey Cherepanov wrote: > The future is now: it is possible to use OpenCL on Debian 11 (Bullseye; > current stable) using only packages from the official repo. Kernel > already has amdgpu driver and can work with open source stack. OpenCL is > implemented in mesa. Good writeup! > With 20.10, I had to specify paths for opencl building john: > john/src$ LDFLAGS=' -L/opt/amdgpu-pro/lib/x86_64-linux-gnu/ ' CFLAGS=' -I/opt/amdgpu-pro/include/ ' ./configure ... Use CPPFLAGS instead of CFLAGS, to avoid the below: > It would generate a warning: > configure: WARNING: No recognized optimization option present in CFLAGS ... > > -O3 on CFLAGS would yield other warning during make. So I am not sure > how is right. The default of CFLAGS is more like "-O2 -g" (-O3 is only for specific files). So you could add that to your custom CFLAGS - but simply using CPPFLAGS instead is generally less failure prone. magnum
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.