X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=scons%2Fllvm.py;h=79118be371d113c81e048ef0ae10d65f03022fa7;hb=34690536a7fb792492fdedc9377a298827b8c1b7;hp=eaa2ecbe026cdcfe3d129e00f96cfe76968258a9;hpb=7d48219b3ac78895315ea6cef3ced3e55d3d92f0;p=mesa.git diff --git a/scons/llvm.py b/scons/llvm.py index eaa2ecbe026..79118be371d 100644 --- a/scons/llvm.py +++ b/scons/llvm.py @@ -50,7 +50,7 @@ def generate(env): llvm_dir = None else: if not os.path.isdir(llvm_dir): - raise SCons.Errors.InternalError, "Specified LLVM directory not found" + raise SCons.Errors.InternalError("Specified LLVM directory not found") if env['debug']: llvm_subdir = 'Debug' @@ -61,7 +61,7 @@ def generate(env): if not os.path.isdir(llvm_bin_dir): llvm_bin_dir = os.path.join(llvm_dir, 'bin') if not os.path.isdir(llvm_bin_dir): - raise SCons.Errors.InternalError, "LLVM binary directory not found" + raise SCons.Errors.InternalError("LLVM binary directory not found") env.PrependENVPath('PATH', llvm_bin_dir)