File tree 2 files changed +4
-12
lines changed
images/minimal-notebook/setup-scripts
2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 20
20
21
21
def unify_aarch64 (platform : str ) -> str :
22
22
"""
23
- Renames arm64->aarch64 to support local builds on on aarch64 Macs
23
+ Renames arm64->aarch64 to support local builds on aarch64 Macs
24
24
"""
25
- return {
26
- "aarch64" : "aarch64" ,
27
- "arm64" : "aarch64" ,
28
- "x86_64" : "x86_64" ,
29
- }[platform ]
25
+ return {"arm64" : "aarch64" }.get (platform , platform )
30
26
31
27
32
28
def get_latest_julia_url () -> tuple [str , str ]:
Original file line number Diff line number Diff line change 7
7
8
8
def unify_aarch64 (platform : str ) -> str :
9
9
"""
10
- Renames arm64->aarch64 to support local builds on on aarch64 Macs
10
+ Renames arm64->aarch64 to support local builds on aarch64 Macs
11
11
"""
12
- return {
13
- "aarch64" : "aarch64" ,
14
- "arm64" : "aarch64" ,
15
- "x86_64" : "x86_64" ,
16
- }[platform ]
12
+ return {"arm64" : "aarch64" }.get (platform , platform )
17
13
18
14
19
15
def get_platform () -> str :
You can’t perform that action at this time.
0 commit comments