Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions pybind11/setup_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,6 @@ def has_flag(compiler: Any, flag: str) -> bool:
return True


# Every call will cache the result
cpp_flag_cache = None


@lru_cache
def auto_cpp_level(compiler: Any) -> str | int:
"""
Expand Down Expand Up @@ -338,7 +334,7 @@ def naive_recompile(obj: str, src: str) -> bool:
return os.stat(obj).st_mtime < os.stat(src).st_mtime


def no_recompile(obg: str, src: str) -> bool: # noqa: ARG001
def no_recompile(obj: str, src: str) -> bool: # noqa: ARG001
"""
This is the safest but slowest choice (and is the default) - will always
recompile sources.
Expand Down
Loading