Skip to content

Commit

Permalink
undo indent
Browse files Browse the repository at this point in the history
  • Loading branch information
balos1 committed Sep 27, 2024
1 parent ff79671 commit 66cfa28
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions uberenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -1281,17 +1281,17 @@ def trust_gpg_keys(self):
print("[adding gpg key to spack gpg keyring]")
sexe("{0} gpg trust {1}".format(self.spack_exe(use_spack_env=False), key_path), echo=True)

def find_osx_sdks():
"""
Finds installed osx sdks, returns dict mapping version to file system path
"""
res = {}
sdks = glob.glob("/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX*.sdk")
for sdk in sdks:
sdk_base = os.path.split(sdk)[1]
ver = sdk_base[len("MacOSX"):sdk_base.rfind(".")]
res[ver] = sdk
return res
def find_osx_sdks():
"""
Finds installed osx sdks, returns dict mapping version to file system path
"""
res = {}
sdks = glob.glob("/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX*.sdk")
for sdk in sdks:
sdk_base = os.path.split(sdk)[1]
ver = sdk_base[len("MacOSX"):sdk_base.rfind(".")]
res[ver] = sdk
return res

def setup_osx_sdk_env_vars():
"""
Expand Down

0 comments on commit 66cfa28

Please sign in to comment.