cpm 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 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.

Edited by Mart Lubbers
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information