1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Stuart Prescott <stuart@debian.org>
Date: Wed, 1 Oct 2025 14:32:26 +1000
Subject: Set library location to pick up precompiled models
models can be precompiled or compiled just-in-time; for a binary distribution such
as Debian, it makes sense to precompile the models and ship them in the package.
---
sasmodels/kerneldll.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sasmodels/kerneldll.py b/sasmodels/kerneldll.py
index 216b668..14b0861 100644
--- a/sasmodels/kerneldll.py
+++ b/sasmodels/kerneldll.py
@@ -240,7 +240,7 @@ def dll_path(model_file, dtype):
Complete path to the dll for the model. Note that the dll may not
exist yet if it hasn't been compiled.
"""
- return os.path.join(SAS_DLL_PATH, dll_name(model_file, dtype))
+ return dll_name(model_file, dtype)
def make_dll(source, model_info, dtype=F64, system=False):
|