Skip to content

Commit

Permalink
better cmake LINK_BLIS option location (#777)
Browse files Browse the repository at this point in the history
* better option location
* match install.sh BLIS OFF default for cuda
  • Loading branch information
TorreZuk authored Jan 23, 2024
1 parent d4fc94c commit 24eb935
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 6 additions & 1 deletion clients/cmake/build-options.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ########################################################################
# Copyright 2016-2020 Advanced Micro Devices, Inc.
# Copyright (C) 2016-2024 Advanced Micro Devices, Inc.
# ########################################################################

# This file is intended to be used in two ways; independently in a stand alone PROJECT
Expand All @@ -21,5 +21,10 @@ if( NOT BUILD_CLIENTS_SAMPLES )
option( BUILD_CLIENTS_SAMPLES "Build hipBLAS samples" OFF )
endif( )

if( WIN32 OR HIP_PLATFORM STREQUAL nvidia )
option( LINK_BLIS "Link AOCL Blis reference library" OFF )
else()
option( LINK_BLIS "Link AOCL Blis reference library" ON )
endif()


6 changes: 0 additions & 6 deletions deps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ project( hipblas-dependencies NONE )
option( BUILD_GTEST "Download and build googletest library" ON )
option( BUILD_LAPACK "Download and build lapack library" ON )

if( WIN32 )
option( LINK_BLIS "Link AOCL Blis reference library" OFF )
else()
option( LINK_BLIS "Link AOCL Blis reference library" ON )
endif()

# option( BUILD_VERBOSE "Print helpful build debug information" OFF )

# if( BUILD_VERBOSE )
Expand Down

0 comments on commit 24eb935

Please sign in to comment.