Skip to content

Commit b0bd17c

Browse files
Raise RuntimeError if onemkl_interfaces_dir passed
1 parent 25bf7b9 commit b0bd17c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build_locally.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def run(
131131
f"-DDPNP_ONEMKL_INTERFACES_DIR={onemkl_interfaces_dir}",
132132
]
133133
elif onemkl_interfaces_dir:
134-
RuntimeError("--onemkl-interfaces-dir option is not supported")
134+
raise RuntimeError("--onemkl-interfaces-dir option is not supported")
135135

136136
subprocess.check_call(
137137
cmake_args, shell=False, cwd=setup_dir, env=os.environ

0 commit comments

Comments
 (0)