Unverified Commit a2f0f359 authored by boklm's avatar boklm
Browse files

packages: add support for Windows with Cygwin

parent 61ec5527
......@@ -13,6 +13,9 @@ tbb-testsuite-linux-i686: submodule-update
tbb-testsuite-native-osx-x86_64: submodule-update
$(rbm) build tbb-testsuite --target native-osx-x86_64
tbb-testsuite-native-cygwin-i686: submodule-update
$(rbm) build tbb-testsuite --target native-cygwin-i686
submodule-update:
git submodule update --init
......
#!/bin/sh
set -e
rootdir=$(pwd)
distdir=/var/tmp/dist/cygwin-setup
rm -Rf "$distdir"
mkdir -p "$distdir/cygwin-setup"
tar -C "$distdir/cygwin-setup" -xf cygwin-packages-[% c("var/packages_version") %].tar.bz2
cp -p setup-x86-[% c("var/setup_version") %].exe "$distdir/cygwin-setup/setup-x86.exe"
cat > "$distdir/cygwin-setup.bat" << EOF
SET ROOTDIR=%~dp0
CD %ROOTDIR%\\cygwin-setup
IF NOT EXIST %ROOTDIR%\\cygwin\\* setup-x86 -q -n -B -O -C Base -L -l %ROOTDIR%\\cygwin-setup -R %ROOTDIR%\\cygwin -P git,vim,perl-libxml-perl,perl-DateTime,perl-Digest-SHA,perl-File-Slurp,perl-IO-CaptureOutput,perl-IPC-Run,perl-JSON,perl-libwww-perl,perl-LWP-Protocol-https,perl-XML-LibXML,perl-Class-Singleton,perl-CPAN-Meta-Check,perl-Data-OptList,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Encode-Locale,perl-ExtUtils-Depends,perl-HTTP-Date,perl-HTTP-Message,perl-IO-HTML,perl-IPC-Run3,perl-LWP-MediaTypes,perl-Module-Implementation,perl-Module-Pluggable,perl-Params-Util,perl-Scalar-List-Utils,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Test-Deep,perl-Test-Fatal,perl-Test-Requires,perl-Test-Simple,perl-Test-Warnings,perl-Test-Without-Module,perl-TimeDate,perl-Try-Tiny,perl-URI,perl-XML-SAX-Base,perl-Module-Build,perl-Module-Runtime,perl-YAML,gnupg,patch,wget,curl,lynx,unzip
CD ..
EOF
cd /var/tmp/dist
zip -X -r "[% dest_dir _ '/' _ c('filename') %]" cygwin-setup
rm -Rf "$distdir"
# vim: filetype=yaml sw=2
version: '[% c("var/setup_version") %]_[% c("var/packages_version") %]'
filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].zip'
remote_docker: 0
var:
setup_version: 1
packages_version: 1
input_files:
- URL: 'https://people.torproject.org/~boklm/mirror/setup-x86-[% c("var/setup_version") %].exe'
file_gpg_id: 1
sig_ext: sig
gpg_keyring: cygwin.gpg
sha256sum: 5540542d7fa1d1f13453e7a250c1c6de44a6a794e81ffde0dfea6b5689dbc052
- URL: 'https://people.torproject.org/~boklm/mirror/cygwin-packages-[% c("var/packages_version") %].tar.bz2'
sha256sum: a724f21dc303eefac035c8a60a901fed009c9794c2af29962fbdeb6b03c2784c
......@@ -4,7 +4,7 @@ distdir=/var/tmp/dist/[% project %]
mkdir -p $distdir
tar xf [% project %]-[% c("version") %].tar.bz2
cd [% project %]-[% c("version") %]
./Configure -des -Dprefix=$distdir -Dusethreads -Duseithreads -Duserelocatableinc [% c("var/configure_opt") %]
./Configure -des -Dprefix=$distdir -Dusethreads -Duseithreads -Duserelocatableinc -Duseshrplib=false [% c("var/configure_opt") %]
make
make test
make install
......
......@@ -13,6 +13,8 @@ targets:
configure_opt: '-Acflags=-m32 -Aldflags=-m32'
native-osx-x86_64:
remote_docker: 0
native-cygwin-i686:
remote_docker: 0
input_files:
- project: docker-image
......
......@@ -2,11 +2,21 @@
set -e
rootdir=$(pwd)
mkdir -p /var/tmp/dist
rm -Rf /var/tmp/dist/perl
[% IF c("var/build_perl") %]
tar -C/var/tmp/dist -xf $rootdir/[% c('input_files_by_name/perl') %]
export PATH=/var/tmp/dist/perl/bin:$PATH
[% END %]
unset PERL5LIB PERL_LOCAL_LIB_ROOT PERL_MB_OPT PERL_MM_OPT
export PERL_MM_USE_DEFAULT=1
[% IF ! c("var/build_perl") %]
export PERL5LIB="/var/tmp/dist/perl/lib/perl5"
export PERL_LOCAL_LIB_ROOT="/var/tmp/dist/perl"
export PERL_MB_OPT="--install_base \"/var/tmp/dist/perl\""
export PERL_MM_OPT="INSTALL_BASE=/var/tmp/dist/perl"
[% END %]
modules='
Data-Dump-1.23 File-Path-2.12 IO-1.25 LWP-Protocol-https-6.06
XML-LibXML-2.0128 DateTime-1.39 File-Slurp-9999.19 IO-CaptureOutput-1.1104
......@@ -37,6 +47,7 @@ Module-Runtime-0.014
for module in $modules
do
test -f $module.tar.gz || continue
tar xf $module.tar.gz
cd $module
perl Makefile.PL
......
......@@ -17,25 +17,36 @@ var:
- libjpeg-dev
- libpng-dev
build_perl: 1
targets:
native-osx-x86_64:
remote_docker: 0
native-cygwin-i686:
remote_docker: 0
var:
build_perl: 0
input_files:
- project: docker-image
enable: '[% c("remote_docker") %]'
- project: perl
name: perl
enable: '[% c("var/build_perl") %]'
- URL: https://cpan.metacpan.org/authors/id/G/GA/GAAS/Data-Dump-1.23.tar.gz
sha256sum: af53b05ef1387b4cab4427e6789179283e4f0da8cf036e8db516ddb344512b65
- URL: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/DateTime-1.39.tar.gz
sha256sum: 2d876b624b9c0a18acea9d30495649daf11fb0e01171ef20780072ee97c4a494
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/M/MS/MSHELOR/Digest-SHA-5.96.tar.gz
sha256sum: 2b8e0a9b6e359d5e14159661647cc0fbde06beb7f2a24bf003f5fad0a3a2786a
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-Sender-1.300030.tar.gz
sha256sum: a7ec45897b131cd9534877cf81ccc03b699e2cb6bad265366601973a99f8dda2
......@@ -48,6 +59,7 @@ input_files:
- URL: https://cpan.metacpan.org/authors/id/U/UR/URI/File-Slurp-9999.19.tar.gz
sha256sum: ce29ebe995097ebd6e9bc03284714cdfa0c46dc94f6b14a56980747ea3253643
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/File-Temp-0.2304.tar.gz
sha256sum: 13415323e48f7c9f34efdedf3d35141a7c3435e2beb8c6b922229dc317d321ac
......@@ -63,18 +75,23 @@ input_files:
- URL: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/IO-CaptureOutput-1.1104.tar.gz
sha256sum: fcc732fcb438f97a72b30e8c7796484bef2562e374553b207028e2fbf73f8330
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/T/TO/TODDR/IPC-Run-0.94.tar.gz
sha256sum: 2eb336c91a2b7ea61f98e5b2282d91020d39a484f16041e2365ffd30f8a5605b
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/M/MA/MAKAMAKA/JSON-2.90.tar.gz
sha256sum: 4ddbb3cb985a79f69a34e7c26cde1c81120d03487e87366f9a119f90f7bdfe88
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/E/ET/ETHER/libwww-perl-6.15.tar.gz
sha256sum: 6f349d45c21b1ec0501c4437dfcb70570940e6c3d5bff783bd91d4cddead8322
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/M/MS/MSCHILLI/LWP-Protocol-https-6.06.tar.gz
sha256sum: b86c83cc1dcf4a6f84e2fbe32f9c39591a36e6e418af00533505f3452496adef
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/PathTools-3.62.tar.gz
sha256sum: 36350e12f58871437ba03391f80a506e447e3c6630cc37d0625bc25ff1c7b4d2
......@@ -90,6 +107,7 @@ input_files:
- URL: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-2.0128.tar.gz
sha256sum: 26e7ba451f3bade4d29ff00653a2ee01d13fe38b9a2ebcd0b0f3f82f9f688f2b
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/T/TO/TODDR/YAML-Syck-1.29.tar.gz
sha256sum: d3567b3653e610a2a0fd28286ddc7869ccdeba5e6663f9638c22bc17d6cfc939
......@@ -117,18 +135,23 @@ input_files:
- URL: https://cpan.metacpan.org/authors/id/S/SH/SHAY/Class-Singleton-1.5.tar.gz
sha256sum: 38220d04f02e3a803193c2575a1644cce0b95ad4b95c19eb932b94e2647ef678
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/L/LE/LEONT/CPAN-Meta-Check-0.013.tar.gz
sha256sum: 4fca09a28066e7e134d691dc25c496c838043617a93b7eec4df807df8e7f73d5
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Data-OptList-0.110.tar.gz
sha256sum: 366117cb2966473f2559f2f4575ff6ae69e84c69a0f30a0773e1b51a457ef5c3
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-1.09.tar.gz
sha256sum: 4abe19a1c5caddc3b3a15dabd76b8193eee761acde44d898357c123a5ca7e9f1
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-2.06.tar.gz
sha256sum: 9c51dd5ac957a43732b4a8d5cf7529e5a6b99ca86b447164cab003b190a8a8a6
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/Devel-Caller-2.06.tar.gz
sha256sum: 6a73ae6a292834255b90da9409205425305fcfe994b148dcb6d2d6ef628db7df
......@@ -153,6 +176,7 @@ input_files:
- URL: https://cpan.metacpan.org/authors/id/G/GA/GAAS/Encode-Locale-1.05.tar.gz
sha256sum: 176fa02771f542a4efb1dbc2a4c928e8f4391bf4078473bd6040d8f11adb0ec1
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/D/DO/DOY/Eval-Closure-0.14.tar.gz
sha256sum: ea0944f2f5ec98d895bef6d503e6e4a376fea6383a6bc64c7670d46ff2218cad
......@@ -162,12 +186,15 @@ input_files:
- URL: https://cpan.metacpan.org/authors/id/X/XA/XAOC/ExtUtils-Depends-0.405.tar.gz
sha256sum: 8ad6401ad7559b03ceda1fe4b191c95f417bdec7c542a984761a4656715a8a2c
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/G/GA/GAAS/HTTP-Date-6.02.tar.gz
sha256sum: e8b9941da0f9f0c9c01068401a5e81341f0e3707d1c754f8e11f42a7e629e333
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/E/ET/ETHER/HTTP-Message-6.11.tar.gz
sha256sum: e7b368077ae6a188d99920411d8f52a8e5acfb39574d4f5c24f46fd22533d81b
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Importer-0.024.tar.gz
sha256sum: 1d19760ceb366b664985ace9a7ee1b54a438b1e060a5bca6eff0c6a35b07a557
......@@ -177,18 +204,23 @@ input_files:
- URL: https://cpan.metacpan.org/authors/id/C/CJ/CJM/IO-HTML-1.001.tar.gz
sha256sum: ea78d2d743794adc028bc9589538eb867174b4e165d7d8b5f63486e6b828e7e0
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/IPC-Run3-0.048.tar.gz
sha256sum: 3d81c3cc1b5cff69cca9361e2c6e38df0352251ae7b41e2ff3febc850e463565
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/G/GA/GAAS/LWP-MediaTypes-6.02.tar.gz
sha256sum: 18790b0cc5f0a51468495c3847b16738f785a2d460403595001e0b932e5db676
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Module-Implementation-0.09.tar.gz
sha256sum: c15f1a12f0c2130c9efff3c2e1afe5887b08ccd033bd132186d1e7d5087fd66d
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/S/SI/SIMONW/Module-Pluggable-5.2.tar.gz
sha256sum: b3f2ad45e4fd10b3fb90d912d78d8b795ab295480db56dc64e86b9fa75c5a6df
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/H/HA/HAARG/Moo-2.002004.tar.gz
sha256sum: 782d6246f9f5f5d9290c576e5819cd495596abe28f36d192a8c4abf94f5dd2c3
......@@ -213,6 +245,7 @@ input_files:
- URL: https://cpan.metacpan.org/authors/id/A/AD/ADAMK/Params-Util-1.07.tar.gz
sha256sum: 30f1ec3f2cf9ff66ae96f973333f23c5f558915bb6266881eac7423f52d7c76c
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Params-ValidationCompiler-0.13.tar.gz
sha256sum: c4326f6802ff0041b33b4546231ae64091623e8306f969c64a648d12ae8b7c03
......@@ -225,6 +258,7 @@ input_files:
- URL: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Scalar-List-Utils-1.46.tar.gz
sha256sum: 30662b1261364adb317e9a5bd686273d3dd731e3fda1b8e894802aa52e0052e7
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Specio-0.30.tar.gz
sha256sum: 0220dacaa7c4db28dde7444c85a0b04797e9a895f2b2e1f3e1d57a18d0b4d456
......@@ -234,15 +268,19 @@ input_files:
- URL: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Sub-Exporter-0.987.tar.gz
sha256sum: 543cb2e803ab913d44272c7da6a70bb62c19e467f3b12aaac4c9523259b083d6
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/F/FR/FREW/Sub-Exporter-Progressive-0.001012.tar.gz
sha256sum: b9e579b857d9bfd3b8391e4de6ee6529b4c6208c581c2a7cbf46a86618297cb8
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/R/RG/RGARCIA/Sub-Identify-0.12.tar.gz
sha256sum: 83bb785a66113b4a966db0a4186fd1dd07987acdacb4502b1e1558f817dde825
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Sub-Install-0.928.tar.gz
sha256sum: 61e567a7679588887b7b86d427bc476ea6d77fffe7e0d17d640f89007d98ef0f
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Test2-Plugin-NoWarnings-0.03.tar.gz
sha256sum: 1c72b8dec2208d704748676fd915c25e32a530ba2b93327919a8fb3ba83208e4
......@@ -252,9 +290,11 @@ input_files:
- URL: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Test-Deep-1.123.tar.gz
sha256sum: 15784c85b972f7497888db1b26bfa2b028d9c0636ade6d8a4a97fbb832a53db0
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Test-Fatal-0.014.tar.gz
sha256sum: bcdcef5c7b2790a187ebca810b0a08221a63256062cfab3c3b98685d91d1cbb0
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/H/HA/HAARG/Test-Needs-0.002005.tar.gz
sha256sum: 5a4f33983586edacdbe00a3b429a9834190140190dab28d0f873c394eb7df399
......@@ -264,36 +304,46 @@ input_files:
- URL: https://cpan.metacpan.org/authors/id/T/TO/TOKUHIROM/Test-Requires-0.10.tar.gz
sha256sum: 2768a391d50ab94b95cefe540b9232d7046c13ee86d01859e04c044903222eb5
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test-Simple-1.302062.tar.gz
sha256sum: 6729060d4ab12e2db3a3c6d6376ee6a9fb77c0ba0308b66919365a1e8bf156ea
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Warnings-0.026.tar.gz
sha256sum: ae2b68b1b5616704598ce07f5118efe42dc4605834453b7b2be14e26f9cc9a08
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/C/CO/CORION/Test-Without-Module-0.18.tar.gz
sha256sum: e2c3360b171d7db518ac39a0e1dcb285c784ea393c11708914a0655d66138c7f
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Throwable-0.200013.tar.gz
sha256sum: 9987d0deb5bddd352a6330cefbe932f882e36dd8c8a4564bcfd372dc396b8fa0
- URL: https://cpan.metacpan.org/authors/id/G/GB/GBARR/TimeDate-2.30.tar.gz
sha256sum: 75bd254871cb5853a6aa0403ac0be270cdd75c9d1b6639f18ecba63c15298e86
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Try-Tiny-0.27.tar.gz
sha256sum: 8abf0878c9cddc0c4ab9c4adfa8d81790a16d7cb53b0e429430b13b7567075fb
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/E/ET/ETHER/URI-1.71.tar.gz
sha256sum: 9c8eca0d7f39e74bbc14706293e653b699238eeb1a7690cc9c136fb8c2644115
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/V/VP/VPIT/Variable-Magic-0.60.tar.gz
sha256sum: 22a5e2bd38ac327f1ae4b4ce654e726f3bba9c1d813750b98165831ea00952cf
- URL: https://cpan.metacpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-1.08.tar.gz
sha256sum: 666270318b15f88b8427e585198abbc19bc2e6ccb36dc4c0a4f2d9807330219e
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-0.4220.tar.gz
sha256sum: fb1207c7e799366f7a8adda3f135bf8141c4d6068505650d4db2b2d3ce34b5a2
enable: '[% ! c("var/cygwin") %]'
- URL: https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/Module-Runtime-0.014.tar.gz
sha256sum: 4c44fe0ea255a9fd00741ee545063f6692d2a28e7ef2fbaad1b24a92803362a4
enable: '[% ! c("var/cygwin") %]'
......@@ -7,15 +7,28 @@ cd [% project %]-[% c("version") %]
mkdir bundle
cd bundle
tar xf $rootdir/[% c("input_files_by_name/tbb-testsuite-deps") %]
[% IF c("var/build_imagemagick") %]
tar xf $rootdir/[% c("input_files_by_name/ImageMagick") %]
[% END %]
[% IF c("var/cygwin") %]
mkdir tmp
unzip -d ./tmp $rootdir/[% c("input_files_by_name/cygwin-setup") %]
mv tmp/cygwin-setup/* .
rmdir tmp/cygwin-setup tmp
[% END %]
cat > set-env << 'EOF'
function abs_dir() {
(cd "$1" && echo "$(pwd)")
}
basedir="$(abs_dir ${BASH_SOURCE%/*})"
[% IF ! c("var/cygwin") %]
export PATH="$basedir/perl/bin:$basedir/ImageMagick/bin:$PATH"
export LD_LIBRARY_PATH="$basedir/ImageMagick/lib"
[% ELSE %]
export PERL5LIB="$basedir/perl/lib/perl5"
[% END %]
EOF
echo [% c("git_hash") %] > bundle_commit.txt
......@@ -23,7 +36,11 @@ echo [% c("version") %] > bundle_version.txt
cd ../..
mv [% project %]-[% c("version") %] [% project %]
[% IF c("var/cygwin") %]
zip -X -r "[% dest_dir _ '/' _ c('filename') %]" [% project %]
[% ELSE %]
[% c('tar', {
tar_src => [ project ],
tar_args => '-czf ' _ dest_dir _ '/' _ c('filename'),
}) %]
[% END %]
......@@ -2,10 +2,24 @@
version: 0.1.1
git_url: https://git.torproject.org/boklm/tor-browser-bundle-testsuite.git
git_hash: 59782207d2e5976d11226496f3dec57917cc5962
filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz'
filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].[% c("var/filename_ext") %]'
var:
build_imagemagick: 1
filename_ext: tar.gz
targets:
native-cygwin-i686:
var:
build_imagemagick: 0
filename_ext: zip
input_files:
- project: tbb-testsuite-deps
name: tbb-testsuite-deps
- project: ImageMagick
name: ImageMagick
enable: '[% c("var/build_imagemagick") %]'
- project: cygwin-setup
name: cygwin-setup
enable: '[% c("var/cygwin") %]'
......@@ -44,3 +44,8 @@ targets:
arch: x86_64
var:
osname: osx-x86_64
native-cygwin-i686:
arch: i686
var:
cygwin: 1
osname: win-i686
@ECHO OFF
SET TESTSUITEDIR=%~dp0
CD %TESTSUITEDIR%\bundle
CALL cygwin-setup.bat
CD ..
bundle\cygwin\bin\bash --login -i -c 'cd $(cygpath -u "$TESTSUITEDIR"); exec /bin/bash'
@ECHO OFF
SET TESTSUITEDIR=%~dp0
CD %TESTSUITEDIR%\bundle
CALL cygwin-setup.bat
CD ..
bundle\cygwin\bin\bash --login -i -c 'cd $(cygpath -u "$TESTSUITEDIR"); exec ./update-tbb-testsuite'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment