-
-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: build Windows ARM (32-bit) with LLVM MinGW
We are possibly violating the GPLv3 license by shipping Windows executables statically-linked with MSVC's libraries [1]. Switch from MSVC to LLVM-based MinGW for our 32-bit Windows ARM builds. [1] #678
- Loading branch information
Showing
4 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Copyright (C) 2020 Matthew Glazar | ||
# See end of file for extended copyright information. | ||
|
||
# This is a CMake toolchain file used on CI to cross-compile to Linux AArch64. | ||
|
||
set(CMAKE_SYSTEM_NAME Windows) | ||
set(CMAKE_SYSTEM_PROCESSOR arm) | ||
|
||
set(CMAKE_C_COMPILER armv7-w64-mingw32-cc) | ||
set(CMAKE_CXX_COMPILER armv7-w64-mingw32-c++) | ||
set(CMAKE_RC_COMPILER armv7-w64-mingw32-windres) | ||
|
||
set(CMAKE_SYSTEM_INCLUDE_PATH /opt/llvm-mingw/armv7-w64-mingw32/include) | ||
set(CMAKE_SYSTEM_LIBRARY_PATH /opt/llvm-mingw/armv7-w64-mingw32/lib) | ||
set(CMAKE_SYSTEM_PREFIX_PATH /opt/llvm-mingw/armv7-w64-mingw32) | ||
|
||
# quick-lint-js finds bugs in JavaScript programs. | ||
# Copyright (C) 2020 Matthew Glazar | ||
# | ||
# This file is part of quick-lint-js. | ||
# | ||
# quick-lint-js is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# quick-lint-js is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with quick-lint-js. If not, see <https://www.gnu.org/licenses/>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters