Unverified Commit dd79cbcd authored by Stephen Huan's avatar Stephen Huan
Browse files

amd-libflame: fix cmakeFlags options

parent 04ba740f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -43,9 +43,9 @@ stdenv.mkDerivation rec {
    "-DENABLE_CBLAS_INTERFACES=ON"
    "-DENABLE_EXT_LAPACK_INTERFACE=ON"
  ]
  ++ lib.optional (!withOpenMP) "ENABLE_MULTITHREADING=OFF"
  ++ lib.optional blas64 "ENABLE_ILP64=ON"
  ++ lib.optional withAMDOpt "ENABLE_AMD_OPT=ON";
  ++ lib.optional (!withOpenMP) "-DENABLE_MULTITHREADING=OFF"
  ++ lib.optional blas64 "-DENABLE_ILP64=ON"
  ++ lib.optional withAMDOpt "-DENABLE_AMD_OPT=ON";

  postInstall = ''
    ln -s $out/lib/libflame.so $out/lib/liblapack.so.3