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

[fp16] Update to later version #195

Merged
merged 2 commits into from
May 11, 2024
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
18 changes: 18 additions & 0 deletions ports/fp16/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Maratyszcza/fp16
REF 581ac1c79dd9d9f6f4e8b2934e7a55c7becf0799
SHA512 a7898d9fe4ae183562c87b3e61865b1166dd45ab342f6874a42ec8123f8cf41c0074df0bce7696d378c364ff5f363d33942f12c63d804efacb7423b64f3c10f4
)

file(INSTALL "${SOURCE_PATH}/include/fp16.h"
DESTINATION "${CURRENT_PACKAGES_DIR}/include"
)
file(INSTALL "${SOURCE_PATH}/include/fp16/fp16.h"
"${SOURCE_PATH}/include/fp16/bitcasts.h"
"${SOURCE_PATH}/include/fp16/psimd.h"
DESTINATION "${CURRENT_PACKAGES_DIR}/include/fp16"
)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
9 changes: 9 additions & 0 deletions ports/fp16/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "fp16",
"version-date": "2024-04-11",
"description": "Header-only library for conversion to/from half-precision floating point formats",
"homepage": "https://github.com/Maratyszcza/FP16",
"dependencies": [
"psimd"
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
"baseline": "1.0",
"port-version": 3
},
"fp16": {
"baseline": "2024-04-11",
"port-version": 0
},
"gemmlowp": {
"baseline": "2022-02-09",
"port-version": 1
Expand Down
9 changes: 9 additions & 0 deletions versions/f-/fp16.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "b92ec719d5b81f3b053a82b9350c9e5d1a2b7fa9",
"version-date": "2024-04-11",
"port-version": 0
}
]
}
Loading