Skip to content

Commit 2563abc

Browse files
committed
---
yaml --- r: 219871 b: refs/heads/snap-stage3 c: 158fcbb h: refs/heads/master i: 219869: 1253117 219867: 9e9d882 219863: f8f44dc 219855: 6971c25 219839: 5d2691a v: v3
1 parent 4d837f1 commit 2563abc

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
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: c044791d80ea0dc5c4b57b6030a67b69f8510239
3-
refs/heads/snap-stage3: 155c8f9fa8d67badabd72bec16b9a9b3f49eb8a1
3+
refs/heads/snap-stage3: 158fcbbdd6db45058530abda35ce59d267ee489e
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/snap-stage3/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)