-
-
Notifications
You must be signed in to change notification settings - Fork 15
Move all JSON Schema utilities from Core to this repo #820
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,14 @@ | ||
| vendorpull https://github.com/sourcemeta/vendorpull 1dcbac42809cf87cb5b045106b863e17ad84ba02 | ||
| core https://github.com/sourcemeta/core 7b51d3cbb4e1ea56ddc910c0d315880113afd1cc | ||
| core https://github.com/sourcemeta/core 31404273bf927fc26457a1052b27b56519c0329c | ||
| jsonschema-test-suite https://github.com/json-schema-org/JSON-Schema-Test-Suite c7257e92580678a086f0b9243a1903ed88bd27f7 | ||
| jsonschema-2020-12 https://github.com/json-schema-org/json-schema-spec 769daad75a9553562333a8937a187741cb708c72 | ||
| jsonschema-2019-09 https://github.com/json-schema-org/json-schema-spec 41014ea723120ce70b314d72f863c6929d9f3cfd | ||
| jsonschema-draft7 https://github.com/json-schema-org/json-schema-spec 567f768506aaa33a38e552c85bf0586029ef1b32 | ||
| jsonschema-draft6 https://github.com/json-schema-org/json-schema-spec 59ed5f6fc6f6386e23ca51d7f31d7fe9cf696713 | ||
| jsonschema-draft4 https://github.com/json-schema-org/json-schema-spec 955d185db846cfca84269d9d711b10f4f3353d38 | ||
| jsonschema-draft3 https://github.com/json-schema-org/json-schema-spec 89912ad69fe15e006e8336a59e93bf7a1e46fa54 | ||
| jsonschema-draft2 https://github.com/json-schema-org/json-schema-spec 707f65070d09fe5baa1315bce4d31a66ff124171 | ||
| jsonschema-draft1 https://github.com/json-schema-org/json-schema-spec 2072feec9fc7a7ff0b2bb5b02c2d6742c554cc4a | ||
| jsonschema-draft0 https://github.com/json-schema-org/json-schema-spec 7ea575aef8d5c0183acbe6ff65b4c98ee9c236ec | ||
| openapi https://github.com/OAI/OpenAPI-Specification 74906beddddab9e555337031b2a8d8e9338c4972 | ||
| referencing-suite https://github.com/python-jsonschema/referencing-suite 61c4cc202b1e96ed5adcaf4842a595f68d659212 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,9 @@ | ||
| set(BENCHMARK_SOURCES) | ||
|
|
||
| if(BLAZE_FOUNDATION) | ||
| list(APPEND BENCHMARK_SOURCES foundation.cc) | ||
| endif() | ||
|
|
||
| if(BLAZE_COMPILER AND BLAZE_EVALUATOR AND BLAZE_OUTPUT) | ||
| list(APPEND BENCHMARK_SOURCES | ||
| e2e/runner.cc | ||
|
|
@@ -27,7 +31,7 @@ if(BENCHMARK_SOURCES) | |
| target_link_libraries(sourcemeta_blaze_benchmark | ||
| PRIVATE sourcemeta::core::jsonl) | ||
| target_link_libraries(sourcemeta_blaze_benchmark | ||
| PRIVATE sourcemeta::core::jsonschema) | ||
| PRIVATE sourcemeta::blaze::foundation) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P0: The replacement link of Prompt for AI agents |
||
|
|
||
| if(BLAZE_COMPILER) | ||
| target_link_libraries(sourcemeta_blaze_benchmark | ||
|
|
@@ -45,6 +49,10 @@ if(BENCHMARK_SOURCES) | |
| target_link_libraries(sourcemeta_blaze_benchmark | ||
| PRIVATE sourcemeta::blaze::alterschema) | ||
| endif() | ||
| if(BLAZE_FOUNDATION) | ||
| target_link_libraries(sourcemeta_blaze_benchmark | ||
| PRIVATE sourcemeta::blaze::foundation) | ||
| endif() | ||
|
|
||
| add_custom_target(benchmark_all | ||
| COMMAND sourcemeta_blaze_benchmark | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BLAZE_FOUNDATIONis optional here, but multiple enabled-by-default targets linksourcemeta::blaze::foundationunconditionally; setting itOFFwithout also disabling dependents will likely break CMake configuration. Consider enforcing/propagating this dependency soBLAZE_FOUNDATION=OFFcannot yield an invalid build configuration.Severity: medium
Other Locations
benchmark/CMakeLists.txt:34src/compiler/CMakeLists.txt:28src/output/CMakeLists.txt:18src/codegen/CMakeLists.txt:18🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.