aboutsummaryrefslogtreecommitdiffstats
path: root/waflib/Tools/clang.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-04-02 20:47:18 +0200
committerDavid Robillard <d@drobilla.net>2020-04-02 20:47:18 +0200
commitac77923e2233547122343c9dcdb89be81bde896b (patch)
tree45d8eb6272d38e823cc47f215bf31ea6f1238b72 /waflib/Tools/clang.py
parentffa9c8240e4d904da2154466e811302ae313034d (diff)
downloadpugl-ac77923e2233547122343c9dcdb89be81bde896b.tar.gz
pugl-ac77923e2233547122343c9dcdb89be81bde896b.tar.bz2
pugl-ac77923e2233547122343c9dcdb89be81bde896b.zip
Remove waf in preparation for switching to a submodule
Unfortunately this leaves a commit with no build system at all in the history, but some systems do not handle replacing a directory with a submodule in the same commit properly.
Diffstat (limited to 'waflib/Tools/clang.py')
-rw-r--r--waflib/Tools/clang.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/waflib/Tools/clang.py b/waflib/Tools/clang.py
deleted file mode 100644
index 3828e39..0000000
--- a/waflib/Tools/clang.py
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env python
-# encoding: utf-8
-# Krzysztof KosiƄski 2014
-
-"""
-Detect the Clang C compiler
-"""
-
-from waflib.Tools import ccroot, ar, gcc
-from waflib.Configure import conf
-
-@conf
-def find_clang(conf):
- """
- Finds the program clang and executes it to ensure it really is clang
- """
- cc = conf.find_program('clang', var='CC')
- conf.get_cc_version(cc, clang=True)
- conf.env.CC_NAME = 'clang'
-
-def configure(conf):
- conf.find_clang()
- conf.find_program(['llvm-ar', 'ar'], var='AR')
- conf.find_ar()
- conf.gcc_common_flags()
- conf.gcc_modifier_platform()
- conf.cc_load_tools()
- conf.cc_add_flags()
- conf.link_add_flags()