ci_env.x86_64-w64-mingw32.sh 663 B

123456789101112131415161718192021
  1. # Copyright (c) 2023-2024 Cosmin Truta.
  2. #
  3. # Use, modification and distribution are subject to the MIT License.
  4. # Please see the accompanying file LICENSE_MIT.txt
  5. #
  6. # SPDX-License-Identifier: MIT
  7. export CI_TARGET_ARCH=x86_64
  8. export CI_TARGET_SYSTEM=mingw64
  9. # The output of `uname -s` on MSYS2 is understandable, and so is
  10. # CI_TARGET_SYSTEM above, in simplified form. (See also Cygwin.)
  11. # But aside from that, the Mingw-w64 nomenclature is rather messy.
  12. export CI_CC="$CI_TARGET_ARCH-w64-mingw32-gcc"
  13. export CI_AR="$CI_CC-ar"
  14. export CI_RANLIB="$CI_CC-ranlib"
  15. export CI_CMAKE_VARS="
  16. -DCMAKE_SYSTEM_NAME=Windows
  17. -DCMAKE_SYSTEM_PROCESSOR=$CI_TARGET_ARCH
  18. "