toolset_darwin.py 666 B

123456789101112131415161718192021
  1. #!/usr/bin/python
  2. #
  3. # Copyright 2017 Steven Watanabe
  4. #
  5. # Distributed under the Boost Software License, Version 1.0.
  6. # (See accompanying file LICENSE.txt or copy at
  7. # https://www.bfgroup.xyz/b2/LICENSE.txt)
  8. # validates the darwin toolset using a mock of gcc
  9. from TestToolset import test_toolset
  10. test_toolset("darwin", "4.2.1", [
  11. ["target-os=darwin"],
  12. ["target-os=darwin", "release", "strip=on"],
  13. ["target-os=darwin", "threading=multi"],
  14. ["target-os=darwin", "link=static"],
  15. ["target-os=darwin", "link=static", "runtime-link=static"],
  16. # Address-model handling is quite broken
  17. # ["target-os=darwin", "architecture=x86", "address-model=32"]
  18. ])