clean-ide issueshttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/issues2019-04-12T13:28:45+02:00https://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/issues/2cpm environment options2019-04-12T13:28:45+02:00Mart Lubberscpm environment optionsOptions to modify the environments are already in the cpm program but they are not implemented:
There are more options listed in a TODO but they are for some other timeOptions to modify the environments are already in the cpm program but they are not implemented:
There are more options listed in a TODO but they are for some other timeMart LubbersMart Lubbershttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/issues/3cpm workflow for iTasks broken (was: cpm doesn't work with iTasks anymore by ...2019-05-16T15:31:02+02:00Mart Lubberscpm workflow for iTasks broken (was: cpm doesn't work with iTasks anymore by default)The following test program:
```
module test
import iTasks
Start w = doTasks (onStartup (treturn ())) w
```
The following script:
```
cpm project test create
cpm project test.prj target iTasks
cpm project test.prj set -dynamics
cpm pro...The following test program:
```
module test
import iTasks
Start w = doTasks (onStartup (treturn ())) w
```
The following script:
```
cpm project test create
cpm project test.prj target iTasks
cpm project test.prj set -dynamics
cpm project test.prj build
./test
```
Results in:
```
Failed to parse bytecode, is ByteCode set in the project file?
65536
```
There should either be an option to configure the bytecode options from `cpm`.
Furthermore, creating broken project files can be avoided by using project templates for this. So that you can do:
```
cpm project test create iTasks
```
where iTasks.prt is in `$CLEAN_HOME/etc` and contains the default sane options for an iTasks project.https://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/issues/5New project using Template broken2019-07-23T18:27:54+02:00Bas LijnseNew project using Template brokenIn the windows 64 IDE I get a "file not found" error for the new project file that I am trying to create. I used the `New project using template` menu option and selected the iTasks.prt template file.In the windows 64 IDE I get a "file not found" error for the new project file that I am trying to create. I used the `New project using template` menu option and selected the iTasks.prt template file.Mart LubbersMart Lubbershttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/issues/9cpm breaks when compiler options are set in an environment2020-03-02T12:37:52+01:00Bas Lijnsecpm breaks when compiler options are set in an environmentWhen an environment defines compiler options with colon notation, cpm hangs with `execv failed`.
For example:
`EnvironmentCompiler: lib/exe/cocl:-h 256M:`When an environment defines compiler options with colon notation, cpm hangs with `execv failed`.
For example:
`EnvironmentCompiler: lib/exe/cocl:-h 256M:`John van GroningenJohn van Groningenhttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/issues/10occasional crashes when compiling in parallel on Linux-x642020-10-01T11:32:38+02:00Steffen Michelsoccasional crashes when compiling in parallel on Linux-x64I get occasional crashes when compiling in parallel (`EnvironmentCompileMethod: 2`):
```
polling file descriptors failed with event16
```I get occasional crashes when compiling in parallel (`EnvironmentCompileMethod: 2`):
```
polling file descriptors failed with event16
```John van GroningenJohn van Groningenhttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/issues/12'cpm project .. set -s 4m' has no effect2021-01-27T16:28:50+01:00Camil Staps'cpm project .. set -s 4m' has no effectRunning `cpm project x.prj set -s 4m` has no effect. It should set the stack size to 4MiB, but the file is unmodified. There is no output and the exit code is 0.Running `cpm project x.prj set -s 4m` has no effect. It should set the stack size to 4MiB, but the file is unmodified. There is no output and the exit code is 0.https://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/issues/1Add {Library} to project files2021-03-22T14:38:14+01:00Mart LubbersAdd {Library} to project filesThis allows more platform independent project files.
On windows this is `{Application}/Libraries` and on mac/linux this is `{Application}/lib`
Another option is to let `{Library}` represent `Libraries` on windows and `lib` on mac/linux....This allows more platform independent project files.
On windows this is `{Application}/Libraries` and on mac/linux this is `{Application}/lib`
Another option is to let `{Library}` represent `Libraries` on windows and `lib` on mac/linux.
I also propose to add an alias for `{OS}` that expands to some unique operating system and platform identifier.
In this way you can OS agnostically encode this as well. It might be the case that a `{Platform}` is also required (e.g. arm/x86)
The paths for cpm would then change from
```
Path: {Project}*cpm
Path: {Project}*cpm*Posix
Path: {Project}*Pm
Path: {Project}*Unix
Path: {Project}*Util
Path: {Project}*BatchBuild
Path: {Project}*Interfaces*LinkerInterface
Path: {Application}*lib*ArgEnv
Path: {Application}*lib*StdLib
Path: {Application}*lib*Directory
```
to something like:
```
Path: {Project}*cpm
Path: {Project}*cpm*{OS}
Path: {Project}*Pm
Path: {Project}*{OS}
Path: {Project}*Util
Path: {Project}*BatchBuild
Path: {Project}*Interfaces*LinkerInterface
Path: {Library}*ArgEnv
Path: {Library}*StdLib
Path: {Library}*Directory
```