File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
44Distributed = " 8ba89e20-285c-5b6f-9357-94700520ee1b"
55InteractiveUtils = " b77e0a4c-d291-57a0-90e8-8db25a27a240"
66LLVM = " 929cbde3-209d-540e-8aea-75f648917ca0"
7+ LLVM_jll = " 86de99a1-58d6-5da7-8064-bd56ce2e322c"
78Logging = " 56ddb016-857b-54e1-b83d-db4d58db5568"
89PrecompileTools = " aea7be01-6a6a-4083-8856-8a6e6704d82a"
910Printf = " de0858da-6303-5e67-8744-51eddeeeb8d7"
Original file line number Diff line number Diff line change 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' )
You can’t perform that action at this time.
0 commit comments