Skip to content

Commit 4965f28

Browse files
committed
add missing files
1 parent 165d377 commit 4965f28

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

test/Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
44
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
55
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
66
LLVM = "929cbde3-209d-540e-8aea-75f648917ca0"
7+
LLVM_jll = "86de99a1-58d6-5da7-8064-bd56ce2e322c"
78
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
89
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
910
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"

test/codegen/lit.cfg.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import os
2+
import sys
3+
import re
4+
import platform
5+
6+
import lit.util
7+
import lit.formats
8+
9+
import pathlib
10+
cwd = pathlib.Path(__file__).parent.resolve()
11+
12+
config.name = 'Julia'
13+
config.suffixes = ['.ll','.jl']
14+
config.excludes = ['gpuc.jl']
15+
config.test_source_root = os.path.dirname(__file__)
16+
config.test_format = lit.formats.ShTest(True)
17+
config.substitutions.append(('%shlibext', '.dylib' if platform.system() == 'Darwin' else '.dll' if
18+
platform.system() == 'Windows' else '.so'))
19+
config.substitutions.append(('gpuc', 'julia --startup-file=no {}/gpuc.jl'.format(cwd)))
20+
21+
config.environment['HOME'] = "/tmp"
22+
# config.environment["JULIA_PROJECT"] = cwd.parent.resolve()
23+
24+
25+
if platform.machine() == "x86_64":
26+
config.available_features.add('x86_64')

test/lit.jl

Whitespace-only changes.

0 commit comments

Comments
 (0)