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

[Fastor] add new port Fastor #16587

Merged
merged 5 commits into from
Nov 26, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
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/fastor/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 romeric/Fastor
REF 76152e2fded7f014af969089e7d2ca966cef4d3b
SHA512 e2c4a267f592a7fbb92a54f7bf774a709b2a6d4a7bd3d338a20c455299a30d8352bfc6dd6c71eafa21ac70331ac0f4a86b176a56577699b82fde6f536429fb39
HEAD_REF master
)

vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
duanqn marked this conversation as resolved.
Show resolved Hide resolved
OPTIONS -DBUILD_TESTING=OFF
duanqn marked this conversation as resolved.
Show resolved Hide resolved
)

vcpkg_cmake_install()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")

file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
duanqn marked this conversation as resolved.
Show resolved Hide resolved
16 changes: 16 additions & 0 deletions ports/fastor/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "fastor",
"version-date": "2021-11-22",
"description": "a high performance tensor library for modern C++",
"homepage": "https://github.com/romeric/Fastor",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2108,6 +2108,10 @@
"baseline": "2021-05-10",
"port-version": 0
},
"fastor": {
"baseline": "2021-11-22",
"port-version": 0
},
"fastrtps": {
"baseline": "2.4.0",
"port-version": 0
Expand Down
9 changes: 9 additions & 0 deletions versions/f-/fastor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "24b3fc4241eb82555225352893d2bd9dc14e17a1",
"version-date": "2021-11-22",
"port-version": 0
}
]
}