@tedbrain/vlink 0.0.0-dpv2.pdkadapt.plugin.0.1.8.r2 → 0.0.0-dpv2.pdkadapt.plugin.0.1.9.r2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@tedbrain/vlink", "private": false, "version": "0.0.0-dpv2.pdkadapt.plugin.0.1.
|
|
1
|
+
{"name": "@tedbrain/vlink", "private": false, "version": "0.0.0-dpv2.pdkadapt.plugin.0.1.9.r2"}
|
|
@@ -21,6 +21,12 @@ def environment(home, proxy, python, runtime):
|
|
|
21
21
|
home=Path(home)
|
|
22
22
|
# Remove inherited V1 routes and execution state. Retain explicitly supplied
|
|
23
23
|
# EDA installation/license environment and the user's ordinary executable PATH.
|
|
24
|
+
# I01998: the executor's inbound-liveness window is the one variable the
|
|
25
|
+
# workstation operator may tune; step 7 netlist exports legitimately exceed
|
|
26
|
+
# the 45s default when the busy serve stalls pong replies, and the executor
|
|
27
|
+
# must not self-disconnect mid-execution. Honor an explicit override,
|
|
28
|
+
# otherwise lift the floor to 300s (20 ping misses).
|
|
29
|
+
liveness=os.environ.get('VLINK_REMOTE_LIVENESS_TIMEOUT_SECS','')
|
|
24
30
|
env={k:v for k,v in os.environ.items() if not k.startswith(('ELINK_', 'VLINK_', 'DPV2_', 'TED_', 'TEDBRAIN_', 'PDK', 'PYTHON', 'XDG_'))}
|
|
25
31
|
for key,relative in [('HOME','.'),('XDG_CONFIG_HOME','config'),('XDG_CACHE_HOME','cache'),
|
|
26
32
|
('XDG_STATE_HOME','state'),('XDG_RUNTIME_DIR','run'),('TMPDIR','tmp'),
|
|
@@ -28,6 +34,7 @@ def environment(home, proxy, python, runtime):
|
|
|
28
34
|
('TED_DATA','data'),('PDKS_FOLDER','assets/pdks')]:
|
|
29
35
|
path=home/relative;path.mkdir(parents=True,exist_ok=True,mode=0o700);env[key]=str(path)
|
|
30
36
|
env.update(ELINK_PROXY_URL=proxy,TEDMIND_SKIP_VLINK_UPDATE='1',VLINK_REMOTE_MAX_CONCURRENT='2',
|
|
37
|
+
VLINK_REMOTE_LIVENESS_TIMEOUT_SECS=liveness if re.fullmatch('[1-9][0-9]*',liveness) else '300',
|
|
31
38
|
PYTHONNOUSERSITE='1',PYTHONDONTWRITEBYTECODE='1',TED_PATH=str(runtime),
|
|
32
39
|
PATH=str(Path(python).parent)+os.pathsep+env.get('PATH',''),
|
|
33
40
|
PYTHONPATH=str(runtime),LC_ALL='C',LANG='C')
|