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

[vcpkg/Fortran|world rebuild] Windows: Use ifort (x86|x64) or flang(arm64) #24622

Draft
wants to merge 175 commits into
base: master
Choose a base branch
from

Conversation

Neumann-A
Copy link
Contributor

@Neumann-A Neumann-A commented May 9, 2022

includes:

merging the above will result in less changes.

combines:

benefits:

  • Get rid of gfortran. MSYS is still required since pgmath and stuff requires SED / AWK
  • Enable static linkage of Fortran libraries. Before that was blocked due to using libgfortran and switching to the MinGW toolchain which made static linkage impossible to MinGW symbols.

Port names:
maybe rename the flang stuff to flang-classic ? Done

Note:

  • Easily switching from flang to ifort for the x64 arch is simply possible by changing the platform statement in vcpkg-fortran.
  • vcpkg-fortran is not a native only port because vcpkg-fortran-flang requires stuff from host (compiler) as well as the target (runtime).
  • Previous behavior, that if a Fortran compiler is found via CMake we don't require our internal one, is preserved. (Though we still pull in the dependencies so an overlay is advised any way)

(Probably need to add some supports statements for CI to get green.)

closes #15065

Neumann-A and others added 30 commits January 21, 2021 11:10
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/g2o/vcpkg.json

Valid values for the license field can be found in the documentation

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have modified or added at least one portfile where deprecated functions are used.

If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake -> vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_build_cmake -> vcpkg_cmake_build (from port vcpkg-cmake)
vcpkg_configure_cmake -> vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
vcpkg_fixup_cmake_targets -> vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)
vcpkg_extract_source_archive_ex -> vcpkg_extract_source_archive
vcpkg_build_msbuild -> vcpkg_install_msbuild
vcpkg_copy_tool_dependencies -> vcpkg_copy_tools
vcpkg_apply_patches should be replaced by the PATCHES arguments to the "extract" helpers (e.g. vcpkg_from_github())

In the ports that use the new function, you have to add the corresponding dependencies:

{
  "name": "vcpkg-cmake",
  "host": true
},
{
  "name": "vcpkg-cmake-config",
  "host": true
}

The following files are affected:

  • ports/clapack/portfile.cmake
  • ports/vcpkg-tool-flang-classic-llvm/portfile.cmake

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/g2o/vcpkg.json

Valid values for the license field can be found in the documentation

github-actions[bot]
github-actions bot previously approved these changes Oct 28, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have modified or added at least one portfile where deprecated functions are used.

If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake -> vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_build_cmake -> vcpkg_cmake_build (from port vcpkg-cmake)
vcpkg_configure_cmake -> vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
vcpkg_fixup_cmake_targets -> vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)
vcpkg_extract_source_archive_ex -> vcpkg_extract_source_archive
vcpkg_build_msbuild -> vcpkg_install_msbuild
vcpkg_copy_tool_dependencies -> vcpkg_copy_tools
vcpkg_apply_patches should be replaced by the PATCHES arguments to the "extract" helpers (e.g. vcpkg_from_github())

In the ports that use the new function, you have to add the corresponding dependencies:

{
  "name": "vcpkg-cmake",
  "host": true
},
{
  "name": "vcpkg-cmake-config",
  "host": true
}

The following files are affected:

  • ports/clapack/portfile.cmake
  • ports/vcpkg-tool-flang-classic-llvm/portfile.cmake

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/g2o/vcpkg.json

Valid values for the license field can be found in the documentation

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have modified or added at least one portfile where deprecated functions are used.

If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake -> vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_build_cmake -> vcpkg_cmake_build (from port vcpkg-cmake)
vcpkg_configure_cmake -> vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
vcpkg_fixup_cmake_targets -> vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)
vcpkg_extract_source_archive_ex -> vcpkg_extract_source_archive
vcpkg_build_msbuild -> vcpkg_install_msbuild
vcpkg_copy_tool_dependencies -> vcpkg_copy_tools
vcpkg_apply_patches should be replaced by the PATCHES arguments to the "extract" helpers (e.g. vcpkg_from_github())

In the ports that use the new function, you have to add the corresponding dependencies:

