Skip to content

Commit

Permalink
Merge pull request #66 from Mellich/include_fpl_7_1
Browse files Browse the repository at this point in the history
Add floating point library 7.1 to search path in FindVitis.cmake
  • Loading branch information
definelicht authored Feb 1, 2023
2 parents 45578d4 + 37bd837 commit 1b5b3ae
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions cmake/FindVitis.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,18 @@ if(CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)")
# Floating point library
#----------------------------------------------------------------------------

find_library(Vitis_FLOATING_POINT_LIBRARY Ip_floating_point_v7_0_bitacc_cmodel
find_library(Vitis_FLOATING_POINT_LIBRARY
NAMES
Ip_floating_point_v7_0_bitacc_cmodel
Ip_floating_point_v7_1_bitacc_cmodel
PATHS
${VITIS_ROOT}/lnx64/tools/fpo_v7_0
${VITIS_ROOT}/../../Vitis_HLS/${Vitis_VERSION}/lnx64/tools/fpo_v7_0
${VITIS_ROOT}/../../Vivado/${Vitis_VERSION}/lnx64/tools/fpo_v7_0
${VITIS_ROOT}/Vivado_HLS/lnx64/tools/fpo_v7_0)
${VITIS_ROOT}/lnx64/tools/
${VITIS_ROOT}/../../Vitis_HLS/${Vitis_VERSION}/lnx64/tools/
${VITIS_ROOT}/../../Vivado/${Vitis_VERSION}/lnx64/tools/
${VITIS_ROOT}/Vivado_HLS/lnx64/tools/
PATH_SUFFIXES
fpo_v7_0
fpo_v7_1)
mark_as_advanced(Vitis_FLOATING_POINT_LIBRARY)

get_filename_component(VITIS_FP_DIR ${Vitis_FLOATING_POINT_LIBRARY}
Expand Down

0 comments on commit 1b5b3ae

Please sign in to comment.