Åke Sandgren

Results 181 comments of Åke Sandgren

There is a patch we should add to this too. The CMAKE_VERBOSE_MAKEFILE setting isn't propagated to the sub projects it builds. Testing it now.

The problem with not finding sys/cdefs.h smells like a bug in clang. A simple ``` #include ``` fails with the offending clang (1st stage) when doing ``` .../Clang/13.0.1/GCCcore-11.2.0-CUDA-11.4.1/llvm.obj.1/bin/clang -E /tmp/t.c...

Actually, our Clang/11.0.1 also presents the same error in the above case and so does Clang/10.0.0 I.e. this is not something new, it just happens to hit the bootstrap step...

@nordmoen the problem is that with this version it fails to build.

Going to test a patch for this.... Patch failed to accomplish what I wanted... Back to the drawing board...

The problem is described here: https://groups.google.com/g/llvm-dev/c/71cdlaU-fG8 Adding gcc-multilib (from the OS) to my build container fixes the problem. I would argue that this is a bug in Clang, that it...

Test report by @akesandgren Using easyblocks from PR(s) https://github.com/easybuilders/easybuild-easyblocks/pull/2684 **SUCCESS** Build succeeded for 2 out of 2 (2 easyconfigs in total) b-an02.hpc2n.umu.se - Linux Ubuntu 20.04, x86_64, Intel(R) Xeon(R) CPU...

The reason it works by adding gcc-multilib is that (for my test with sys/cdefs.h) is that libc6-dev-i386 adds a softlink for /usr/include/sys/cdefs.h -> ../x86_64-linux-gnu/sys/cdefs.h So the "bug" in Clang remains...

Test report by @akesandgren **FAILED** Build succeeded for 0 out of 1 (1 easyconfigs in total) b-cn1113.hpc2n.umu.se - Linux Ubuntu 20.04, x86_64, Intel(R) Xeon(R) CPU E5-2690 v4 @ 2.60GHz, Python...

How did you get those builds to not fail with ICE's??? I get: ``` /hpc2n/eb/software/CUDA/11.3.1/bin/nvcc /scratch/eb-ake/AMGX/2.2.0/foss-2021a-CUDA-11.3.1/AMGX-2.2.0/core/src/solvers/user_solver.cu -c -o /scratch/eb-ake/AMGX/2.2.0/foss-2021a-CUDA-11.3.1/easybuild_obj/core/CMakeFiles/amgx_core.dir/src/solvers/./amgx_core_generated_user_solver.cu.o -ccbin /hpc2n/eb/software/GCCcore/10.3.0/bin/gcc -m64 -Xcompiler ,\"-O2\",\"-ftree-vectorize\",\"-march=native\",\"-fno-math-errno\",\"-fopenmp\",\"-Wno-terminate\",\"-static-libgcc\",\"-fopenmp\",\"-DRAPIDJSON_DEFINED\",\"-DAMGX_WITH_MPI\",\"-O3\",\"-DNDEBUG\" -Xcompiler=-rdynamic -Xcompiler=-fPIC -Xcompiler=-fvisibility=default -DDISABLE_MIXED_PRECISION -DCUSPARSE_GENERIC_INTERFACES -DCUSPARSE_USE_GENERIC_SPGEMM...