{
  "name": "vcpkg-cmake",
  "host": true
},
{
  "name": "vcpkg-cmake-config",
  "host": true
}

The following files are affected:

  • ports/clapack/portfile.cmake
  • ports/vcpkg-tool-flang-classic-llvm/portfile.cmake

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/g2o/vcpkg.json

Valid values for the license field can be found in the documentation

github-actions[bot]
github-actions bot previously approved these changes Nov 10, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have modified or added at least one portfile where deprecated functions are used.

If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake -> vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_build_cmake -> vcpkg_cmake_build (from port vcpkg-cmake)
vcpkg_configure_cmake -> vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
vcpkg_fixup_cmake_targets -> vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)
vcpkg_extract_source_archive_ex -> vcpkg_extract_source_archive
vcpkg_build_msbuild -> vcpkg_install_msbuild
vcpkg_copy_tool_dependencies -> vcpkg_copy_tools
vcpkg_apply_patches should be replaced by the PATCHES arguments to the "extract" helpers (e.g. vcpkg_from_github())

In the ports that use the new function, you have to add the corresponding dependencies:

{
  "name": "vcpkg-cmake",
  "host": true
},
{
  "name": "vcpkg-cmake-config",
  "host": true
}

The following files are affected:

  • ports/clapack/portfile.cmake
  • ports/vcpkg-tool-flang-classic-llvm/portfile.cmake

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/g2o/vcpkg.json

Valid values for the license field can be found in the documentation

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

PRs must add only one version and must not modify any published versions

When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.

error: checked-in files for vcpkg-ifort-libs have changed but the version was not updated
version: 2022-02-22
old SHA: c0148d6db5c739e18a606e809148b507a85ee585
new SHA: 8e12dcfdf298cdfa1257187a3b26a274e62897fd
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***

You have modified or added at least one portfile where deprecated functions are used.

If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake -> vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_build_cmake -> vcpkg_cmake_build (from port vcpkg-cmake)
vcpkg_configure_cmake -> vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
vcpkg_fixup_cmake_targets -> vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)
vcpkg_extract_source_archive_ex -> vcpkg_extract_source_archive
vcpkg_build_msbuild -> vcpkg_install_msbuild
vcpkg_copy_tool_dependencies -> vcpkg_copy_tools
vcpkg_apply_patches should be replaced by the PATCHES arguments to the "extract" helpers (e.g. vcpkg_from_github())

In the ports that use the new function, you have to add the corresponding dependencies:

{
  "name": "vcpkg-cmake",
  "host": true
},
{
  "name": "vcpkg-cmake-config",
  "host": true
}

The following files are affected:

  • ports/clapack/portfile.cmake
  • ports/vcpkg-tool-flang-classic-llvm/portfile.cmake

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/g2o/vcpkg.json

Valid values for the license field can be found in the documentation

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

PRs must add only one version and must not modify any published versions

When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.

error: checked-in files for vcpkg-ifort-libs have changed but the version was not updated
version: 2022-02-22
old SHA: c0148d6db5c739e18a606e809148b507a85ee585
new SHA: 8e12dcfdf298cdfa1257187a3b26a274e62897fd
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***

You have modified or added at least one portfile where deprecated functions are used.

If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake -> vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_build_cmake -> vcpkg_cmake_build (from port vcpkg-cmake)
vcpkg_configure_cmake -> vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
vcpkg_fixup_cmake_targets -> vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)
vcpkg_extract_source_archive_ex -> vcpkg_extract_source_archive
vcpkg_build_msbuild -> vcpkg_install_msbuild
vcpkg_copy_tool_dependencies -> vcpkg_copy_tools
vcpkg_apply_patches should be replaced by the PATCHES arguments to the "extract" helpers (e.g. vcpkg_from_github())

In the ports that use the new function, you have to add the corresponding dependencies:

{
  "name": "vcpkg-cmake",
  "host": true
},
{
  "name": "vcpkg-cmake-config",
  "host": true
}

The following files are affected:

  • ports/clapack/portfile.cmake
  • ports/vcpkg-tool-flang-classic-llvm/portfile.cmake

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/g2o/vcpkg.json

Valid values for the license field can be found in the documentation

…rt_combined

