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

Hotfix for asan build with flang #619

Merged
merged 3 commits into from
Jul 5, 2023
Merged
Show file tree
Hide file tree
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 clients/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,21 @@ list( APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake )
include( build-options )

if( NOT WIN32 )
set(hipblas_f90_source_clients
include/hipblas_fortran.f90
set(hipblas_f90_source_clients_no_solver
include/hipblas_fortran_no_solver_module.f90
)

set(hipblas_f90_source_clients_solver
include/hipblas_fortran_solver.f90)
include/hipblas_fortran_module.f90
)
endif()

if( BUILD_CLIENTS_TESTS OR BUILD_CLIENTS_BENCHMARKS OR BUILD_CLIENTS_SAMPLES )
if( NOT WIN32 )
if( BUILD_WITH_SOLVER )
add_library(hipblas_fortran_client STATIC ${hipblas_f90_source_clients} ${hipblas_f90_source_clients_solver})
add_library(hipblas_fortran_client STATIC ${hipblas_f90_source_clients_solver})
else()
add_library(hipblas_fortran_client STATIC ${hipblas_f90_source_clients})
add_library(hipblas_fortran_client STATIC ${hipblas_f90_source_clients_no_solver})
endif()
add_dependencies(hipblas_fortran_client hipblas_fortran)
endif()
Expand Down
Loading