Skip to content

Commit

Permalink
[fmilib] Change to the github and update to fix bug of libexpat (#29805)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankXie05 authored Feb 24, 2023
1 parent b5f40dc commit a7b6122
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 16 deletions.
17 changes: 6 additions & 11 deletions ports/fmilib/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_download_distfile(ARCHIVE
URLS "https://jmodelica.org/fmil/FMILibrary-${VERSION}-src.zip"
FILENAME "FMILibrary-${VERSION}-src.zip"
SHA512 86e4b5019d8f2a76b01141411845d977fb3949617604de0b34351f23647e3e8b378477de184e1c4f2f59297bc4c7de3155e0edba9099b8924594a36b37b04cc8
)

vcpkg_extract_source_archive(
SOURCE_PATH
ARCHIVE "${ARCHIVE}"
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO modelon-community/fmi-library
REF "${VERSION}"
SHA512 65c2dc11116737e4e2ee91a4ec58d2cf24003774fd6d9b8b1d6521f046be9e8f8a963ebedb50a161ad264927062f41ce757c84563cfe628d47614910e8730349
HEAD_REF master
PATCHES
0001-remove-install-prefix.patch
0002-include-sys-stat.h-for-mkdir.patch
Expand Down
5 changes: 2 additions & 3 deletions ports/fmilib/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"name": "fmilib",
"version": "2.0.3",
"port-version": 5,
"version": "2.4.1",
"description": "FMI library is intended as a foundation for applications interfacing FMUs (Functional Mockup Units) that follow FMI Standard. This version of the library supports FMI 1.0 and FMI2.0.",
"homepage": "https://www.fmi-standard.org/",
"license": null,
"license": "BSD-3-Clause",
"dependencies": [
{
"name": "vcpkg-cmake",
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2481,8 +2481,8 @@
"port-version": 0
},
"fmilib": {
"baseline": "2.0.3",
"port-version": 5
"baseline": "2.4.1",
"port-version": 0
},
"fmt": {
"baseline": "9.1.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/f-/fmilib.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "34b7f7cc468b8eecb267b5fd750cb1e602d36248",
"version": "2.4.1",
"port-version": 0
},
{
"git-tree": "c30d1f2f0827e03141bda90fe3ae2b462f93c116",
"version": "2.0.3",
Expand Down

0 comments on commit a7b6122

Please sign in to comment.