# Conflicts:
#	scripts/ci.baseline.txt
…rt_combined

# Conflicts:
#	ports/lapack-reference/portfile.cmake
#	ports/lapack-reference/vcpkg.json
#	ports/vcpkg-cmake-get-vars/vcpkg.json
#	scripts/toolchains/uwp.cmake
#	scripts/toolchains/windows.cmake
#	versions/baseline.json
#	versions/l-/lapack-reference.json
#	versions/v-/vcpkg-cmake-get-vars.json
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

PRs must add only one version and must not modify any published versions

When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.

error: checked-in files for vcpkg-tool-flang-classic have changed but the version was not updated
version: 2022-04-23
old SHA: 661b84fee23dfc1072d05fa600ceef7ad27c7ed2
new SHA: 9798ffb985671b2a58880c6224661524b345447f
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for flang-classic-fortran-runtime have changed but the version was not updated
version: 2022-04-23
old SHA: 012599ade9a1ba46fe047872f8ddf79d41b2fdc1
new SHA: 86bd461193e422dbd2ff2ea851ea21a244045d3f
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for vcpkg-ifort-libs have changed but the version was not updated
version: 2022-02-22
old SHA: c0148d6db5c739e18a606e809148b507a85ee585
new SHA: 8e12dcfdf298cdfa1257187a3b26a274e62897fd
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for pgmath have changed but the version was not updated
version: 2022-04-23
old SHA: 6f681ce3b6e748ed291c18c6594b3844fcd74aed
new SHA: 9c686bd0ef64c849bc1fa8b069d17070d8593a79
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for vcpkg-cmake-get-vars have changed but the version was not updated
version: 2022-12-16
old SHA: bad453fe7f58edb2e8d0093692dcaa52347e446c
new SHA: e5e51f62fda3af43f0371255f7cc8dd55a9bb22c
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout ac12118f02e127ef1fe9806ffe1a23e7db7ef988 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index e38f43fd..5f171160 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -541,8 +541,8 @@
       "port-version": 0
     },
     "blas": {
-      "baseline": "1",
-      "port-version": 1
+      "baseline": "default",
+      "port-version": 0
     },
     "blaze": {
       "baseline": "3.8.1",
@@ -1462,7 +1462,7 @@
     },
     "clapack": {
       "baseline": "3.2.1",
-      "port-version": 20
+      "port-version": 21
     },
     "clara": {
       "baseline": "1.1.5",
@@ -2368,6 +2368,10 @@
       "baseline": "2022.10.31.00",
       "port-version": 0
     },
+    "flang-classic-fortran-runtime": {
+      "baseline": "2022-04-23",
+      "port-version": 0
+    },
     "flann": {
       "baseline": "2019-04-07",
       "port-version": 6
@@ -2550,7 +2554,7 @@
     },
     "g2o": {
       "baseline": "2020-02-07",
-      "port-version": 2
+      "port-version": 3
     },
     "g3log": {
       "baseline": "2.1",
@@ -2614,7 +2618,7 @@
     },
     "geogram": {
       "baseline": "1.7.6",
-      "port-version": 4
+      "port-version": 5
     },
     "geographiclib": {
       "baseline": "2.1.2",
@@ -3557,12 +3561,12 @@
       "port-version": 0
     },
     "lapack": {
-      "baseline": "2022-02-22",
+      "baseline": "default",
       "port-version": 0
     },
     "lapack-reference": {
       "baseline": "3.11.0",
-      "port-version": 0
+      "port-version": 1
     },
     "lastools": {
       "baseline": "2020-05-09",
@@ -5876,6 +5880,10 @@
       "baseline": "2019-05-14",
       "port-version": 1
     },
+    "pgmath": {
+      "baseline": "2022-04-23",
+      "port-version": 0
+    },
     "phnt": {
       "baseline": "2020-12-21",
       "port-version": 0
@@ -7956,6 +7964,18 @@
       "baseline": "2022-12-16",
       "port-version": 0
     },
