Skip to content

Commit

Permalink
openfstwin: suppress dlls without exports error
Browse files Browse the repository at this point in the history
warning: DLLs without any exports are likely a bug in the build script. If this is intended, add the following line in the portfile:
set(VCPKG_POLICY_DLLS_WITHOUT_EXPORTS enabled)
The following DLLs have no exports:

  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\arc_lookahead-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\compact16_acceptor-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\compact16_string-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\compact16_unweighted-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\compact16_unweighted_acceptor-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\compact16_weighted_string-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\compact64_acceptor-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\compact64_string-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\compact64_unweighted-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\compact64_unweighted_acceptor-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\compact64_weighted_string-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\compact8_acceptor-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\compact8_string-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\compact8_unweighted-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\compact8_unweighted_acceptor-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\compact8_weighted_string-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\const16-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\const64-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\const8-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\fstcompact.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\fstconst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\fstlookahead.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\ilabel_lookahead-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\linear-classifier-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\linear-tagger-fst.dll
  C:\code\ThirdParty-Packages-vcpkg\vcpkg\packages\openfstwin_x64-windows-dynamic-release\bin\olabel_lookahead-fst.dll
  • Loading branch information
mike-malburg committed Apr 3, 2024
1 parent abbb937 commit f591d5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom-ports/openfstwin/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ vcpkg_configure_cmake(
PREFER_NINJA
)

set(VCPKG_POLICY_DLLS_WITHOUT_EXPORTS enabled)
vcpkg_install_cmake()
vcpkg_copy_pdbs()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")

0 comments on commit f591d5c

Please sign in to comment.