diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-03-01 13:02:50 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-05-02 21:36:45 +0200 |
commit | 4d2d896e28446928d820bf1353abcf40e3f66ed8 (patch) | |
tree | 1aa8c49b5faec5f96a80f2257bb97d1c123d36b6 /wscript | |
parent | 11f46f4bf230a22559110f64d01ee9c05749de38 (diff) | |
download | pucket-4d2d896e28446928d820bf1353abcf40e3f66ed8.tar.gz pucket-4d2d896e28446928d820bf1353abcf40e3f66ed8.tar.bz2 pucket-4d2d896e28446928d820bf1353abcf40e3f66ed8.zip |
Switch to OpenMP
Replaces quality (target density) parameter with time limit. In
preparation for rendering resumption.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -7,10 +7,11 @@ def configure(conf): conf.env.append_unique ('CFLAGS', '-std=gnu99') conf.env.append_unique ('CFLAGS', '-D_GNU_SOURCE') + conf.env.append_unique ('CFLAGS', '-fopenmp') + conf.env.append_unique ('LINKFLAGS', '-fopenmp') conf.check_cfg (path='xml2-config', args='--cflags --libs', package='', uselib_store='xml2') conf.check_cc (lib='xml2', header_name='libxml/parser.h', function_name='xmlParseFile', use='xml2') - conf.check_cc (lib='pthread', uselib_store='pthread') conf.check_cfg (package='libpng', uselib_store='png', args=['--cflags', '--libs'], msg='Checking for library png') conf.check_cc (lib='amdlibm', header_name='amdlibm.h', mandatory=False, define_name='HAVE_AMDLIBM', uselib_store='amdlibm') @@ -19,5 +20,5 @@ def configure(conf): conf.write_config_header ('config.h') def build(bld): - bld.program (features='c cprogram', source='flam3.c parser.c variations.c interpolation.c palettes.c png.c random.c rect.c main.c', target='vlam3', use='xml2 png amdlibm pthread') + bld.program (features='c cprogram', source='flam3.c parser.c variations.c interpolation.c palettes.c png.c random.c rect.c main.c', target='vlam3', use='xml2 png amdlibm') |