Skip to content
Snippets Groups Projects
Commit 45af82cc authored by Ralf Mueller's avatar Ralf Mueller
Browse files

add rewrite of the Rakefile

parent bf1fed55
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@
},
"localGCC": {
"hostname": "melian",
"configureCall": "/home/ram/src/cdo/configure --enable-hirlam-extensions --with-grib_api --with-netcdf --with-magics --with-udunits2 CFLAGS='-g -O3 -std=gnu99 -Wall -fopenmp -march=native' CPPFLAGS='-I/usr/include/magics' LDFLAGS='-leccodes'",
"configureCall": "/home/ram/src/cdo/configure --enable-hirlam-extensions --with-netcdf --with-udunits2 CFLAGS='-g -O3 -std=gnu99 -Wall -fopenmp -march=native' CXXFLAGS='-g -O3 -std=gnu99 -Wall -fopenmp -march=native'",
"makeCall": "make -j 12",
"sync": false
},
......
load '/home/ram/src/andAllTheRestOfIt/building/CdoCdi.rake'
class CdoBuild < CdoCdiBuild
def generateTasks
super
@help[:checkSerial] = 'run cdo binary with serialized metadata IO (-L)'
@builders.each {|builder|
task "#{builder.name}_checkSerial".to_sym => ["#{builder.name}_make".to_sym] do |t|
CommandExecution.execute("make check CDO='#{builder.targetDir}/src/cdo -L'",builder)
end
}
@help[:checkV] = 'run "cdo -V" to x-check the build'
@builders.each {|builder|
task "#{builder.name}_checkV".to_sym => ["#{builder.name}_make".to_sym] do |t|
CommandExecution.execute("./src/cdo -V'",builder)
end
}
end
end
build = CdoBuild.new(@rc)
build.generateTasks
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment