bh107 / bohrium

Automatic parallelization of Python/NumPy, C, and C++ codes on Linux and MacOSX
http://www.bh107.org
Apache License 2.0
221 stars 31 forks source link

Bohrium fails to compile in the newest version (7568cc96db0ebe482ad3cb46e3028458b5f49f65) #8

Closed Ektorus closed 9 years ago

Ektorus commented 9 years ago

I have the following build options: -- The following OPTIONAL packages have been found:

-- The following RECOMMENDED packages have been found:

-- The following REQUIRED packages have been found:

-- The following RECOMMENDED packages have not been found:

When I run make on the build files I get the following error: /home/ulrik/git/bohrium/ve/cpu/utils_mapping_tacs.cpp: In function ‘void bohrium::core::instrs_to_tacs(bh_ir&, std::vector&, bohrium::core::Symbol Table&)’: /home/ulrik/git/bohrium/ve/cpu/utils_mapping_tacs.cpp:344:18: error: ‘BH_SIGN’ was not declared in this scope case BH_SIGN: ^ ve/cpu/CMakeFiles/bh_ve_cpu.dir/build.make:238: recipe for target 've/cpu/CMakeFiles/bh_ve_cpu.dir/utils_mapping_tacs.cpp.o' failed make[2]: * [ve/cpu/CMakeFiles/bh_ve_cpu.dir/utils_mapping_tacs.cpp.o] Error 1 CMakeFiles/Makefile2:319: recipe for target 've/cpu/CMakeFiles/bh_ve_cpu.dir/all' failed make[1]: * [ve/cpu/CMakeFiles/bh_ve_cpu.dir/all] Error 2 Makefile:117: recipe for target 'all' failed make: *\ [all] Error 2

madsbk commented 9 years ago

It is because the introduction of BH_SIGN requires a "git clean -xdf" in some cases. NB: all non-committed files in your repos will be deleted!