Skip to content

Commit eaea0f4

Browse files
committed
---
yaml --- r: 218011 b: refs/heads/auto c: 158fcbb h: refs/heads/master i: 218009: 4f5a2ca 218007: 452cc53 v: v3
1 parent dea1ebb commit eaea0f4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
88
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
99
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1010
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
11-
refs/heads/auto: 155c8f9fa8d67badabd72bec16b9a9b3f49eb8a1
11+
refs/heads/auto: 158fcbbdd6db45058530abda35ce59d267ee489e
1212
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1313
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
1414
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1

branches/auto/src/etc/mklldeps.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
components = sys.argv[2].split() # splits on whitespace
1818
enable_static = sys.argv[3]
19-
llconfig = sys.argv[4]
19+
llvm_config = sys.argv[4]
2020

2121
f.write("""// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
2222
// file at the top-level directory of this distribution and at
@@ -38,15 +38,15 @@ def run(args):
3838
out, err = proc.communicate()
3939

4040
if err:
41-
print("failed to run llconfig: args = `{}`".format(args))
41+
print("failed to run llvm_config: args = `{}`".format(args))
4242
print(err)
4343
sys.exit(1)
4444
return out
4545

4646
f.write("\n")
4747

4848
# LLVM libs
49-
args = [llconfig, '--libs', '--system-libs']
49+
args = [llvm_config, '--libs', '--system-libs']
5050

5151
args.extend(components)
5252
out = run(args)
@@ -68,13 +68,13 @@ def run(args):
6868
f.write(")]\n")
6969

7070
# LLVM ldflags
71-
out = run([llconfig, '--ldflags'])
71+
out = run([llvm_config, '--ldflags'])
7272
for lib in out.strip().split(' '):
7373
if lib[:2] == "-l":
7474
f.write("#[link(name = \"" + lib[2:] + "\")]\n")
7575

7676
# C++ runtime library
77-
out = run([llconfig, '--cxxflags'])
77+
out = run([llvm_config, '--cxxflags'])
7878
if enable_static == '1':
7979
assert('stdlib=libc++' not in out)
8080
f.write("#[link(name = \"stdc++\", kind = \"static\")]\n")

0 commit comments

Comments
 (0)