aboutsummaryrefslogtreecommitdiffstats
path: root/mach.bat
Commit message (Collapse)AuthorAgeFilesLines
* mach: adopt `uv` and avoid system python (#34632)Mukilan Thiyagarajan2024-12-161-7/+2
| | | | | | | | | | | | | | | | This allows us to use `uv` for: 1. Installing a pinned Python version 2. Installing the dependency packages using `uv`'s pip compatible interface. 4. Bootstrapping `mach` without a Python installion on the host, using `uv run` This change also introduces a new 'composite' GitHub action to setup python in the different CI workflows. There is no support for externally managed python installations and virtual environments. These could be added in the future. Fixes #34095, #34547 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* tweak mach files a little bit (#34485)Peter Mikola2024-12-061-2/+3
| | | Signed-off-by: Peter MIKOLA <mikopet@mikopet.dev>
* Make mach.bat request Python 3Dominic Cooney2021-05-221-1/+1
| | | | | | | | | The mach Python script no longer supports Python 2, so don't use Python 2. Fixes #28379 Signed-off-by: Dominic Cooney <dominic.cooney@gmail.com>
* Launch vcvarsall.bat for the recognized VS Installation Directory from ↵MeFisto942019-12-231-57/+0
| | | | python instead of making mach.bat try that on hardcoded paths.
* Rework mach.bat to support VS2019 and user-supplied environments.TheGoddessInari2019-04-011-10/+31
| | | | As a bonus, use setlocal to avoid environment pollution.
* Default mach.bat to using py -2.TheGoddessInari2019-04-011-1/+6
| | | | | | | | | Servo already assumes the user has Python, this is the primary way to make sure that Python 2 is preferred, and you should get a sensible error message if you have python 3 but not 2. But first, check that py.exe exists because if a system has only Python 2.x only, it won't have it. If it doesn't, then try python.exe.
* mach.bat: exit with an error codeSimon Sapin2018-10-081-2/+2
|
* Revert "build(mach): locate vs via vswhere on win32"Josh Matthews2018-08-201-0/+37
| | | | This reverts commit c20efd5e9a1999d8253be3063113ab3c3a9ee77e.
* build(mach): locate vs via vswhere on win32OJ Kwon2018-06-201-37/+0
|
* Get back to working dir after vcvarsall.batAndrés Barreiro2017-11-211-0/+4
| | | | | When using cmd.exe directly, vcvarsall.bat changes the working directory. To prevent this, pushd and popd could be used.
* update just VS buildtool for Windows buildtigercosmos2017-09-091-1/+1
|
* Add support for Visual Studio 2017UK9922017-04-111-3/+19
|
* Fix hardcoded path to link.exeUK9922017-02-031-1/+1
|
* Windows MSVC: Define vcvars in mach.batUK9922016-08-221-0/+17
|
* Native MSVC windows build, convert to cmakeVladimir Vukicevic2016-08-171-0/+2