This piece of software, including this file is offered as-is, without warranty of any kind. Read the top level licence file for the exact terms.
The simplest way to compile this package is:
- Extract the latest Pin build. Assuming that it was extracted in
/usr/src/pin
, we shall refer to that path as Pin's root path from now on. - Type
export PIN_ROOT=/usr/src/pin
to set the environment variable PIN_ROOT to the root path of Pin. Replace/usr/src/pin
with your Pin root path. cd
to the directorysrc/
, which contains the source code of libdft, and typemake
to compile the package (i.e., the libdft library)cd
to the directorytools/
and typemake tools
to compile the accompanying tools (e.g.,nullpin
,libdft
,libdft-dta
, etc.).- You can remove the program binaries and object files from
src/
andtools/
by typingmake clean
on the respective directory.
- Open a PowerShell console and run
install_pin.ps1
to download and install Pin. - Set
$PIN_ROOT
based on the output of the script. - Install Chocolatery:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
- Install GNU Make for Windows:
choco install make
cd
to the directorysrc/
, which contains the source code of libdft, and typemake
to compile the package (i.e., the libdft library)
libdft has been successfully tested with:
- All Debian GNU/Linux versions starting with v5 (lenny). In principle it should also work on any other Linux distribution.
- Intel Pin 3.x