14 Commits

Author SHA1 Message Date
jim wang
7d693d2446
[chakracore] Fix compilation command running path (#38392)
Fix one of https://github.com/microsoft/vcpkg/issues/32398 issue.
The local test is compiled and passed under Linux. However, there is no
clang compiler on the CI environment, causing the compilation to fail,
so the restrictions in ci.baseline.txt cannot be lifted.

- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] ~~SHA512s are updated for each updated download.~~
- [ ] ~~The "supports" clause reflects platforms that may be fixed by
this new version.~~
- [ ] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [ ] ~~Any patches that are no longer applied are deleted from the
port's directory.~~
- [X] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [X] Only one version is added to each modified port's versions file.

Compile test pass with following triplets:
```
x64-linux
x64-windows
```
2024-04-26 13:17:27 -04:00
Leonid Pospelov
3906e024b8
[chakracore] update to 2024-04-20 (#38293)
ChakraCore recently released a fix for a critical issue: crashing on
some Linux distributions.

https://github.com/chakra-core/ChakraCore/pull/6932
2024-04-22 10:18:29 -04:00
MonicaLiu
4f555033d3
[chakracore] Avoid using MSVC-internal _STRINGIZE (#37242)
Microsoft's C++ standard library recently merged microsoft/STL#4405 to
remove the internal `_STRINGIZE` macro. `chakracore` was using this MSVC
internal macro, so `avoid_msvc_internal_STRINGIZE.patch` was added to
adapt it to the microsoft/STL changes. Reference:
https://github.com/chakra-core/ChakraCore/pull/6970.

- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] ~SHA512s are updated for each updated download.~
- [ ] ~The "supports" clause reflects platforms that may be fixed by
this new version.~
- [ ] ~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~
- [ ] ~Any patches that are no longer applied are deleted from the
port's directory.~
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
2024-03-07 22:03:05 -08:00
Leonid Pospelov
3b7578831d
[chakracore] enable static crt (#34270) 2023-10-04 16:55:03 -07:00
Alexander Neumann
3c268c7706
[chakracore] msbuild (#33182)
* chakracore msbuild

* v db

* add features

* fix control flow

* v db

* format-manifest

* v db

* Fix build

* v db
2023-08-17 14:22:37 -07:00
Leonid Pospelov
6591bd9dfd
[ChakraCore] enable building without dotnet sdk installed (#30614)
* Update portfile.cmake

* Update vcpkg.json

* Update baseline.json

* Update chakracore.json

* Update chakracore.json
2023-04-03 09:52:26 -07:00
Leonid Pospelov
cf4f1fb3eb
[ChakraCore] enable find_package (#28769)
* [chakracore] add cmake config

* .

* .

* .

* wip

* fix review comments

* .
2023-01-31 16:00:25 -08:00
Leonid Pospelov
1b5f1aacad
[ChakraCore] Fix Linux build (/lib only) (#28689)
* [chakracore] Fix Linux build

* port-ver

* add-ver

* lib for all

* Update chakracore.json
2023-01-04 12:32:36 -08:00
Leonid Pospelov
df51b93304
[chakracore] Update to 2022-11-09 (#28472)
* [chakracore] Update port

* add version

* .

* remove obsolete funcs

* .

* more tools

* .

* remove obsolete code

* ad ver

* remove excess lib

* remove excess lib

* .

* fix win32

* happy new year bonchEquipment and valitovaa

* update

* fix

* fix

* addver

* fix-plat

* .
2022-12-28 13:01:51 -08:00
Billy O'Neal
22bb9aa810
[chakracore] Avoid race condition on generated headers. (#27968)
* [chakracore] Avoid race condition on generated headers.

* Add license.
2022-11-25 01:10:41 -08:00
Billy O'Neal
a84adb4e56
[chakracore] Remove vcpkg_fail_port_install. (#22733)
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 https://github.com/microsoft/vcpkg/pull/21502
2022-01-24 02:20:27 -08:00
Leonid Pospelov
73e1ed0263
[chakracore] Add flag to use all available CPUs (#22439)
* Update portfile.cmake

* Update vcpkg.json

* Update baseline.json

* Update chakracore.json

* Update portfile.cmake

* Update chakracore.json

* Update portfile.cmake

* Update portfile.cmake

* Update chakracore.json

* Update portfile.cmake

* Update chakracore.json

* Update ports/chakracore/vcpkg.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update chakracore.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
2022-01-11 14:28:06 -08:00
Leonid Pospelov
cdd51899f6
[ChakraCore] Add Linux support (#18476)
* [ChakraCore] Add Linux support

* Fix

* x-add-version

* Update ci.baseline.txt

* Update portfile.cmake

* Do not emit error if VCPKG_BUILD_TYPE is undefined

* Update ports/chakracore/portfile.cmake

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Update ports/chakracore/portfile.cmake

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Update ports/chakracore/portfile.cmake

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Update ports/chakracore/portfile.cmake

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Update ports/chakracore/portfile.cmake

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* Add missing space

* Add quotes to variables

* Update the baseline version

* Fix Windows build

* vcpkg x-add-version chakracore

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2021-07-22 22:58:17 -07:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00