• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2017 Steven Watanabe
2#
3# Distributed under the Boost Software License, Version 1.0.
4#    (See accompanying file LICENSE_1_0.txt or copy at
5#          http://www.boost.org/LICENSE_1_0.txt)
6
7import modules ;
8import os ;
9
10path-constant here : . ;
11
12local PYTHON = [ os.environ PYTHON_CMD ] ;
13
14using gcc : 4.8.3 : $(PYTHON) $(here)/src/gcc-4.8.3-linux.py : : <target-os>linux ;
15using gcc : 4.2.1 : $(PYTHON) $(here)/src/gcc-4.2.1-darwin.py : : <target-os>darwin ;
16
17# hard-code this to make the test work on other platforms
18modules.poke darwin : .host-osx-version : 10.11.0 ;
19using darwin : 4.2.1 : $(PYTHON) $(here)/src/darwin-4.2.1.py
20  : <archiver>$(here)/src/bin/libtool
21    <striper>$(here)/src/bin/strip
22  : <target-os>darwin
23  ;
24
25using clang-darwin : 3.9.0 : $(PYTHON) $(here)/src/clang-3.9.0-darwin.py
26  : <archiver>$(here)/src/bin/ar
27    <ranlib>$(here)/src/bin/ranlib
28  ;
29
30using clang-linux : 3.9.0 : $(PYTHON) $(here)/src/clang-linux-3.9.0.py
31  : <archiver>$(here)/src/bin/ar
32    <ranlib>$(here)/src/bin/ranlib
33  ;
34
35using clang-vxworks : 4.0.1 : $(PYTHON) $(here)/src/clang-vxworks-4.0.1.py
36  : <linker>$(here)/src/bin/ld
37    <archiver>$(here)/src/bin/ar
38  ;
39
40using intel-darwin : 10.2 : $(PYTHON) $(here)/src/intel-darwin-10.2.py
41  : <archiver>$(here)/src/bin/ar
42    <ranlib>$(here)/src/bin/ranlib
43  ;
44