1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-07-17 12:33:28 +01:00

fw/target: detect module variations in TargetInfo

- Add modules entry to TargetInfo
- When retrieving TargetInfo from cache, make sure info modules match
  those for the current target, otherwise mark info as stale and
  re-generate.
This commit is contained in:
Sergei Trofimov
2019-09-12 09:13:20 +01:00
committed by Marc Bonnici
parent 75878e2f27
commit 2f231b5ce5
7 changed files with 32 additions and 5 deletions
doc/source/api
wa

@ -1,4 +1,4 @@
--!VERSION!1.3!ENDVERSION!
--!VERSION!1.4!ENDVERSION!
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
CREATE EXTENSION IF NOT EXISTS "lo";
@ -78,6 +78,7 @@ CREATE TABLE Targets (
oid uuid NOT NULL,
run_oid uuid NOT NULL references Runs(oid),
target text,
modules text[],
cpus text[],
os text,
os_version jsonb,

@ -0,0 +1,2 @@
ALTER TABLE targets ADD COLUMN modules text[];