Commit Graph

14 Commits

Author SHA1 Message Date
Anton Sakhon 1d06f87d2d Use all cores during build (#171)
* Use all cores during build

* Updated Authors

---------

Co-authored-by: Anton Sakhon <anton.sakhon@dataart.com>
2023-03-21 02:40:08 +09:00
Hidenori Matsubayashi 51a1d68590 update for flutter 3.7.0 (#158)
Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2023-01-25 23:39:11 +09:00
CloudWebRTC 8d3e9fb098 pass FLUTTER_TARGET_PLATFORM flag to cmake. (#150)
* pass FLUTTER_TARGET_PLATFORM flag to cmake.

* chore: update AUTHORS.

* Update elinux_build_target.dart
2022-11-15 12:24:32 +09:00
Hidenori Matsubayashi 392c64b34a Update for flutter 3.3.0 (#130)
Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2022-09-02 20:35:29 +09:00
Hidenori Matsubayashi ed16e0bd77 Add custom toolchain option (#110)
Fixed #48

Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2022-08-12 09:25:22 +09:00
Hidenori Matsubayashi f50c49d31a Fix wrong compiler path issue when using external sysroots (#109)
Signed-off-by: Hidenori Matsubayashi <hidenori.matsubayashi@gmail.com>
2022-08-11 22:41:04 +09:00
andreadaoud f6cb5b3728 Add --target-compiler-flags argument to specify flags for clang. (#106)
Also, avoid using environment variables to prevent interference to
other commands run by CMake. Only CMAKE_C(XX)_COMPILER is sufficient
to build flutter.
2022-08-07 12:29:27 +09:00
andreadaoud 63f86a7001 Change how sysroot is passed to CMake. (#105)
* Change how sysroot is passed to CMake.

In the CMake documentation, it is specified that the
CMAKE_SYSROOT variable should be passed in toolchain
file variable. It has no effect to set this variable
in CMakeLists.txt like the current implementation.
(This is why CMAKE_FIND_ROOT_PATH is needed.)
The --sysroot option is not passed to the compiler in
the current approach.

This commit, instead, sets the sysroot variable in CMake
command line arguments. This makes it effective, and no
CMAKE_FIND_ROOT_PATH is needed.

Moreover, it is not the duty of architecture to decide
whether we are cross-compiling or not. For example, if
I compile this on my Linux VM on mac M1 to i.MX8 processor,
both host and target has the same arm64 architecture, but
they doesn't share the same sysroot, so the standard
cross-compile procedure should be followed. So, the real
difference for cross-compile is that whether we share
the same sysroot, rather than whether we have the same arch.
So this commit changes the detection method to compare sysroot.
2022-08-07 11:53:34 +09:00
Hidenori Matsubayashi 7fd1502d58 Add target-compiler-triple option (#88) 2022-04-07 16:35:28 +09:00
Hidenori Matsubayashi fe02c4d00f Add profile mode support (#24) 2021-07-28 08:53:45 +09:00
Hidenori Matsubayashi 0a3ef762f5 Cross-compile from x64 to arm64 (#20) 2021-07-27 14:17:50 +09:00
Hidenori Matsubayashi eacaccf77b Add native plugin build support (#10)
Fixed #3
2021-07-19 17:49:39 +09:00
Hidenori Matsubayashi eeb28eab23 Add create command for plugin support 2021-07-16 15:56:25 +09:00
Hidenori Matsubayashi d10fcb6127 first commit 2021-07-16 13:03:30 +09:00