• Home
  • Raw
  • Download

Lines Matching +full:meson +full:- +full:version

7   [int] $version = $(throw "specify version to upload")  variable
15 $GS_BASE_URL = 'gs://chromeos-localmirror/distfiles/prebuilts/windows/x86_64/gnu/libslirp/'
21 diff --git a/meson.build b/meson.build
23 --- a/meson.build
24 +++ b/meson.build
25 @@ -59,7 +59,8 @@ lt_version = '@0@.@1@.@2@'.format(lt_current - lt_age, lt_age, lt_revision)
29 -glib_dep = dependency('glib-2.0')
30 +glib_dep = dependency('glib-2.0', static: true)
33 add_project_arguments(cc.get_supported_arguments('-Wmissing-prototypes', '-Wstrict-prototypes',
34 … '-Wredundant-decls', '-Wundef', '-Wwrite-strings'),
35 @@ -127,6 +128,7 @@ sources = [
39 +vflag += '-Wl,-Bstatic'
40 vflag_test = '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile)
43 @@ -147,7 +149,7 @@ lib = library('slirp', sources,
47 - dependencies : [glib_dep, platform_deps],
56 Set-PSDebug -Trace 2
59 if (-not $skip_msys_setup) {
61 …Start-BitsTransfer -Source 'https://github.com/msys2/msys2-installer/releases/download/nightly-x86…
62 $MSYS_DEST_ARG = '-o' + $BASE_PATH
63 & $MSYS_INSTALLER -y $MSYS_DEST_ARG # Extract to C:\msys64
70 & $bash_cmd -lc ' '
72 … & $bash_cmd -lc 'pacman --noconfirm -Syuu' # Core update (in case any core packages are outdated)
73 & $bash_cmd -lc 'pacman --noconfirm -Syuu' # Normal update
76 …& $bash_cmd -lc 'pacman --noconfirm -Syuu mingw-w64-x86_64-meson ninja git mingw-w64-x86_64-gcc mi…
82 Push-Location
83 Set-Location $LIBSLIRP_PATH
85 Write-Output $LIBSLIRP_STATIC_COMPILE | git apply -
88 meson release --buildtype release
89 ninja -C release
90 meson debug --buildtype debug
91 ninja -C debug
93 Copy-Item .\release\libslirp.dll.a .\release\libslirp.lib
94 Copy-Item .\debug\libslirp.dll.a .\debug\libslirp.lib
96 …Write-Host Release binaries are located at: $LIBSLIRP_PATH\release\libslirp-0.dll and $LIBSLIRP_PA…
97 …Write-Host Debug binaries are located at: $LIBSLIRP_PATH\debug\libslirp-0.dll and $LIBSLIRP_PATH\d…
99 Write-Host Uploading build binaries
101 foreach ($prebuilt in 'libslirp-0.dll', 'libslirp.lib') {
102 …gsutil cp -n -a public-read $LIBSLIRP_PATH\$build_type\$prebuilt $GS_BASE_URL/$build_type/$version
109 Set-PSDebug -Trace 0
110 Write-Host Cleaning up
111 Remove-Item $MSYS_INSTALLER # Delete the archive again
112 Pop-Location