[BLAS][LAPACK] Add Netlib in PATH for Windows testing

Aperta
#252 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cmake, cpp

Direzione di ricerca

The link failure comes from the test executables test_main_<domain>_rt.exe and test_main_<domain>_ct.exe on Windows. Start with the Netlib directory variables ${CBLAS_LIB_DIR} and ${LAPACKE64_LIB_DIR} in cmake/FindCBLAS.cmake and cmake/FindLAPACKE.cmake, and check how the test targets consume them. Done means the tests link and run in a new session without manual PATH edits, or the README states the requirement clearly. The linked PR discussion says a PATH workaround may still be needed, so confirm that with maintainers first.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

build help wanted

Problem statement

To build Windows testing for BLAS and LAPACK domains, users would need to add Netlib in the environment variable PATH manually. Otherwise, the executables test_main_<domain>_rt.exe and test_main_<domain>_ct.exe would fail to build at linking. If the build is successful and users run tests later in a separate session, they would need to add Netlib in PATH again, or tests might fail due to Netlib library not found.

The requirement of Netlib in PATH for Windows testing is missing in README.

Preferred solution

Since the Netlib directories ${CBLAS_LIB_DIR} and ${LAPACKE64_LIB_DIR} are readily available, a preferred solution would be to integrate them in CMake files so that users can skip the step of setting up PATH for Netlib.

Note

As discussed in one PR comment, updating PATH for Windows testing might need a workaround.

Lingua principale
C++
Stelle
777
Fork
183
Merge medio
2g 16h
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di uxlfoundation/oneMath

Tutte le issue di uxlfoundation/oneMath

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.