Skip to content

[chakracore] Remove vcpkg_fail_port_install.#22733

Merged
BillyONeal merged 1 commit intomicrosoft:masterfrom
BillyONeal:remove_fail_port_install_chakracore
Jan 24, 2022
Merged

[chakracore] Remove vcpkg_fail_port_install.#22733
BillyONeal merged 1 commit intomicrosoft:masterfrom
BillyONeal:remove_fail_port_install_chakracore

Conversation

@BillyONeal
Copy link
Member

@BillyONeal BillyONeal commented Jan 24, 2022

vcpkg.json and portfile.cmake disagreed.

vcpkg.json:     !osx & !uwp & (linux | !static)
portfile.cmake: !osx & !uwp & (!windows | !(static | staticcrt))

Trying to get portfile.cmake to agree:

!osx & !uwp & (!windows | !(static | staticcrt))             given
!osx & !uwp & (!windows | (!static & !staticcrt))            demorgan

Considering !osx is earlier, I'm assuming Linux and !Windows are equivalent here:

!osx & !uwp & (linux | (!static & !staticcrt))               (above)

I'm assuming that portfile.cmake just never considered staticrt and linux, so I'm adding that condition.

In support of #21502

vcpkg.json and portfile.cmake disagreed.

```
vcpkg.json:     !osx & !uwp & (linux | !static)
portfile.cmake: !osx & !uwp & (!windows | !(static | staticcrt))
```

Trying to get portfile.cmake to agree:

```
!osx & !uwp & (!windows | !(static | staticcrt))             given
!osx & !uwp & (!windows | (!static & !staticcrt))            demorgan
```

Considering !osx is earlier, I'm assuming Linux and !Windows are equivalent here:

```
!osx & !uwp & (linux | (!static & !staticcrt))               (above)
```

I'm assuming that portfile.cmake just never considered staticrt and linux, so I'm adding that condition.

In support of microsoft#21502
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 a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/chakracore/vcpkg.json

Valid values for the license field are listed at https://spdx.org/licenses/

@dg0yt
Copy link
Contributor

dg0yt commented Jan 24, 2022

I'm assuming Linux and !Windows are equivalent here

There are bsd, android and ios triplets.

@dg0yt
Copy link
Contributor

dg0yt commented Jan 24, 2022

(There is also mingw. I wish there was posix as rough positive equivalent of !windows.)

@BillyONeal
Copy link
Member Author

I'm assuming Linux and !Windows are equivalent here

There are bsd, android and ios triplets.

Yes, but I don't think chakracore cared about those.

@BillyONeal
Copy link
Member Author

(And of course folks trying to use such triplets were already presented with a rejection message.)

@JonLiu1993 JonLiu1993 added the category:port-bug The issue is with a library, which is something the port should already support label Jan 24, 2022
@JonLiu1993 JonLiu1993 added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Jan 24, 2022
@BillyONeal BillyONeal merged commit a84adb4 into microsoft:master Jan 24, 2022
@BillyONeal BillyONeal deleted the remove_fail_port_install_chakracore branch January 24, 2022 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:port-bug The issue is with a library, which is something the port should already support info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants