Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add autotools build system #8

Closed
jeffhammond opened this issue Jun 16, 2014 · 4 comments
Closed

add autotools build system #8

jeffhammond opened this issue Jun 16, 2014 · 4 comments

Comments

@jeffhammond
Copy link
Member

Some users and packagers may prefer autotools to cmake.

@stefanhusmann
Copy link

Yes, especially if the given cmake build system is broken. It does not honor DESTDIR settings.

-- Installing: /usr/lib/libmetis.so
CMake Error at metis/libmetis/cmake_install.cmake:42 (file):
  file INSTALL cannot copy file
  "/home/haawda/paketierung/meine_Pakete/elemental/src/Elemental-0.87.3/build/download/parmetis/build/metis/libmetis/libmetis.so"
  to "/usr/lib/libmetis.so".
Call Stack (most recent call first):
  cmake_install.cmake:37 (include)

@poulson
Copy link
Member

poulson commented Nov 23, 2016

@stefanhusmann This appears to be due to ExternalProject_Add requiring DESTDIR to be manually propagated. This should be a one-liner for ParMETIS, METIS, and LAPACK since those external projects use CMake. But OpenBLAS and BLIS may require more care.

@poulson
Copy link
Member

poulson commented Nov 23, 2016

@stefanhusmann Did you export DESTDIR as an environment variable before running cmake? If so, would you mind opening an issue for this particular problem?

@stefanhusmann
Copy link

I only passed DESTDIR to the make command, not to the cmake command, and not exported. I will check and report back.

timmoon10 pushed a commit to timmoon10/Elemental that referenced this issue Apr 25, 2018
Wrapping CUDA and cuBLAS calls with EL_CHECK_CUDA macro
timmoon10 pushed a commit to timmoon10/Elemental that referenced this issue Jun 4, 2018
Handling case when Hydrogen is built with CUDA but run without GPUs.
@jeffhammond jeffhammond closed this as not planned Won't fix, can't repro, duplicate, stale Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants