Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions Setup.hs
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,12 @@ cudaLibraryPaths (Platform arch os) installPath = [ installPath </> path | path
where
libpaths =
case (os, arch) of
(Windows, I386) -> ["lib/Win32"]
(Windows, X86_64) -> ["lib/x64"]
(OSX, _) -> ["lib"] -- MacOS does not distinguish 32- vs. 64-bit paths
(_, X86_64) -> ["lib64", "lib"] -- prefer lib64 for 64-bit systems
_ -> ["lib"]
(Windows, I386) -> ["lib/Win32"]
(Windows, X86_64) -> ["lib/x64"]
(OSX, _) -> ["lib"] -- MacOS does not distinguish 32- vs. 64-bit paths
(_, X86_64) -> ["lib64", "lib"] -- prefer lib64 for 64-bit systems
(_, AArch64) -> ["lib64", "lib"]
_ -> ["lib"] -- otherwise


-- On Windows and OSX we use different libraries depending on whether we are
Expand Down
Loading