Unverified Commit 5eb3927d authored by boklm's avatar boklm
Browse files

packages: add support for OSX

parent 73546cb9
......@@ -10,6 +10,9 @@ tbb-testsuite-linux-x86_64: submodule-update
tbb-testsuite-linux-i686: submodule-update
$(rbm) build tbb-testsuite --target linux-i686
tbb-testsuite-native-osx-x86_64: submodule-update
$(rbm) build tbb-testsuite --target native-osx-x86_64
submodule-update:
git submodule update --init
......
#!/bin/sh
set -e
distdir=/home/$(whoami)/dist/[% project %]
distdir=/var/tmp/dist/[% project %]
mkdir -p $distdir
tar xf [% project %]-[% c("version") %].tar.bz2
cd [% project %]-[% c("version") %]
......@@ -13,3 +13,4 @@ cd "$distdir/.."
tar_src => [ project ],
tar_args => '-czf ' _ dest_dir _ '/' _ c('filename'),
}) %]
rm -Rf "$distdir"
......@@ -11,9 +11,12 @@ targets:
linux-i686:
var:
configure_opt: '-Acflags=-m32 -Aldflags=-m32'
native-osx-x86_64:
remote_docker: 0
input_files:
- project: docker-image
enable: '[% c("remote_docker") %]'
- name: perl
URL: 'http://www.cpan.org/src/5.0/perl-[% c("version") %].tar.bz2'
sha256sum: 62328a53d157e8153b33e137594155f6f8b64418f7f9238210feb809585290e0
......@@ -4,6 +4,8 @@ rootdir=$(pwd)
mkdir -p /var/tmp/dist
tar -C/var/tmp/dist -xf $rootdir/[% c('input_files_by_name/perl') %]
export PATH=/var/tmp/dist/perl/bin:$PATH
unset PERL5LIB PERL_LOCAL_LIB_ROOT PERL_MB_OPT PERL_MM_OPT
export PERL_MM_USE_DEFAULT=1
mkdir -p /var/tmp/dist/ImageMagick
tar xf ImageMagick-[% c("var/imagemagick_version") %].tar.xz
......
......@@ -19,8 +19,13 @@ var:
imagemagick_version: 7.0.3-4
targets:
native-osx-x86_64:
remote_docker: 0
input_files:
- project: docker-image
enable: '[% c("remote_docker") %]'
- project: perl
name: perl
......
Subproject commit a1e67d4963fa0f7594d35995c6bf59014a999b32
Subproject commit 2e49b74071c726e6db8f69ccf7774ff874c869e8
......@@ -40,3 +40,7 @@ targets:
osname: linux-i686
configure_opt: '--host=i686-linux-gnu CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32'
pre_pkginst: dpkg --add-architecture i386
native-osx-x86_64:
arch: x86_64
var:
osname: osx-x86_64
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