+    "vcpkg-fortran": {
+      "baseline": "2022-02-22",
+      "port-version": 0
+    },
+    "vcpkg-fortran-flang-classic": {
+      "baseline": "2022-02-22",
+      "port-version": 0
+    },
+    "vcpkg-fortran-ifort": {
+      "baseline": "2022-02-22",
+      "port-version": 0
+    },
     "vcpkg-get-python-packages": {
       "baseline": "2022-06-30",
       "port-version": 0
@@ -7968,6 +7988,10 @@
       "baseline": "2021-11-16",
       "port-version": 2
     },
+    "vcpkg-ifort-libs": {
+      "baseline": "2022-02-22",
+      "port-version": 0
+    },
     "vcpkg-pkgconfig-get-modules": {
       "baseline": "2022-02-10",
       "port-version": 1
@@ -7976,10 +8000,22 @@
       "baseline": "2022-11-16",
       "port-version": 0
     },
+    "vcpkg-tool-7zip": {
+      "baseline": "21.07",
+      "port-version": 0
+    },
     "vcpkg-tool-bazel": {
       "baseline": "5.2.0",
       "port-version": 0
     },
+    "vcpkg-tool-flang-classic": {
+      "baseline": "2022-04-23",
+      "port-version": 0
+    },
+    "vcpkg-tool-flang-classic-llvm": {
+      "baseline": "2022-12-17",
+      "port-version": 0
+    },
     "vcpkg-tool-gn": {
       "baseline": "2022-04-16",
       "port-version": 1
@@ -7988,10 +8024,18 @@
       "baseline": "2022-03-04",
       "port-version": 0
     },
+    "vcpkg-tool-ifort": {
+      "baseline": "2022-05-08",
+      "port-version": 0
+    },
     "vcpkg-tool-lessmsi": {
       "baseline": "1.10.0",
       "port-version": 0
     },
+    "vcpkg-tool-llvm": {
+      "baseline": "14.0.3",
+      "port-version": 0
+    },
     "vcpkg-tool-meson": {
       "baseline": "0.63",
       "port-version": 0
diff --git a/versions/l-/lapack-reference.json b/versions/l-/lapack-reference.json
index 65d15644..9febf2c6 100644
--- a/versions/l-/lapack-reference.json
+++ b/versions/l-/lapack-reference.json
@@ -1,5 +1,10 @@
 {
   "versions": [
+    {
+      "git-tree": "afd99707f4e4ab031b34b65ca4a9ad08951f3597",
+      "version": "3.11.0",
+      "port-version": 1
+    },
     {
       "git-tree": "17a29c388c22fa340ab6c87b4df6ba6bad201de4",
       "version": "3.11.0",
diff --git a/versions/v-/vcpkg-tool-flang-classic-llvm.json b/versions/v-/vcpkg-tool-flang-classic-llvm.json
index de6f6b41..e9f96b13 100644
--- a/versions/v-/vcpkg-tool-flang-classic-llvm.json
+++ b/versions/v-/vcpkg-tool-flang-classic-llvm.json
@@ -1,5 +1,10 @@
 {
   "versions": [
+    {
+      "git-tree": "f654b498a40e0a7c77f97c433aa72052676fc34f",
+      "version-date": "2022-12-17",
+      "port-version": 0
+    },
     {
       "git-tree": "5e8c5aa7a90c394dad72634979ec25e37b3c326f",
       "version-date": "2022-04-23",

You have modified or added at least one portfile where deprecated functions are used.

If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake -> vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_build_cmake -> vcpkg_cmake_build (from port vcpkg-cmake)
vcpkg_configure_cmake -> vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
vcpkg_fixup_cmake_targets -> vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)
vcpkg_extract_source_archive_ex -> vcpkg_extract_source_archive
vcpkg_build_msbuild -> vcpkg_install_msbuild
vcpkg_copy_tool_dependencies -> vcpkg_copy_tools
vcpkg_apply_patches should be replaced by the PATCHES arguments to the "extract" helpers (e.g. vcpkg_from_github())

In the ports that use the new function, you have to add the corresponding dependencies:

{
  "name": "vcpkg-cmake",
  "host": true
},
{
  "name": "vcpkg-cmake-config",
  "host": true
}

The following files are affected:

  • ports/clapack/portfile.cmake
  • ports/vcpkg-tool-flang-classic-llvm/portfile.cmake

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/g2o/vcpkg.json

Valid values for the license field can be found in the documentation

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

PRs must add only one version and must not modify any published versions

When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.

error: checked-in files for vcpkg-tool-flang-classic have changed but the version was not updated
version: 2022-04-23
old SHA: 661b84fee23dfc1072d05fa600ceef7ad27c7ed2
new SHA: 9798ffb985671b2a58880c6224661524b345447f
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for flang-classic-fortran-runtime have changed but the version was not updated
version: 2022-04-23
old SHA: 012599ade9a1ba46fe047872f8ddf79d41b2fdc1
new SHA: ef04313783652008279d8cf02f4fa155033086f0
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for vcpkg-ifort-libs have changed but the version was not updated
version: 2022-02-22
old SHA: c0148d6db5c739e18a606e809148b507a85ee585
new SHA: 8e12dcfdf298cdfa1257187a3b26a274e62897fd
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for pgmath have changed but the version was not updated
version: 2022-04-23
old SHA: 6f681ce3b6e748ed291c18c6594b3844fcd74aed
new SHA: 9c686bd0ef64c849bc1fa8b069d17070d8593a79
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for vcpkg-cmake-get-vars have changed but the version was not updated
version: 2022-12-16
old SHA: bad453fe7f58edb2e8d0093692dcaa52347e446c
new SHA: e5e51f62fda3af43f0371255f7cc8dd55a9bb22c
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 91dd61bd441a68b4017b61011d0350b2e6aeeccf -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 1bda4f83..e6bfa67e 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -541,8 +541,8 @@
       "port-version": 0
     },
     "blas": {
-      "baseline": "1",
-      "port-version": 1
+      "baseline": "default",
+      "port-version": 0
     },
     "blaze": {
       "baseline": "3.8.1",
@@ -1462,7 +1462,7 @@
     },
     "clapack": {
       "baseline": "3.2.1",
-      "port-version": 20
+      "port-version": 21
     },
     "clara": {
       "baseline": "1.1.5",
@@ -2368,6 +2368,10 @@
       "baseline": "2022.10.31.00",
       "port-version": 0
     },
+    "flang-classic-fortran-runtime": {
+      "baseline": "2022-04-23",
+      "port-version": 0
+    },
     "flann": {
       "baseline": "2019-04-07",
       "port-version": 6
@@ -2550,7 +2554,7 @@
     },
     "g2o": {
       "baseline": "2020-02-07",
-      "port-version": 2
+      "port-version": 3
     },
     "g3log": {
       "baseline": "2.1",
@@ -2614,7 +2618,7 @@
     },
     "geogram": {
       "baseline": "1.7.6",
-      "port-version": 4
+      "port-version": 5
     },
     "geographiclib": {
       "baseline": "2.1.2",
@@ -3557,12 +3561,12 @@
       "port-version": 0
     },
     "lapack": {
-      "baseline": "2022-02-22",
+      "baseline": "default",
       "port-version": 0
     },
     "lapack-reference": {
       "baseline": "3.11.0",
-      "port-version": 0
+      "port-version": 1
     },
     "lastools": {
       "baseline": "2020-05-09",
@@ -5876,6 +5880,10 @@
       "baseline": "2019-05-14",
       "port-version": 1
     },
+    "pgmath": {
+      "baseline": "2022-04-23",
+      "port-version": 0
+    },
     "phnt": {
       "baseline": "2020-12-21",
       "port-version": 0
@@ -7956,6 +7964,18 @@
       "baseline": "2022-12-16",
       "port-version": 0
     },
+    "vcpkg-fortran": {
+      "baseline": "2022-02-22",
+      "port-version": 0
+    },
+    "vcpkg-fortran-flang-classic": {
+      "baseline": "2022-02-22",
+      "port-version": 0
+    },
+    "vcpkg-fortran-ifort": {
+      "baseline": "2022-02-22",
+      "port-version": 0
+    },
     "vcpkg-get-python-packages": {
       "baseline": "2022-06-30",
       "port-version": 0
@@ -7968,6 +7988,10 @@
       "baseline": "2021-11-16",
       "port-version": 3
     },
+    "vcpkg-ifort-libs": {
+      "baseline": "2022-02-22",
+      "port-version": 0
+    },
     "vcpkg-pkgconfig-get-modules": {
       "baseline": "2022-02-10",
       "port-version": 1
@@ -7976,10 +8000,22 @@
       "baseline": "2022-11-16",
       "port-version": 0
     },
+    "vcpkg-tool-7zip": {
+      "baseline": "21.07",
+      "port-version": 0
+    },
     "vcpkg-tool-bazel": {
       "baseline": "5.2.0",
       "port-version": 0
     },
+    "vcpkg-tool-flang-classic": {
+      "baseline": "2022-04-23",
+      "port-version": 0
+    },
+    "vcpkg-tool-flang-classic-llvm": {
+      "baseline": "2022-12-17",
+      "port-version": 0
+    },
     "vcpkg-tool-gn": {
       "baseline": "2022-04-16",
       "port-version": 1
@@ -7988,10 +8024,18 @@
       "baseline": "2022-10-15",
       "port-version": 0
     },
+    "vcpkg-tool-ifort": {
+      "baseline": "2022-05-08",
+      "port-version": 0
+    },
     "vcpkg-tool-lessmsi": {
       "baseline": "1.10.0",
       "port-version": 0
     },
+    "vcpkg-tool-llvm": {
+      "baseline": "14.0.3",
+      "port-version": 0
+    },
     "vcpkg-tool-meson": {
       "baseline": "0.63",
       "port-version": 0
diff --git a/versions/l-/lapack-reference.json b/versions/l-/lapack-reference.json
index 65d15644..9febf2c6 100644
--- a/versions/l-/lapack-reference.json
+++ b/versions/l-/lapack-reference.json
@@ -1,5 +1,10 @@
 {
   "versions": [
+    {
+      "git-tree": "afd99707f4e4ab031b34b65ca4a9ad08951f3597",
+      "version": "3.11.0",
+      "port-version": 1
+    },
     {
       "git-tree": "17a29c388c22fa340ab6c87b4df6ba6bad201de4",
       "version": "3.11.0",
diff --git a/versions/v-/vcpkg-tool-flang-classic-llvm.json b/versions/v-/vcpkg-tool-flang-classic-llvm.json
index de6f6b41..e9f96b13 100644
--- a/versions/v-/vcpkg-tool-flang-classic-llvm.json
+++ b/versions/v-/vcpkg-tool-flang-classic-llvm.json
@@ -1,5 +1,10 @@
 {
   "versions": [
+    {
+      "git-tree": "f654b498a40e0a7c77f97c433aa72052676fc34f",
+      "version-date": "2022-12-17",
+      "port-version": 0
+    },
     {
       "git-tree": "5e8c5aa7a90c394dad72634979ec25e37b3c326f",
       "version-date": "2022-04-23",

You have modified or added at least one portfile where deprecated functions are used.

If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake -> vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_build_cmake -> vcpkg_cmake_build (from port vcpkg-cmake)
vcpkg_configure_cmake -> vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
vcpkg_fixup_cmake_targets -> vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)
vcpkg_extract_source_archive_ex -> vcpkg_extract_source_archive
vcpkg_build_msbuild -> vcpkg_install_msbuild
vcpkg_copy_tool_dependencies -> vcpkg_copy_tools
vcpkg_apply_patches should be replaced by the PATCHES arguments to the "extract" helpers (e.g. vcpkg_from_github())

In the ports that use the new function, you have to add the corresponding dependencies:

{
  "name": "vcpkg-cmake",
  "host": true
},
{
  "name": "vcpkg-cmake-config",
  "host": true
}

The following files are affected:

  • ports/clapack/portfile.cmake
  • ports/vcpkg-tool-flang-classic-llvm/portfile.cmake

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/g2o/vcpkg.json

Valid values for the license field can be found in the documentation

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

PRs must add only one version and must not modify any published versions

When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.

error: checked-in files for vcpkg-tool-flang-classic have changed but the version was not updated
version: 2022-04-23
old SHA: 661b84fee23dfc1072d05fa600ceef7ad27c7ed2
new SHA: 9798ffb985671b2a58880c6224661524b345447f
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for flang-classic-fortran-runtime have changed but the version was not updated
version: 2022-04-23
old SHA: 012599ade9a1ba46fe047872f8ddf79d41b2fdc1
new SHA: ef04313783652008279d8cf02f4fa155033086f0
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for vcpkg-ifort-libs have changed but the version was not updated
version: 2022-02-22
old SHA: c0148d6db5c739e18a606e809148b507a85ee585
new SHA: 8e12dcfdf298cdfa1257187a3b26a274e62897fd
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for pgmath have changed but the version was not updated
version: 2022-04-23
old SHA: 6f681ce3b6e748ed291c18c6594b3844fcd74aed
new SHA: 9c686bd0ef64c849bc1fa8b069d17070d8593a79
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for vcpkg-cmake-get-vars have changed but the version was not updated
version: 2022-12-16
old SHA: bad453fe7f58edb2e8d0093692dcaa52347e446c
new SHA: e5e51f62fda3af43f0371255f7cc8dd55a9bb22c
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 91dd61bd441a68b4017b61011d0350b2e6aeeccf -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 1bda4f83..1d24428d 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -541,8 +541,8 @@
       "port-version": 0
     },
     "blas": {
-      "baseline": "1",
-      "port-version": 1
+      "baseline": "default",
+      "port-version": 0
     },
     "blaze": {
       "baseline": "3.8.1",
@@ -1462,7 +1462,7 @@
     },
     "clapack": {
       "baseline": "3.2.1",
-      "port-version": 20
+      "port-version": 21
     },
     "clara": {
       "baseline": "1.1.5",
@@ -2368,6 +2368,10 @@
       "baseline": "2022.10.31.00",
       "port-version": 0
     },
+    "flang-classic-fortran-runtime": {
+      "baseline": "2022-04-23",
+      "port-version": 0
+    },
     "flann": {
       "baseline": "2019-04-07",
       "port-version": 6
@@ -2550,7 +2554,7 @@
     },
     "g2o": {
       "baseline": "2020-02-07",
-      "port-version": 2
+      "port-version": 3
     },
     "g3log": {
       "baseline": "2.1",
@@ -2614,7 +2618,7 @@
     },
     "geogram": {
       "baseline": "1.7.6",
-      "port-version": 4
+      "port-version": 5
     },
     "geographiclib": {
       "baseline": "2.1.2",
@@ -3557,12 +3561,12 @@
       "port-version": 0
     },
     "lapack": {
-      "baseline": "2022-02-22",
+      "baseline": "default",
       "port-version": 0
     },
     "lapack-reference": {
       "baseline": "3.11.0",
-      "port-version": 0
+      "port-version": 1
     },
     "lastools": {
       "baseline": "2020-05-09",
@@ -5876,6 +5880,10 @@
       "baseline": "2019-05-14",
       "port-version": 1
     },
+    "pgmath": {
+      "baseline": "2022-04-23",
+      "port-version": 0
+    },
     "phnt": {
       "baseline": "2020-12-21",
       "port-version": 0
@@ -7956,6 +7964,18 @@
       "baseline": "2022-12-16",
       "port-version": 0
     },
+    "vcpkg-fortran": {
+      "baseline": "2022-02-22",
+      "port-version": 0
+    },
+    "vcpkg-fortran-flang-classic": {
+      "baseline": "2022-02-22",
+      "port-version": 0
+    },
+    "vcpkg-fortran-ifort": {
+      "baseline": "2022-02-22",
+      "port-version": 0
+    },
     "vcpkg-get-python-packages": {
       "baseline": "2022-06-30",
       "port-version": 0
@@ -7968,6 +7988,10 @@
       "baseline": "2021-11-16",
       "port-version": 3
     },
+    "vcpkg-ifort-libs": {
+      "baseline": "2022-02-22",
+      "port-version": 0
+    },
     "vcpkg-pkgconfig-get-modules": {
       "baseline": "2022-02-10",
       "port-version": 1
@@ -7976,10 +8000,22 @@
       "baseline": "2022-11-16",
       "port-version": 0
     },
+    "vcpkg-tool-7zip": {
+      "baseline": "21.07",
+      "port-version": 0
+    },
     "vcpkg-tool-bazel": {
       "baseline": "5.2.0",
       "port-version": 0
     },
+    "vcpkg-tool-flang-classic": {
+      "baseline": "2022-04-23",
+      "port-version": 0
+    },
+    "vcpkg-tool-flang-classic-llvm": {
+      "baseline": "2022-12-17",
+      "port-version": 0
+    },
     "vcpkg-tool-gn": {
       "baseline": "2022-04-16",
       "port-version": 1
@@ -7988,10 +8024,18 @@
       "baseline": "2022-10-15",
       "port-version": 0
     },
+    "vcpkg-tool-ifort": {
+      "baseline": "2022-05-08",
+      "port-version": 0
+    },
     "vcpkg-tool-lessmsi": {
       "baseline": "1.10.0",
       "port-version": 0
     },
+    "vcpkg-tool-llvm": {
+      "baseline": "15.0.7",
+      "port-version": 0
+    },
     "vcpkg-tool-meson": {
       "baseline": "0.63",
       "port-version": 0
diff --git a/versions/l-/lapack-reference.json b/versions/l-/lapack-reference.json
index 65d15644..9febf2c6 100644
--- a/versions/l-/lapack-reference.json
+++ b/versions/l-/lapack-reference.json
@@ -1,5 +1,10 @@
 {
   "versions": [
+    {
+      "git-tree": "afd99707f4e4ab031b34b65ca4a9ad08951f3597",
+      "version": "3.11.0",
+      "port-version": 1
+    },
     {
       "git-tree": "17a29c388c22fa340ab6c87b4df6ba6bad201de4",
       "version": "3.11.0",
diff --git a/versions/v-/vcpkg-tool-flang-classic-llvm.json b/versions/v-/vcpkg-tool-flang-classic-llvm.json
index de6f6b41..e9f96b13 100644
--- a/versions/v-/vcpkg-tool-flang-classic-llvm.json
+++ b/versions/v-/vcpkg-tool-flang-classic-llvm.json
@@ -1,5 +1,10 @@
 {
   "versions": [
+    {
+      "git-tree": "f654b498a40e0a7c77f97c433aa72052676fc34f",
+      "version-date": "2022-12-17",
+      "port-version": 0
+    },
     {
       "git-tree": "5e8c5aa7a90c394dad72634979ec25e37b3c326f",
       "version-date": "2022-04-23",
diff --git a/versions/v-/vcpkg-tool-llvm.json b/versions/v-/vcpkg-tool-llvm.json
index fe80f786..6391effa 100644
--- a/versions/v-/vcpkg-tool-llvm.json
+++ b/versions/v-/vcpkg-tool-llvm.json
@@ -1,5 +1,10 @@
 {
   "versions": [
+    {
+      "git-tree": "6f93a351919d7353075ee571182511fcdbb7fc2d",
+      "version": "15.0.7",
+      "port-version": 0
+    },
     {
       "git-tree": "2eae9ffed05d40559cc0a2c971e9551cfaa16c07",
       "version": "14.0.3",

You have modified or added at least one portfile where deprecated functions are used.

If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake -> vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_build_cmake -> vcpkg_cmake_build (from port vcpkg-cmake)
vcpkg_configure_cmake -> vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
vcpkg_fixup_cmake_targets -> vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)
vcpkg_extract_source_archive_ex -> vcpkg_extract_source_archive
vcpkg_build_msbuild -> vcpkg_install_msbuild
vcpkg_copy_tool_dependencies -> vcpkg_copy_tools
vcpkg_apply_patches should be replaced by the PATCHES arguments to the "extract" helpers (e.g. vcpkg_from_github())

In the ports that use the new function, you have to add the corresponding dependencies:

{
  "name": "vcpkg-cmake",
  "host": true
},
{
  "name": "vcpkg-cmake-config",
  "host": true
}

The following files are affected:

  • ports/clapack/portfile.cmake
  • ports/vcpkg-tool-flang-classic-llvm/portfile.cmake

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/g2o/vcpkg.json

Valid values for the license field can be found in the documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:new-port The issue is requesting a new library to be added; consider making a PR! category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[vcpkg] Fortran: switch from gfortran to ifort?
7 participants