Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create CTP (Cert Test Plan) backend #418

Draft
wants to merge 76 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 47 commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
d7e4468
Finally able to generate MC100-32 PDF and it looks good.
james-ball-qualcomm Jan 1, 2025
99a683c
Forgot to switch profile_class method of a profile_release to use the…
james-ball-qualcomm Jan 1, 2025
f9b9c1f
Forgot to make dest directory in profiles tasks.rake
james-ball-qualcomm Jan 1, 2025
9cb57ea
Fixing comments
james-ball-qualcomm Jan 1, 2025
b9d6bb3
Merge branch 'big-beautiful-refactoring' of https://github.com/riscv-…
james-ball-qualcomm Jan 1, 2025
4cfcda5
Fixes to uniq! (returns nil sometimes, not good).
james-ball-qualcomm Jan 2, 2025
e8465dd
Improve tasks.rake message
james-ball-qualcomm Jan 2, 2025
0674ef7
Found some extra places to rename cfg_arch to design.
james-ball-qualcomm Jan 2, 2025
70c1d79
Looks like I found a bug in the csr_field type_cache. It was barfing …
james-ball-qualcomm Jan 2, 2025
47fff49
Merge branch 'big-beautiful-refactoring' of https://github.com/riscv-…
james-ball-qualcomm Jan 2, 2025
e06c4f5
Rename routines ending in _extensions to _ext_reqs or _ext_vers to ma…
james-ball-qualcomm Jan 2, 2025
df2a905
RVB23 listed RVA as its class erroneously
james-ball-qualcomm Jan 3, 2025
d990076
Renamed mandatory_extensions to mandatory_ext_reqs in places I should…
james-ball-qualcomm Jan 3, 2025
924ffde
Fixed instructions and CSRs in #291 (CRDs list things like instructio…
james-ball-qualcomm Jan 3, 2025
05d7ed9
Working on getting list of exceptions and interrupts correct for the …
james-ball-qualcomm Jan 4, 2025
7e3d811
Merge branch 'main' into big-beautiful-refactoring
james-ball-qualcomm Jan 7, 2025
8ad584b
Merge remote-tracking branch 'origin' into big-beautiful-refactoring
james-ball-qualcomm Jan 7, 2025
e459230
Merge branch 'issue-276-retire-MC-1-Google-Doc' into big-beautiful-re…
james-ball-qualcomm Jan 8, 2025
2a113a0
Created IDesign that unit-level and Design can both use.
james-ball-qualcomm Jan 8, 2025
989db17
Fixes due to introduction of Design class and removal of ConfiguredAr…
james-ball-qualcomm Jan 9, 2025
953785a
One more fix
james-ball-qualcomm Jan 9, 2025
5434a14
Merge remote-tracking branch 'origin' into big-beautiful-refactoring
james-ball-qualcomm Jan 9, 2025
4db2d68
Fix to bug found after merging in main.
james-ball-qualcomm Jan 9, 2025
4b1876f
Merge remote-tracking branch 'origin' into big-beautiful-refactoring
james-ball-qualcomm Jan 9, 2025
c9b2d6b
Change comment to kick off another regression test on GitHub server (…
james-ball-qualcomm Jan 9, 2025
57d5f08
task for profile is now profile_release_pdf.
james-ball-qualcomm Jan 9, 2025
3f3bcbd
Renaming certificate to CRD in the backend. Also added proc_ prefix t…
james-ball-qualcomm Jan 10, 2025
f7f8236
Remove unneccessary concepts of base from architecture and portfolios…
james-ball-qualcomm Jan 10, 2025
49e6c4d
Adding missing items to .gitignore
james-ball-qualcomm Jan 10, 2025
7b0bd31
Merge branch '346-revert-to-crd-terminology' into reduce-duplicate-er…
james-ball-qualcomm Jan 10, 2025
7e83edf
Created portfolio tasks.rake file and moved common Rake code from pro…
james-ball-qualcomm Jan 11, 2025
c3ffda1
Created portfolio backend with common tasks.rake code between portfol…
james-ball-qualcomm Jan 11, 2025
b1652be
Fix updated path to common templates
james-ball-qualcomm Jan 12, 2025
b9aa16d
Finished
james-ball-qualcomm Jan 12, 2025
7f529c3
Portfolio name changes in preparation for CTP.
james-ball-qualcomm Jan 12, 2025
a741255
One more typo apparently.
james-ball-qualcomm Jan 13, 2025
a204d7c
Update profile release name
james-ball-qualcomm Jan 13, 2025
4a1f00f
Update UDB README to reflect updated Profile/CRD PDF names.
james-ball-qualcomm Jan 13, 2025
9d79d62
Clean up adoc links before starting to mock up CTPs
james-ball-qualcomm Jan 15, 2025
2787052
Added IDL functions to new portfolio appendix in preparation for link…
james-ball-qualcomm Jan 15, 2025
26e645a
Found weird typo in backend_helper.rb causing manual regression test …
james-ball-qualcomm Jan 15, 2025
0108712
Merge remote-tracking branch 'origin' into Create-CTP-(Cert-Test-Plan…
james-ball-qualcomm Jan 15, 2025
5520e2c
Changed anchors and links to use [[anchor]] and <<link>> after learni…
james-ball-qualcomm Jan 16, 2025
8a74c28
Fixed bug I introduced in AntoraUtils (didn't realize that all IDL fu…
james-ball-qualcomm Jan 16, 2025
048f4a8
Improve comment in AntoraUtils and add links to relevant Antora docum…
james-ball-qualcomm Jan 16, 2025
e050b6c
Changed anchors to use #[foo] syntax. Added preliminary CTP informati…
james-ball-qualcomm Jan 17, 2025
e1b521f
Generating PDF for CTP with ISA manuals included in it.
james-ball-qualcomm Jan 19, 2025
cd38e01
Improve auto update of changes from submodules.
james-ball-qualcomm Jan 19, 2025
b69a49a
Started to finally make progress on actual CTP generated doc.
james-ball-qualcomm Jan 20, 2025
e090c73
Added mock instruction to Xmock extension. For testing CTP.
james-ball-qualcomm Jan 21, 2025
dd9f6db
Changed CTP rake to always sync to latest of csc-riscv-isa-manual.
james-ball-qualcomm Jan 21, 2025
d2a8615
Starting to generate CTP coverage points
james-ball-qualcomm Jan 22, 2025
4939fa9
Merge remote-tracking branch 'origin/main' into Create-CTP-(Cert-Test…
james-ball-qualcomm Jan 22, 2025
1050eeb
Added support for instructions, extensions, CSRs, and CSR fields to h…
james-ball-qualcomm Jan 23, 2025
03a4396
Merge branch 'Create-CTP-(Cert-Test-Plan)-backend' of https://github.…
james-ball-qualcomm Jan 23, 2025
3a74e69
Only add CTP content to CTP docs (was going in CRDs and Profiles too).
james-ball-qualcomm Jan 23, 2025
57ace39
Switch display of test procedures from table to list.
james-ball-qualcomm Jan 23, 2025
4c2c05b
Fixed regress bug due to incorrect constructor call to ExtensionVersion.
james-ball-qualcomm Jan 23, 2025
9f1a0bf
Add CTP info to extensions, CSRs, and CSR fields
james-ball-qualcomm Jan 23, 2025
05bb31a
Merge remote-tracking branch 'origin/main' into Create-CTP-(Cert-Test…
james-ball-qualcomm Jan 23, 2025
d9a7750
Fix array in schema
james-ball-qualcomm Jan 25, 2025
fbfb4b2
Improve formating of CTP and add mandatory ID
james-ball-qualcomm Jan 25, 2025
9bbbbff
Merge branch 'Create-CTP-(Cert-Test-Plan)-backend' of https://github.…
james-ball-qualcomm Jan 25, 2025
0f92214
Remove comments to work around commit yaml checker problem.
james-ball-qualcomm Jan 25, 2025
622a959
Merge remote-tracking branch 'origin/main' into Create-CTP-(Cert-Test…
james-ball-qualcomm Jan 25, 2025
66d9f28
Create proper adoc for CTP book part 1. Part 2 & 3 (ISA manuals) are …
james-ball-qualcomm Jan 25, 2025
7c5b2ec
New version of isa manual (uses level 2 instead of level 1 headings f…
james-ball-qualcomm Jan 25, 2025
d4b3148
Improved display of coverage points and test procedures.
james-ball-qualcomm Jan 26, 2025
0fbbf50
Added Sail operation to instruction appendix.
james-ball-qualcomm Jan 26, 2025
6e40ed8
Added links from test procedures to coverage points.
james-ball-qualcomm Jan 26, 2025
d6edb6e
Fix bug in display of all extensions that define a parameter in a CRD.
james-ball-qualcomm Jan 26, 2025
f6fb42a
Renaming CertLinks to DocLinks since parameters will also use them.
james-ball-qualcomm Jan 27, 2025
c8da061
Renaming of CTP things
james-ball-qualcomm Jan 27, 2025
8cd606e
More link doc
james-ball-qualcomm Jan 31, 2025
e14bed4
Added priv modes and related specs to CTP by moving it from CRD into …
james-ball-qualcomm Feb 1, 2025
92d67fd
Merge branch 'Create-CTP-(Cert-Test-Plan)-backend' of https://github.…
james-ball-qualcomm Feb 1, 2025
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
44 changes: 22 additions & 22 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,33 +60,33 @@ jobs:
- name: Copy cfg html
run: cp -R gen/cfg_html_doc/generic_rv64/html _site/example_cfg
- name: Create RVA20 Profile Release PDF Spec
run: ./do gen:profile[RVA20]
run: ./do gen:profile_release_pdf[RVA20]
- name: Copy RVA20 Profile Release PDF
run: cp gen/profile_doc/pdf/RVA20.pdf _site/pdfs/RVA20.pdf
run: cp gen/profile/pdf/RVA20ProfileRelease.pdf _site/pdfs
- name: Create RVA22 Profile Release PDF Spec
run: ./do gen:profile[RVA22]
run: ./do gen:profile_release_pdf[RVA22]
- name: Copy RVA22 Profile Release PDF
run: cp gen/profile_doc/pdf/RVA22.pdf _site/pdfs/RVA22.pdf
run: cp gen/profile/pdf/RVA22ProfileRelease.pdf _site/pdfs
- name: Create RVA23 Profile Release PDF Spec
run: ./do gen:profile_release_pdf[RVA23]
- name: Copy RVA23 Profile Release PDF
run: cp gen/profile/pdf/RVA23ProfileRelease.pdf _site/pdfs
- name: Create RVB23 Profile Release PDF Spec
run: ./do gen:profile_release_pdf[RVB23]
- name: Copy RVB23 Profile Release PDF
run: cp gen/profile/pdf/RVB23ProfileRelease.pdf _site/pdfs
- name: Create RVI20 Profile Release PDF Spec
run: ./do gen:profile[RVI20]
run: ./do gen:profile_release_pdf[RVI20]
- name: Copy RVI20 Profile Release PDF
run: cp gen/profile_doc/pdf/RVA20.pdf _site/pdfs/RVI20.pdf
- name: Create MC100-32 PDF Spec
run: ./do gen:cert_model_pdf[MC100-32]
- name: Copy MC100-32 PDF
run: cp gen/certificate_doc/pdf/MC100-32.pdf _site/pdfs/MC100-32.pdf
- name: Create MC100-32 HTML Spec
run: ./do gen:cert_model_html[MC100-32]
- name: Copy MC100-32 HTML
run: cp gen/certificate_doc/html/MC100-32.html _site/htmls/MC100-32.html
- name: Create MC100-64 PDF Spec
run: ./do gen:cert_model_pdf[MC100-64]
- name: Copy MC100-64 PDF
run: cp gen/certificate_doc/pdf/MC100-64.pdf _site/pdfs/MC100-64.pdf
- name: Create MC100-64 HTML Spec
run: ./do gen:cert_model_html[MC100-64]
- name: Copy MC100-64 HTML
run: cp gen/certificate_doc/html/MC100-64.html _site/htmls/MC100-64.html
run: cp gen/profile/pdf/RVA20ProfileRelease.pdf _site/pdfs
- name: Create MC100-32-CRD PDF Spec
run: ./do gen:proc_crd_pdf[MC100-32]
- name: Copy MC100-32-CRD PDF
run: cp gen/proc_crd/pdf/MC100-32-CRD.pdf _site/pdfs
- name: Create MC100-64-CRD PDF Spec
run: ./do gen:proc_crd_pdf[MC100-64]
- name: Copy MC100-64-CRD PDF
run: cp gen/proc_crd/pdf/MC100-64-CRD.pdf _site/pdfs
- name: Copy manual html
run: cp -R gen/manual/isa/top/all/html _site/manual
- name: Setup Pages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/regress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
name: Build container
run: ./bin/build_container
- name: Generate extension PDF
run: ./do gen:cert_model_pdf[MockCertificateModel]
run: ./do gen:proc_crd_pdf[MockProcessor]
regress-gen-profile:
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -184,4 +184,4 @@ jobs:
name: Build container
run: ./bin/build_container
- name: Generate extension PDF
run: ./do gen:profile[MockProfileRelease]
run: ./do gen:profile_release_pdf[Mock]
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
diag-ditaa-*
arch/manual/isa/**/riscv-isa-manual
gen
resolved_arch
node_modules
_site
images
*.bak
*.log
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
[submodule "ext/riscv-isa-manual"]
path = ext/riscv-isa-manual
url = https://github.com/riscv/riscv-isa-manual
[submodule "ext/csc-riscv-isa-manual"]
path = ext/csc-riscv-isa-manual
url = https://github.com/RISC-V-Certification-Steering-Committee/riscv-isa-manual
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ repos:
args: ["--schemafile", "schemas/ext_schema.json"]
- id: check-jsonschema
alias: check-jsonschema-cert-model
files: ^arch/certificate_model/.*\.(yaml|yml)$
args: ["--schemafile", "schemas/cert_model_schema.json"]
files: ^arch/proc_cert_model/.*\.(yaml|yml)$
args: ["--schemafile", "schemas/proc_cert_model_schema.json"]
- id: check-jsonschema
alias: check-jsonschema-cert-class
files: ^arch/certificate_class/.*\.(yaml|yml)$
args: ["--schemafile", "schemas/cert_class_schema.json"]
files: ^arch/proc_cert_class/.*\.(yaml|yml)$
args: ["--schemafile", "schemas/proc_cert_class_schema.json"]
# Commenting because throwing errors and not sure this is complete yet
# - id: check-jsonschema
# alias: check-jsonschema-manual-version
Expand Down
64 changes: 59 additions & 5 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,64 @@
"configurations": [
{
"type": "rdbg",
"name": "MC100-32",
"name": "MC100-32-CRD",
"request": "launch",
"command": "bundle exec rake",
"script": "gen:cert_model_pdf[MC100-32]",
"script": "gen:proc_crd_pdf[MC100-32]",
"args": [],
"askParameters": false
},
{
"type": "rdbg",
"name": "MC200-32",
"name": "MC100-32-CTP",
"request": "launch",
"command": "bundle exec rake",
"script": "gen:cert_model_pdf[MC200-32]",
"script": "gen:proc_ctp_pdf[MC100-32]",
"args": [],
"askParameters": false
},
{
"type": "rdbg",
"name": "MC200-32-CRD",
"request": "launch",
"command": "bundle exec rake",
"script": "gen:proc_crd_pdf[MC200-32]",
"args": [],
"askParameters": false
},
{
"type": "rdbg",
"name": "MockCRD",
"request": "launch",
"command": "bundle exec rake",
"script": "gen:proc_crd_pdf[MockProcessor]",
"args": [],
"askParameters": false
},
{
"type": "rdbg",
"name": "MockCTP",
"request": "launch",
"command": "bundle exec rake",
"script": "gen:proc_ctp_pdf[MockProcessor]",
"args": [],
"askParameters": false
},
{
"type": "rdbg",
"name": "portfolios",
"request": "launch",
"command": "bundle exec rake",
"script": "portfolios",
"args": [],
"askParameters": false
},
{
"type": "rdbg",
"name": "MockProfile",
"request": "launch",
"command": "bundle exec rake",
"script": "gen:profile_release_pdf[Mock]",
"args": [],
"askParameters": false
},
Expand All @@ -24,7 +69,16 @@
"name": "RVA20",
"request": "launch",
"command": "bundle exec rake",
"script": "gen:profile[RVA20]",
"script": "gen:profile_release_pdf[RVA20]",
"args": [],
"askParameters": false
},
{
"type": "rdbg",
"name": "Smoke test",
"request": "launch",
"command": "bundle exec rake",
"script": "test:smoke",
"args": [],
"askParameters": false
}
Expand Down
12 changes: 7 additions & 5 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ The following artifacts have been generated from the top of the `main` branch:
* https://riscv-software-src.github.io/riscv-unified-db/example_cfg/html/index.html[configuration-specific documentation]
* https://riscv-software-src.github.io/riscv-unified-db/ruby/arch_def/index.html[Ruby API documentation (database interface)]
* https://riscv-software-src.github.io/riscv-unified-db/ruby/idl/index.html[Ruby IDL API documentation (IDL compiler)]
* https://riscv-software-src.github.io/riscv-unified-db/pdfs/RVI20.pdf[RVI20 Profile Release]
* https://riscv-software-src.github.io/riscv-unified-db/pdfs/RVA20.pdf[RVA20 Profile Release]
* https://riscv-software-src.github.io/riscv-unified-db/pdfs/RVA22.pdf[RVA22 Profile Release]
* https://riscv-software-src.github.io/riscv-unified-db/pdfs/MC100-32.pdf[MC100-32 Certification Requirements Document]
* https://riscv-software-src.github.io/riscv-unified-db/pdfs/MC100-64.pdf[MC100-64 Certification Requirements Document]
* https://riscv-software-src.github.io/riscv-unified-db/pdfs/RVI20ProfileRelease.pdf[RVI20 Profile Release]
* https://riscv-software-src.github.io/riscv-unified-db/pdfs/RVA20ProfileRelease.pdf[RVA20 Profile Release]
* https://riscv-software-src.github.io/riscv-unified-db/pdfs/RVA22ProfileRelease.pdf[RVA22 Profile Release]
* https://riscv-software-src.github.io/riscv-unified-db/pdfs/RVA23ProfileRelease.pdf[RVA23 Profile Release]
* https://riscv-software-src.github.io/riscv-unified-db/pdfs/RVB23ProfileRelease.pdf[RVB23 Profile Release]
* https://riscv-software-src.github.io/riscv-unified-db/pdfs/MC100-32-CRD.pdf[MC100-32 Certification Requirements Document]
* https://riscv-software-src.github.io/riscv-unified-db/pdfs/MC100-64-CRD.pdf[MC100-64 Certification Requirements Document]

== Overview

Expand Down
116 changes: 73 additions & 43 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,20 @@ require "yard"
require "minitest/test_task"

require_relative $root / "lib" / "architecture"
require_relative $root / "lib" / "design"
require_relative $root / "lib" / "portfolio_design"

directory "#{$root}/.stamps"

# Load and execute Rakefile for each backend.
Dir.glob("#{$root}/backends/*/tasks.rake") do |rakefile|
load rakefile
end

directory "#{$root}/.stamps"

# @param config_name [String] Name of configuration
# @return [ConfiguredArchitecture]
def cfg_arch_for(config_name)
Rake::Task["#{$root}/.stamps/resolve-#{config_name}.stamp"].invoke

Expand Down Expand Up @@ -117,7 +122,7 @@ namespace :test do
end
task schema: "gen:resolved_arch" do
puts "Checking arch files against schema.."
Architecture.new("#{$root}/resolved_arch").validate(show_progress: true)
Architecture.new("RISC-V Architecture", "#{$root}/resolved_arch").validate(show_progress: true)
puts "All files validate against their schema"
end
task idl: ["gen:resolved_arch", "#{$root}/.stamps/resolve-rv32.stamp", "#{$root}/.stamps/resolve-rv64.stamp"] do
Expand Down Expand Up @@ -289,10 +294,16 @@ namespace :test do
These are basic but fast-running tests to check the database and tools
DESC
task :smoke do
puts "UPDATE: Starting test:smoke"
puts "UPDATE: Running test:idl_compiler"
Rake::Task["test:idl_compiler"].invoke
puts "UPDATE: Running test:lib"
Rake::Task["test:lib"].invoke
puts "UPDATE: Running test:schema"
Rake::Task["test:schema"].invoke
puts "UPDATE: Running test:idl"
Rake::Task["test:idl"].invoke
puts "UPDATE: Done test:smoke"
end

desc <<~DESC
Expand All @@ -301,22 +312,32 @@ namespace :test do
These tests must pass before a commit will be allowed in the main branch on GitHub
DESC
task :regress do
puts "UPDATE: Starting test:regress"
Rake::Task["test:smoke"].invoke

puts "UPDATE: Running gen:html_manual MANUAL_NAME=isa VERSIONS=all"
ENV["MANUAL_NAME"] = "isa"
ENV["VERSIONS"] = "all"
Rake::Task["gen:html_manual"].invoke

puts "UPDATE: Running gen:ext_pdf EXT=B VERSION=latest"
ENV["EXT"] = "B"
ENV["VERSION"] = "latest"
Rake::Task["gen:ext_pdf"].invoke

puts "UPDATE: Running gen:html for generic_rv64"
Rake::Task["gen:html"].invoke("generic_rv64")

Rake::Task["#{$root}/gen/certificate_doc/pdf/MockCertificateModel.pdf"].invoke
Rake::Task["#{$root}/gen/profile_doc/pdf/MockProfileRelease.pdf"].invoke
puts "UPDATE: Generating MockProcessor-CRD.pdf"
Rake::Task["#{$root}/gen/proc_crd/pdf/MockProcessor-CRD.pdf"].invoke

puts
puts "UPDATE: Generating MockProcessor-CTP.pdf"
Rake::Task["#{$root}/gen/proc_ctp/pdf/MockProcessor-CTP.pdf"].invoke

puts "UPDATE: Generating MockProfileRelease.pdf"
Rake::Task["#{$root}/gen/profile/pdf/MockProfileRelease.pdf"].invoke

puts "UPDATE: Done test:regress"
puts "Regression test PASSED"
end

Expand All @@ -337,32 +358,36 @@ desc <<~DESC
Generate all portfolio-based PDF artifacts (certificates and profiles)
DESC
task :portfolios do
portfolio_start_msg("MockCertificateModel")
Rake::Task["#{$root}/gen/certificate_doc/pdf/MockCertificateModel.pdf"].invoke
portfolio_start_msg("MockProcessor-CRD")
Rake::Task["#{$root}/gen/proc_crd/pdf/MockProcessor-CRD.pdf"].invoke
portfolio_start_msg("MockProcessor-CTP")
Rake::Task["#{$root}/gen/proc_ctp/pdf/MockProcessor-CTP.pdf"].invoke
portfolio_start_msg("MockProfileRelease")
Rake::Task["#{$root}/gen/profile_doc/pdf/MockProfileRelease.pdf"].invoke
portfolio_start_msg("MC100-32")
Rake::Task["#{$root}/gen/certificate_doc/pdf/MC100-32.pdf"].invoke
portfolio_start_msg("MC100-64")
Rake::Task["#{$root}/gen/certificate_doc/pdf/MC100-64.pdf"].invoke
portfolio_start_msg("MC200-32")
Rake::Task["#{$root}/gen/certificate_doc/pdf/MC200-32.pdf"].invoke
portfolio_start_msg("MC200-64")
Rake::Task["#{$root}/gen/certificate_doc/pdf/MC200-64.pdf"].invoke
portfolio_start_msg("MC300-32")
Rake::Task["#{$root}/gen/certificate_doc/pdf/MC300-32.pdf"].invoke
portfolio_start_msg("MC300-64")
Rake::Task["#{$root}/gen/certificate_doc/pdf/MC300-64.pdf"].invoke
portfolio_start_msg("RVI20")
Rake::Task["#{$root}/gen/profile_doc/pdf/RVI20.pdf"].invoke
portfolio_start_msg("RVA20")
Rake::Task["#{$root}/gen/profile_doc/pdf/RVA20.pdf"].invoke
portfolio_start_msg("RVA22")
Rake::Task["#{$root}/gen/profile_doc/pdf/RVA22.pdf"].invoke
portfolio_start_msg("RVA23")
Rake::Task["#{$root}/gen/profile_doc/pdf/RVA23.pdf"].invoke
portfolio_start_msg("RVB23")
Rake::Task["#{$root}/gen/profile_doc/pdf/RVB23.pdf"].invoke
Rake::Task["#{$root}/gen/profile/pdf/MockProfileRelease.pdf"].invoke
portfolio_start_msg("MC100-32-CTP")
Rake::Task["#{$root}/gen/proc_ctp/pdf/MC100-32-CTP.pdf"].invoke
portfolio_start_msg("MC100-32-CRD")
Rake::Task["#{$root}/gen/proc_crd/pdf/MC100-32-CRD.pdf"].invoke
portfolio_start_msg("MC100-64-CRD")
Rake::Task["#{$root}/gen/proc_crd/pdf/MC100-64-CRD.pdf"].invoke
portfolio_start_msg("MC200-32-CRD")
Rake::Task["#{$root}/gen/proc_crd/pdf/MC200-32-CRD.pdf"].invoke
portfolio_start_msg("MC200-64-CRD")
Rake::Task["#{$root}/gen/proc_crd/pdf/MC200-64-CRD.pdf"].invoke
portfolio_start_msg("MC300-32-CRD")
Rake::Task["#{$root}/gen/proc_crd/pdf/MC300-32-CRD.pdf"].invoke
portfolio_start_msg("MC300-64-CRD")
Rake::Task["#{$root}/gen/proc_crd/pdf/MC300-64-CRD.pdf"].invoke
portfolio_start_msg("RVI20ProfileRelease")
Rake::Task["#{$root}/gen/profile/pdf/RVI20ProfileRelease.pdf"].invoke
portfolio_start_msg("RVA20ProfileRelease")
Rake::Task["#{$root}/gen/profile/pdf/RVA20ProfileRelease.pdf"].invoke
portfolio_start_msg("RVA22ProfileRelease")
Rake::Task["#{$root}/gen/profile/pdf/RVA22ProfileRelease.pdf"].invoke
portfolio_start_msg("RVA23ProfileRelease")
Rake::Task["#{$root}/gen/profile/pdf/RVA23ProfileRelease.pdf"].invoke
portfolio_start_msg("RVB23ProfileRelease")
Rake::Task["#{$root}/gen/profile/pdf/RVB23ProfileRelease.pdf"].invoke
end

def portfolio_start_msg(name)
Expand All @@ -373,17 +398,22 @@ def portfolio_start_msg(name)
puts ""
end

# Shortcut targets for building profiles and certificates.
task "MockCertificateModel": "#{$root}/gen/certificate_doc/pdf/MockCertificateModel.pdf"
task "MC100-32": "#{$root}/gen/certificate_doc/pdf/MC100-32.pdf"
task "MC100-64": "#{$root}/gen/certificate_doc/pdf/MC100-64.pdf"
task "MC200-32": "#{$root}/gen/certificate_doc/pdf/MC200-32.pdf"
task "MC200-64": "#{$root}/gen/certificate_doc/pdf/MC200-64.pdf"
task "MC300-32": "#{$root}/gen/certificate_doc/pdf/MC300-32.pdf"
task "MC300-64": "#{$root}/gen/certificate_doc/pdf/MC300-64.pdf"
task "MockProfileRelease": "#{$root}/gen/profile_doc/pdf/MockProfileRelease.pdf"
task "RVI20": "#{$root}/gen/profile_doc/pdf/RVI20.pdf"
task "RVA20": "#{$root}/gen/profile_doc/pdf/RVA20.pdf"
task "RVA22": "#{$root}/gen/profile_doc/pdf/RVA22.pdf"
task "RVA23": "#{$root}/gen/profile_doc/pdf/RVA23.pdf"
task "RVB23": "#{$root}/gen/profile_doc/pdf/RVB23.pdf"
# Shortcut targets for building CRDs, CTPs, and Profile Releases.
task "MockCRD": "#{$root}/gen/proc_crd/pdf/MockProcessor-CRD.pdf"
task "MockProcessorCRD": "#{$root}/gen/proc_crd/pdf/MockProcessor-CRD.pdf"
task "MockCTP": "#{$root}/gen/proc_ctp/pdf/MockProcessor-CTP.pdf"
task "MockProcessorCTP": "#{$root}/gen/proc_ctp/pdf/MockProcessor-CTP.pdf"
task "MC100-32-CTP": "#{$root}/gen/proc_ctp/pdf/MC100-32-CTP.pdf"
task "MC100-32-CRD": "#{$root}/gen/proc_crd/pdf/MC100-32-CRD.pdf"
task "MC100-64-CRD": "#{$root}/gen/proc_crd/pdf/MC100-64-CRD.pdf"
task "MC200-32-CRD": "#{$root}/gen/proc_crd/pdf/MC200-32-CRD.pdf"
task "MC200-64-CRD": "#{$root}/gen/proc_crd/pdf/MC200-64-CRD.pdf"
task "MC300-32-CRD": "#{$root}/gen/proc_crd/pdf/MC300-32-CRD.pdf"
task "MC300-64-CRD": "#{$root}/gen/proc_crd/pdf/MC300-64-CRD.pdf"
task "MockProfile": "#{$root}/gen/profile/pdf/MockProfileRelease.pdf"
task "MockProfileRelease": "#{$root}/gen/profile/pdf/MockProfileRelease.pdf"
task "RVI20": "#{$root}/gen/profile/pdf/RVI20ProfileRelease.pdf"
task "RVA20": "#{$root}/gen/profile/pdf/RVA20ProfileRelease.pdf"
task "RVA22": "#{$root}/gen/profile/pdf/RVA22ProfileRelease.pdf"
task "RVA23": "#{$root}/gen/profile/pdf/RVA23ProfileRelease.pdf"
task "RVB23": "#{$root}/gen/profile/pdf/RVB23ProfileRelease.pdf"
Loading
Loading