]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake/modules/BuildISAL.cmake: set no-integrated-as on clang only
authorMatan Breizman <mbreizma@redhat.com>
Sun, 2 Mar 2025 08:42:45 +0000 (08:42 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Sun, 2 Mar 2025 08:48:31 +0000 (08:48 +0000)
commit56c37d7035e34e3da6adc21567b8abf4c73a89ba
treec154c84de251539379dc114c40e8866a1cdd78ce
parent6b1bbaffd6e92b29f7ac363c6286ce9cb2578af0
cmake/modules/BuildISAL.cmake: set no-integrated-as on clang only

this option is only relevant to clang, gcc will fail with:
```
CMake Error at ceph/build/src/erasure-code/isa/isal_ext-prefix/src/isal_ext-stamp/isal_ext-configure-Debug-impl.cmake:19 (message):
  Command failed (77):

   'env' 'CC=/usr/bin/gcc-11' './configure' '--prefix=ceph/build/src/isa-l/install' '--with-pic' '--enable-static' '--disable-shared' 'CFLAGS=-no-integrated-as'
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
cmake/modules/BuildISAL.cmake