source: trunk/source/scripts/get-binaries

Last change on this file was 16671, checked in by rme, 5 years ago

Use correct name for Darwin headers.

  • Property svn:executable set to *
File size: 1.7 KB
Line 
1#!/bin/bash
2
3# Use:
4# 1. check out source directly with
5#    svn://svn.clozure.com/openmcl/trunk/source ccl
6# 2. cd ccl
7# 3. scripts/get-binaries linuxx86
8#
9# This way, you don't have to deal with svn externals.
10
11#dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P )"
12
13case $1 in
14    linuxx86)
15        platform="linuxx86"
16        image32="lx86cl.image"
17        image64="lx86cl64.image"
18        headers32="x86-headers"
19        headers64="x86-headers64"
20        ;;
21    darwinx86)
22        platform="darwinx86"
23        image32="dx86cl.image"
24        image64="dx86cl64.image"
25        headers32="darwin-x86-headers"
26        headers64="darwin-x86-headers64"
27        ;;
28    freebsdx86)
29        platform="freebsdx86"
30        image32="fx86cl.image"
31        image64="fx86cl64.image"
32        headers32="freebsd-headers"
33        headers64="freebsd-headers64"
34        ;;
35    solarisx86)
36        platform="solarisx86"
37        image32="sx86cl.image"
38        image64="sx86cl64.image"
39        headers32="solarisx86-headers"
40        headers64="solarisx64-headers"
41        ;;
42    windows)
43        platform="windows"
44        image32="wx86cl.image"
45        image64="wx86cl64.image"
46        headers32="win32-headers"
47        headers64="win64-headers"
48        ;;
49    linuxarm)
50        platform="linuxarm"
51        image32="armcl.image"
52        headers32="arm-headers"
53        ;;
54    *)
55        echo "Usage: $0 linuxx86|darwinx86|freebsdx86|solarisx86|windows|linuxarm"
56        exit 1
57        ;;
58esac
59
60if [ "x$image64" != "x" ]; then
61    echo fetching $image64
62    svn export svn://svn.clozure.com/openmcl/trunk/$platform/ccl/$image64
63else
64    echo no 64-bit image for $platform
65fi
66
67if [ "x$headers64" != "x" ]; then
68    svn export svn://svn.clozure.com/openmcl/trunk/$headers64
69else
70    echo no 64-bit headers for $platform
71fi
72
73echo fetching $image32
74svn export http://svn.clozure.com/publicsvn/openmcl/trunk/$platform/ccl/$image32
75svn export http://svn.clozure.com/publicsvn/openmcl/trunk/$headers32
76
77
Note: See TracBrowser for help on using the repository browser.