| 69 | if {[variant_isset precompile]} { |
| 70 | # Build the precompiles |
| 71 | set env(ISE_EIFFEL) ${destroot}/${applications_dir}/Eiffel${branch} |
| 72 | set compiler $env(ISE_EIFFEL)/studio/spec/$env(ISE_PLATFORM)/bin/ec |
| 73 | ui_msg "---> Precompiling EiffelBase" |
| 74 | system "cd $env(ISE_EIFFEL)/precomp/spec/$env(ISE_PLATFORM) && ${compiler} -precompile -config base.ecf -c_compile -clean" |
| 75 | system "cd $env(ISE_EIFFEL)/precomp/spec/$env(ISE_PLATFORM) && ${compiler} -precompile -config base-safe.ecf -c_compile -clean" |
| 76 | system "cd $env(ISE_EIFFEL)/precomp/spec/$env(ISE_PLATFORM) && ${compiler} -precompile -config base-mt.ecf -c_compile -clean" |
| 77 | system "cd $env(ISE_EIFFEL)/precomp/spec/$env(ISE_PLATFORM) && ${compiler} -precompile -config base-mt-safe.ecf -c_compile -clean" |
| 78 | |
| 79 | ui_msg "---> Precompiling EiffelVision" |
| 80 | system "cd $env(ISE_EIFFEL)/precomp/spec/$env(ISE_PLATFORM) && ${compiler} -precompile -config vision2.ecf -c_compile -clean" |
| 81 | #system "cd $env(ISE_EIFFEL)/precomp/spec/$env(ISE_PLATFORM) && ${compiler} -precompile -config vision2-safe.ecf -c_compile -clean" |
| 82 | system "cd $env(ISE_EIFFEL)/precomp/spec/$env(ISE_PLATFORM) && ${compiler} -precompile -config vision2-mt.ecf -c_compile -clean" |
| 83 | #system "cd $env(ISE_EIFFEL)/precomp/spec/$env(ISE_PLATFORM) && ${compiler} -precompile -config vision2-mt-safe.ecf -c_compile -clean" |
| 84 | |
| 85 | # Build the precompiles |
| 86 | set env(ISE_EIFFEL) ${applications_dir}/Eiffel${branch} |
| 87 | set compiler $env(ISE_EIFFEL)/studio/spec/$env(ISE_PLATFORM)/bin/ec |
| 88 | # Build the precompiles for -experimental |
| 89 | ui_msg "---> Precompiling EiffelBase for experimental" |
| 90 | system "cd $env(ISE_EIFFEL)/experimental/precomp/spec/$env(ISE_PLATFORM) && ${compiler} -experiment -precompile -config base.ecf -c_compile -clean" |
| 91 | system "cd $env(ISE_EIFFEL)/experimental/precomp/spec/$env(ISE_PLATFORM) && ${compiler} -experiment -precompile -config base-safe.ecf -c_compile -clean" |
| 92 | system "cd $env(ISE_EIFFEL)/experimental/precomp/spec/$env(ISE_PLATFORM) && ${compiler} -experiment -precompile -config base-mt.ecf -c_compile -clean" |
| 93 | system "cd $env(ISE_EIFFEL)/experimental/precomp/spec/$env(ISE_PLATFORM) && ${compiler} -experiment -precompile -config base-mt-safe.ecf -c_compile -clean" |
| 94 | |
| 95 | ui_msg "---> Precompiling EiffelVision for experimental" |
| 96 | system "cd $env(ISE_EIFFEL)/experimental/precomp/spec/$env(ISE_PLATFORM) && ${compiler} -experiment -precompile -config vision2.ecf -c_compile -clean" |
| 97 | #system "cd $env(ISE_EIFFEL)/experimental/precomp/spec/$env(ISE_PLATFORM) && ${compiler} -experiment -precompile -config vision2-safe.ecf -c_compile -clean" |
| 98 | system "cd $env(ISE_EIFFEL)/experimental/precomp/spec/$env(ISE_PLATFORM) && ${compiler} -experiment -precompile -config vision2-mt.ecf -c_compile -clean" |
| 99 | #system "cd $env(ISE_EIFFEL)/experimental/precomp/spec/$env(ISE_PLATFORM) && ${compiler} -experiment -precompile -config vision2-mt-safe.ecf -c_compile -clean" |
| 100 | } |
| 101 | if {[variant_isset fixpermissions]} { |
| 102 | set env(ISE_EIFFEL) ${destroot}/${applications_dir}/Eiffel${branch} |
| 103 | system "cd $env(ISE_EIFFEL)/precomp/spec/$env(ISE_PLATFORM) && chmod -R 777 ." |
| 104 | system "cd $env(ISE_EIFFEL)/experimental/precomp/spec/$env(ISE_PLATFORM) && chmod -R 777 ." |
| 105 | } |
| 106 | } |
| 107 | |