salmon icon indicating copy to clipboard operation
salmon copied to clipboard

32-bit support?

Open robertaboukhalil opened this issue 9 months ago • 0 comments

Is there a way to compile Salmon to a 32-bit architecture by any chance? I ask because I'd like to have single-cell tutorials on sandbox.bio v2 that use Salmon. But to power the platform, I'm running a 32-bit/i686 Debian OS in the browser 😬

When I try to compile it in a i386/debian:bookworm-20230904-slim Docker container, this is the error I get:

1075.0 -- Build files have been written to: /root/build/salmon/external/oneTBB-2021.5.0
1075.2 [ 14%] Performing build step for 'libtbb'
1075.7 [  2%] Building CXX object src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o
1079.6 [  5%] Building CXX object src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o
1083.2 [  7%] Building CXX object src/tbb/CMakeFiles/tbb.dir/arena.cpp.o
1087.7 In file included from /usr/lib/gcc/i686-linux-gnu/12/include/x86gprintrin.h:89,
1087.7                  from /usr/lib/gcc/i686-linux-gnu/12/include/immintrin.h:27,
1087.7                  from /root/build/salmon/external/oneTBB-2021.5.0/src/tbb/../../include/oneapi/tbb/detail/_machine.h:42,
1087.7                  from /root/build/salmon/external/oneTBB-2021.5.0/src/tbb/../../include/oneapi/tbb/detail/_utils.h:26,
1087.7                  from /root/build/salmon/external/oneTBB-2021.5.0/src/tbb/task_dispatcher.h:20,
1087.7                  from /root/build/salmon/external/oneTBB-2021.5.0/src/tbb/arena.cpp:17:
1087.7 /usr/lib/gcc/i686-linux-gnu/12/include/waitpkgintrin.h: In function 'tbb::detail::r1::prolonged_pause()':
1087.7 /usr/lib/gcc/i686-linux-gnu/12/include/waitpkgintrin.h:53:1: error: inlining failed in call to 'always_inline' '_tpause(unsigned int, unsigned long long)': target specific option mismatch
1087.7    53 | _tpause (unsigned int __A, unsigned long long __B)
1087.7       | ^~~~~~~
1087.7 compilation terminated due to -Wfatal-errors.
1087.8 make[5]: *** [src/tbb/CMakeFiles/tbb.dir/build.make:104: src/tbb/CMakeFiles/tbb.dir/arena.cpp.o] Error 1
1087.8 make[4]: *** [CMakeFiles/Makefile2:170: src/tbb/CMakeFiles/tbb.dir/all] Error 2
1087.8 make[3]: *** [Makefile:156: all] Error 2
1087.8 make[2]: *** [CMakeFiles/libtbb.dir/build.make:87: libtbb-prefix/src/libtbb-stamp/libtbb-build] Error 2
1087.8 make[1]: *** [CMakeFiles/Makefile2:281: CMakeFiles/libtbb.dir/all] Error 2
1087.8 make: *** [Makefile:166: all] Error 2

Any thoughts on whether this is possible at all?

robertaboukhalil avatar Sep 15 '23 18:09 robertaboukhalil