Probably, it's due to openmpi library. I have the one from the extra repo v3.1.0-1, but neither from AUR: openmpi-git (v3.0.0.a1.r25968.r4a65b19-2) or openmpi-cuda (1.10.6-1).

My error is:

==> Iniciando build()...
CMake Deprecation Warning at CMakeLists.txt:14 (CMAKE_POLICY):
The OLD behavior for policy CMP0017 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.

OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
CMakeLists.txt:101 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in /usr/share/cmake-3.11/Modules/FindMPI.cmake:
Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
and POP. Run "cmake --help-policy CMP0011" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.

The included script

/usr/share/cmake-3.11/Modules/FindMPI.cmake

affects policy settings. CMake is implying the NO_POLICY_SCOPE option for
compatibility, so the effects are applied to the including context.
Call Stack (most recent call first):
CMakeLists.txt:118 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.