Add environment variable that changes the meaning of '-update auto'
[alexxy/gromacs.git] / admin / builds / gromacs.py
index ba642b04686bf975037d42f2502bc8270d326c04..4fa518f1864865c2b4d442d5e6b9d8d9d9e87590 100644 (file)
@@ -186,7 +186,7 @@ def do_build(context):
     # GPU update flag enables GPU update+constraints as well as buffer ops (dependency)
     if context.opts.gpuupdate:
         context.env.set_env_var('GMX_USE_GPU_BUFFER_OPS', "1")
-        context.env.set_env_var('GMX_UPDATE_CONSTRAIN_GPU', "1")
+        context.env.set_env_var('GMX_FORCE_UPDATE_DEFAULT_GPU', "1")
 
     regressiontests_path = context.workspace.get_project_dir(Project.REGRESSIONTESTS)