Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: zhenwei-intel <[email protected]>
  • Loading branch information
zhenwei-intel committed Feb 1, 2024
1 parent ae2ac1f commit 4c05461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def check_env_flag(name: str, default: bool = False) -> bool:

NS_WITH_AVX2 = check_env_flag("NS_WITH_AVX2", 'avx512f' not in cpu_flags)
""" Whether to limit the max ISA used to AVX2; otherwise AVX512 will be used; set to ON/OFF """
NS_PROFILING_ENV = os.environ.get("NS_PROFILING", "OFF")

cwd = os.path.dirname(os.path.abspath(__file__))

Expand Down Expand Up @@ -93,7 +94,6 @@ def build_extension(self, ext: CMakeExtension) -> None:
extdir = ext_fullpath.parent.resolve()

output_dir = f"{extdir}{os.sep}"
NS_PROFILING_ENV = os.environ.get("NS_PROFILING", "OFF")
cmake_args = [
f"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={output_dir}",
f"-DCMAKE_RUNTIME_OUTPUT_DIRECTORY={output_dir}",
Expand Down

0 comments on commit 4c05461

Please sign in to comment.