Hello,

That's correct.


The documentation was fixed for 1.23 a few months ago:

https://github.com/chapel-lang/chapel/issues/15485

You can see the latest documentation by selecting 
"version 1.23 (prerelease)" in the drop-down menu in the very 
upper-left corner of the documentation page you refered to.


Paul



On Fri, 14 Aug 2020, Hayashi, Akihiro wrote:

> Let me ask a question about "compopts" for building examples in a Mason 
> package. According to the manual ( 
> https://chapel-lang.org/docs/tools/mason/mason.html#creating-and-running-examples),
>  
> when we declare “examples" explicitly in Mason.toml, we can specify 
> “compopts” and/or “execopts” to include compile time and/or runtime 
> arguments. Also, the example toml file in the manual uses a square 
> bracket (“[ ]”) to specify these arguments. However, I noticed that 
> these arguments are not added when I do “mason build --example --show”. 
> After several attempts, I noticed that removing the square bracket works 
> fine (please see below) at least with Chapel 1.20 and 1.22 (didn’t try 
> 1.21 yet). Could you confirm this is okay?
> 
> [brick]
> name = "GPUIterator"
> version = "0.1.0"
> chplVersion = "1.16.0..1.22.0"
> 
> [dependencies]
> 
> 
> [examples]
> examples = ["vc.chpl"]
>     [examples.vc]
>     compopts = "--savec tmp” # working
>     # compopts = ["--savec tmp”] # not working
> 
> Thanks,
> 
> Akihiro
> 
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers

Reply via email to