diff --git a/proximal/halide/meson.build b/proximal/halide/meson.build index bd0a399..7c4d0dc 100644 --- a/proximal/halide/meson.build +++ b/proximal/halide/meson.build @@ -130,9 +130,11 @@ env = { 'LD_LIBRARY_PATH': halide_library_path } if build_machine.system() == 'windows' object_file_ext = 'obj' statlib_file_ext = 'lib' + dynamiclib_file_ext = 'dll' else object_file_ext = 'o' statlib_file_ext = 'a' + dynamiclib_file_ext = 'so' endif proximal_python_interface = [] @@ -160,7 +162,7 @@ foreach p : pipeline_name elif p['autoschedule'] compile_cmd += [ 'target=host', - '-p', 'autoschedule_mullapudi2016', + '-p', '@0@/libautoschedule_mullapudi2016.@1@'.format(halide_library_path, dynamiclib_file_ext), 'autoscheduler=Mullapudi2016', # Maximum level of CPU core, or GPU threads available 'autoscheduler.parallelism=4', @@ -186,7 +188,6 @@ foreach p : pipeline_name p['function_name'] + '.h', ], input: halide_generator, - env: env, command: [ compile_cmd, p['generator_param'],