Skip to content

Commit

Permalink
[Fastor] add new port Fastor (#16587)
Browse files Browse the repository at this point in the history
* Add fastor port

* Resolve comments

Co-authored-by: JonLiu1993 <[email protected]>

* Resolve comments

Co-authored-by: JonLiu1993 <[email protected]>

* Resolve comments

Co-authored-by: JonLiu1993 <[email protected]>

* update version

Co-authored-by: JonLiu1993 <[email protected]>
Co-authored-by: Jonliu1993 <[email protected]>
  • Loading branch information
3 people authored Nov 26, 2021
1 parent b722bcf commit 2729e6e
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 0 deletions.
20 changes: 20 additions & 0 deletions ports/fastor/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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}"
OPTIONS
-DBUILD_TESTING=OFF
)

vcpkg_cmake_install()

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

file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

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 @@ -2112,6 +2112,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": "9db673c173f5c27fc113f35837767d9d815e2976",
"version-date": "2021-11-22",
"port-version": 0
}
]
}

0 comments on commit 2729e6e

Please sign in to comment.