Search Criteria
Package Details: mingw-w64-cmake 1-40
Package Actions
Git Clone URL: | https://aur.archlinux.org/mingw-w64-cmake.git (read-only, click to copy) |
---|---|
Package Base: | mingw-w64-cmake |
Description: | CMake wrapper for MinGW (mingw-w64) |
Upstream URL: | http://fedoraproject.org/wiki/MinGW |
Licenses: | GPL |
Submitter: | brcha |
Maintainer: | xantares |
Last Packager: | xantares |
Votes: | 57 |
Popularity: | 0.72 |
First Submitted: | 2013-04-17 12:11 (UTC) |
Last Updated: | 2022-12-05 17:39 (UTC) |
Dependencies (5)
- cmake (cmake-gitAUR)
- mingw-w64-environmentAUR (llvm-mingw-w64-environmentAUR)
- mingw-w64-gcc (mingw-w64-gcc132AUR, llvm-mingw-w64-toolchain-ucrt-binAUR, llvm-mingw-w64-toolchain-msvcrt-binAUR)
- mingw-w64-pkg-configAUR (llvm-mingw-w64-pkg-configAUR)
- mingw-w64-wineAUR (optional) – runtime support
Required by (278)
- mingw-w64-abseil-cpp (make)
- mingw-w64-agrum (make)
- mingw-w64-aom (make)
- mingw-w64-armadillo (make)
- mingw-w64-asmjit (make)
- mingw-w64-assimp (make)
- mingw-w64-async++-git (make)
- mingw-w64-avisynthplus (make)
- mingw-w64-blas (make)
- mingw-w64-blosc (make)
- mingw-w64-box2d (make)
- mingw-w64-brotli (make)
- mingw-w64-bullet (make)
- mingw-w64-c++utilities (make)
- mingw-w64-c-ares (make)
- mingw-w64-capstone (make)
- mingw-w64-catch2v3 (make)
- mingw-w64-cblas (make)
- mingw-w64-ceres-solver (make)
- mingw-w64-cfitsio (make)
- mingw-w64-cgal (make)
- mingw-w64-cglm (make)
- mingw-w64-cgns (make)
- mingw-w64-chrono-date (make)
- mingw-w64-civetweb (make)
- mingw-w64-cli11 (make)
- mingw-w64-cmake-static
- mingw-w64-cminpack (make)
- mingw-w64-cmocka (make)
- mingw-w64-coin-or-csdp (make)
- mingw-w64-cppwinrt (make)
- mingw-w64-crypto++ (make)
- mingw-w64-cubeb-git (make)
- mingw-w64-directx-headers (make)
- mingw-w64-directxmath (make)
- mingw-w64-directxtex (make)
- mingw-w64-discord-rpc-api (make)
- mingw-w64-dlfcn (make)
- mingw-w64-dlib (make)
- mingw-w64-double-conversion (make)
- mingw-w64-eigen (make)
- mingw-w64-ensmallen (make)
- mingw-w64-exiv2 (make)
- mingw-w64-extra-cmake-modules
- mingw-w64-fast_float (make)
- mingw-w64-flac (make)
- mingw-w64-fluidsynth (make)
- mingw-w64-fmt (make)
- mingw-w64-freeglut (make)
- mingw-w64-frei0r-plugins (make)
- mingw-w64-ftgl (make)
- mingw-w64-gdal (make)
- mingw-w64-gdcc (make)
- mingw-w64-geos (make)
- mingw-w64-gflags (make)
- mingw-w64-gklib (make)
- mingw-w64-gl2ps (make)
- mingw-w64-glew (make)
- mingw-w64-glfw (make)
- mingw-w64-glslang (make)
- mingw-w64-google-glog (make)
- mingw-w64-graphite (make)
- mingw-w64-gtest (make)
- mingw-w64-hdf5 (make)
- mingw-w64-hexer-hobu (make)
- mingw-w64-highway (make)
- mingw-w64-hmat-oss (make)
- mingw-w64-imath (make)
- mingw-w64-imgui (make)
- mingw-w64-jasper (make)
- mingw-w64-json-c (make)
- mingw-w64-jsoncpp (make)
- mingw-w64-jxrlib (make)
- mingw-w64-kdsoap (make)
- mingw-w64-kimageformats (make)
- mingw-w64-kokkos (make)
- mingw-w64-kunitconversion (make)
- mingw-w64-kvazaar (make)
- mingw-w64-kwidgetsaddons (make)
- mingw-w64-lapack (make)
- mingw-w64-lapacke (make)
- mingw-w64-laszip (make)
- mingw-w64-laz-perf (make)
- mingw-w64-leveldb (make)
- mingw-w64-levmar (make)
- mingw-w64-libaec (make)
- mingw-w64-libbaseencode (make)
- mingw-w64-libbatch (make)
- mingw-w64-libcuckoo-git (make)
- mingw-w64-libde265 (make)
- mingw-w64-libdeflate (make)
- mingw-w64-libgit2 (make)
- mingw-w64-libharu (make)
- mingw-w64-libheif (make)
- mingw-w64-libjpeg-turbo (make)
- mingw-w64-libjxl (make)
- mingw-w64-libmixmod (make)
- mingw-w64-libmng (make)
- mingw-w64-libogg (make)
- mingw-w64-libpcap (make)
- mingw-w64-libraw (make)
- mingw-w64-libsamplerate (make)
- mingw-w64-libsndfile (make)
- mingw-w64-libsoundio (make)
- mingw-w64-libsoxr (make)
- mingw-w64-libsquish (make)
- mingw-w64-libsquish-fixed-tables (make)
- mingw-w64-libssh (make)
- mingw-w64-libssh2 (make)
- mingw-w64-libuv (make)
- mingw-w64-libwdm (make)
- mingw-w64-libwebp (make)
- mingw-w64-libwebsockets (make)
- mingw-w64-libzip (make)
- mingw-w64-llvm (make)
- mingw-w64-log4cplus (make)
- mingw-w64-lpsolve (make)
- mingw-w64-lz4 (make)
- mingw-w64-mariadb-connector-c (make)
- mingw-w64-matplotplusplus (make)
- mingw-w64-mbedtls (make)
- mingw-w64-mbedtls2 (make)
- mingw-w64-md4c (make)
- mingw-w64-med (make)
- mingw-w64-medcoupling (make)
- mingw-w64-mesa (make)
- mingw-w64-mesa-demos-git (make)
- mingw-w64-mesa-git (make)
- mingw-w64-metis (make)
- mingw-w64-miniglog (make)
- mingw-w64-minizip-ng (make)
- mingw-w64-mlpack (make)
- mingw-w64-mman-win32-git (make)
- mingw-w64-mpi_stubs (make)
- mingw-w64-muparser (make)
- mingw-w64-mygui (make)
- mingw-w64-nanoflann (make)
- mingw-w64-netcdf (make)
- mingw-w64-nlohmann-json (make)
- mingw-w64-nlopt (make)
- mingw-w64-ois (make)
- mingw-w64-onetbb (make)
- mingw-w64-openal (make)
- mingw-w64-opencascade (make)
- mingw-w64-opencc (make)
- mingw-w64-opencl-headers (make)
- mingw-w64-opencl-icd (make)
- mingw-w64-opencolorio (make)
- mingw-w64-opencv (make)
- mingw-w64-openexr (make)
- mingw-w64-openimagedenoise (make)
- mingw-w64-openimagedenoise-bin (optional)
- mingw-w64-openimageio (make)
- mingw-w64-openjpeg2 (make)
- mingw-w64-openmesh (make)
- mingw-w64-openmp (make)
- mingw-w64-openxlsx (make)
- mingw-w64-pagmo (make)
- mingw-w64-paraview (make)
- mingw-w64-paraview-git (make)
- mingw-w64-paraview-qt6 (make)
- mingw-w64-passwordfile (make)
- mingw-w64-passwordmanager (make)
- mingw-w64-pdal (make)
- mingw-w64-pegtl (make)
- mingw-w64-pegtl2 (make)
- mingw-w64-physfs (make)
- mingw-w64-piglit-git (make)
- mingw-w64-poppler (make)
- mingw-w64-prima (make)
- mingw-w64-primesieve (make)
- mingw-w64-proj (make)
- mingw-w64-protobuf (make)
- mingw-w64-pteros (make)
- mingw-w64-ptex (make)
- mingw-w64-pugixml (make)
- mingw-w64-pybind11 (make)
- mingw-w64-pystring (make)
- mingw-w64-qca-qt5 (make)
- mingw-w64-qca-qt6 (make)
- mingw-w64-qt6-3d (make)
- mingw-w64-qt6-5compat (make)
- mingw-w64-qt6-activeqt (make)
- mingw-w64-qt6-base (make)
- mingw-w64-qt6-charts (make)
- mingw-w64-qt6-connectivity (make)
- mingw-w64-qt6-datavis3d (make)
- mingw-w64-qt6-declarative (make)
- mingw-w64-qt6-imageformats (make)
- mingw-w64-qt6-location (make)
- mingw-w64-qt6-lottie (make)
- mingw-w64-qt6-multimedia (make)
- mingw-w64-qt6-networkauth (make)
- mingw-w64-qt6-positioning (make)
- mingw-w64-qt6-quick3d (make)
- mingw-w64-qt6-quicktimeline (make)
- mingw-w64-qt6-scxml (make)
- mingw-w64-qt6-sensors (make)
- mingw-w64-qt6-serialbus (make)
- mingw-w64-qt6-serialport (make)
- mingw-w64-qt6-shadertools (make)
- mingw-w64-qt6-svg (make)
- mingw-w64-qt6-tools (make)
- mingw-w64-qt6-translations (make)
- mingw-w64-qt6-virtualkeyboard (make)
- mingw-w64-qt6-webchannel (make)
- mingw-w64-qt6-websockets (make)
- mingw-w64-qt6-webview (make)
- mingw-w64-qtforkawesome (make)
- mingw-w64-qtutilities (make)
- mingw-w64-range-v3-git (make)
- mingw-w64-rapidjson (make)
- mingw-w64-rapidyaml (make)
- mingw-w64-raylib (make)
- mingw-w64-raytracinginvulkan (make)
- mingw-w64-reflective-rapidjson (make)
- mingw-w64-robin-map (make)
- mingw-w64-scipoptsuite (make)
- mingw-w64-scotch (make)
- mingw-w64-sdl3 (make)
- mingw-w64-sfml (make)
- mingw-w64-sfml-static (make)
- mingw-w64-shaderc (make)
- mingw-w64-snappy (make)
- mingw-w64-soundtouch (make)
- mingw-w64-spatialindex (make)
- mingw-w64-spdlog (make)
- mingw-w64-spdlog-git (make)
- mingw-w64-spectra (make)
- mingw-w64-spirv-cross (make)
- mingw-w64-spirv-headers (make)
- mingw-w64-spirv-llvm-translator (make)
- mingw-w64-spirv-tools (make)
- mingw-w64-srt (make)
- mingw-w64-suitesparse (make)
- mingw-w64-sundials (make)
- mingw-w64-svt-av1 (make)
- mingw-w64-svt-hevc (make)
- mingw-w64-syncthingtray (make)
- mingw-w64-sz (make)
- mingw-w64-szip (make)
- mingw-w64-tageditor (make)
- mingw-w64-taglib (make)
- mingw-w64-tagparser (make)
- mingw-w64-tasmanian (make)
- mingw-w64-threadweaver (make)
- mingw-w64-tinyobjloader (make)
- mingw-w64-tinyxml (make)
- mingw-w64-tinyxml2 (make)
- mingw-w64-uchardet (make)
- mingw-w64-unshield (make)
- mingw-w64-utf8cpp (make)
- mingw-w64-uvwasi (make)
- mingw-w64-verdict (make)
- mingw-w64-vid.stab (make)
- mingw-w64-videodownloader (make)
- mingw-w64-vinecopulib (make)
- mingw-w64-volk (make)
- mingw-w64-vtk (make)
- mingw-w64-vtk-git (make)
- mingw-w64-vulkan-headers (make)
- mingw-w64-vulkan-icd-loader (make)
- mingw-w64-vulkan-tools (make)
- mingw-w64-vulkan-validation-layers (make)
- mingw-w64-win-iconv (make)
- mingw-w64-wineditline (make)
- mingw-w64-wxmsw (make)
- mingw-w64-wxmsw-git (make)
- mingw-w64-x265 (make)
- mingw-w64-xalan-c-git (make)
- mingw-w64-xalan-c-icu (make)
- mingw-w64-xerces-c-icu (make)
- mingw-w64-yamc-git (make)
- mingw-w64-yaml-cpp (make)
- mingw-w64-z3 (make)
- mingw-w64-zfp (make)
- mingw-w64-zlib-ng (make)
- mingw-w64-zstd (make)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »
xantares commented on 2019-03-26 19:33 (UTC)
how do i reproduce exactly ?
is there a bug report somewhere ?
Martchus commented on 2019-03-26 19:26 (UTC)
It appears CMake 3.14.0 was a bad release. One of the bug I've encountered so far concerns this package which sets
CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
via command line parameter. That appears to be broken resulting in compile errors like:So I recommend downgrading to CMake 3.13.4 for now.
Martchus commented on 2019-03-05 17:39 (UTC)
The
-fstack-protector-strong
flag causes further trouble:So if we would like to re-enable it (using the patched GCC) we need to take care of the linker issue as well. Apparently it helps to add
-lssp
to the linker line. Maybe adding-fstack-protector-strong
itself helps, too.xantares commented on 2019-01-05 09:57 (UTC) (edited on 2019-01-05 10:12 (UTC) by xantares)
Martchus, I found this report regarding -fstack-protector-strong:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86832
Does the example crash on native windows (It does not on wine) ? Maybe I can try to backport the proposed patch.
xantares commented on 2019-01-05 08:48 (UTC)
Good to know, although I dont know why it would crash.
I think I've got similar issues for qt applications when not stripping the .exe
I'm including your changes.
Thanks for investigating the flags and stuff.
Martchus commented on 2019-01-05 01:06 (UTC) (edited on 2019-01-05 01:10 (UTC) by Martchus)
Seems I've got already punished for playing too much with the compile flags :-)
In particular
-fstack-protector-strong
causes the application to crash even beforemain()
is invoked. So if you decide to follow my suggestions, don't include that flag.But I still find it weird. When running the app compiled with that flag within WINE it does not crash. The crash is only observable under Windows. Hence I only discovered the issue quite late. The crash also does not happen with a plain application which links only against
libstdc++
but not Qt or other libraries and prints "Hello world!" viastd::cout
.Just out of curiosity, has anybody an explanation for this?
Martchus commented on 2018-12-22 13:57 (UTC) (edited on 2019-01-05 01:08 (UTC) by Martchus)
Can you change the default flags of this package and
mingw-w64-configure
to match the default flags more closely?I would certainly remove
-g
for the following reasons:-g
one has to choose a ridiculously big cache size to make this actually work. Another use case is keeping the actual build directory, e.g. to be able to use--repackage
in case something was wrongly packaged.-g
and-O2
at the same time is not necessarily bad. Sometimes one wants to debug optimized binaries. However, that's not the case here. At least not for me and likely not for the default user.It would be great if the script would read the flags from a certain environment variables, e.g.
MINGW_CFLAGS
andMINGW_CPPFLAGS
andMINGW_CXXFLAGS
and only impose the defaults. Then people with extra wishes (e.g. adding-g
) could do that by adjusting theirmakepkg.conf
or specifying the variable on themakepkg
invocation if it should only affect a certain package. That is how it already works for regular packages. Why limiting ourselves when building mingw-w64 packages?I'm also aware the script currently allows to extend the flags (
$mingw_c_flags $CFLAGS
). However, that only works for overriding flags which have a negating counterpart. And further, this only works on package level. A user who wants specific flags would need to adjust each and every PKGBUILD to export that variable.Of course I would also adjust
mingw-w64-qt5-base
and add a line similar to the regular package: https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/qt5-base#n34The packaging guild lines would need to be adjusted, too.
I did a few tests and it seems most of the regular defaults also work for mingw-w64. So what about the following defaults:
See my comment from 2019-01-05 why
-fstack-protector-strong
is not applicable.I would keep
-fexceptions --param=ssp-buffer-size=4
because we had these so far and I don't want to break anything. Maybe some peculiarities of Windows/PE require them. Especially turning on exceptions for C code might have a reason specific to the SJLJ and SEH exception handling on Windows so better keep it.I did not include
-march=x86_64/i686
and-mtune=generic
because-march=x86_64/pentiumpro
and-mtune=generic
are present anyways. This is observable by invoking the compiler with-Q -v
. Leaving that flags out avoids handling i686 and x86_64 differently. (The architecturespentiumpro
andi686
should be the same.)drakkan commented on 2018-05-11 15:12 (UTC)
thanks! actually meson does not allow to have wine as optdepend
https://github.com/mesonbuild/meson/issues/3562
xantares commented on 2018-05-11 11:22 (UTC)
Ok, split into mingw-w64-wine. It's a good idea to mark it as optdepend as wine is a big dependency, I only add it to package that explicitely need runtime support. xan.
drakkan commented on 2018-05-10 21:27 (UTC)
${_arch}-wine should be a separate package, I would like to add it as depends for mingw-w64-meson and so replace wine here
https://aur.archlinux.org/cgit/aur.git/tree/toolchain-mingw.meson?h=mingw-w64-meson#n10
without the need to have this package as depends, thanks!
« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »