-
Notifications
You must be signed in to change notification settings - Fork 8
Labels
CI/CDContinuous Integration/Continuous deploymentContinuous Integration/Continuous deploymenttestRelates to unit testingRelates to unit testing
Description
Julia can be launched with --check-bounds={yes|no|auto} to emit bounds checks always, never, or respect
@inboundsdeclarations.
The default is auto, but currently we override it to yes everywhere, mainly to improve compiled code re-use, and hence reduce CI time.
It works, but is complex, adds a lot of boilerplate, and you have to remember adding --check-bounds=yes each time you run Julia, since you cannot set it with an ENV variable. It also goes against the default Julia behavior, which, starting from 1.13 with JuliaLang/Pkg.jl#4494 is actually going the other way, to use the default more often.
Perhaps it is an idea to add a weekly Ribasim test run on TeamCity with bounds checking forced to true.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CI/CDContinuous Integration/Continuous deploymentContinuous Integration/Continuous deploymenttestRelates to unit testingRelates to unit testing
Type
Projects
Status
✅ Done