-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Help] Cross compile movit
(shotcut
& mlt
GPU deps), which can build on-device
#20351
Comments
Yes, it may be possible to build with host program. Shotcut could be added here instead of TUR. |
|
If someone want to try option 1, may continue the work at PR #20352. I will do option 3 for now. But fyi, there are still some issues regarding the |
movit
(shotcut
& mlt
GPU deps) may require on device buildmovit
(shotcut
& mlt
GPU deps), which can build on-device
Bingo, found the issue. Line 188 in bundled_shaders.cpp: make_bundled_shaders $(SHADERS) # L:187
./make_bundled_shaders $(SHADERS) > $@ # L:188 The make rule for it is just above. # A program to compile all the shaders into one bundle that we can link into the library. # L:183
MAKE_BUNDLE_OBJS=make_bundled_shaders.o util.o init.o resource_pool.o # L:184
make_bundled_shaders: $(MAKE_BUNDLE_OBJS) # L:185
$(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -o make_bundled_shaders $(MAKE_BUNDLE_OBJS) -lepoxy # L:186 We should be able to patch this part to build the helper binary for the host architecture instead. |
So, in theory yes. |
For building |
Hmm |
movit
, which enables the GPU mode ofshotcut
, seems to require on device compilation (successful on device build shown in this TUR PR). When building the package, it executes a compiled binary to generate .cpp file (see the error log of this cross compile attempt). However, there does not seem to be on device build feature in thistermux-packages
repo, right?If
termux-packages
does not accpet on-device built package, there seems to be only four options:termux-packages
movit
GPU mode forshotcut
and anymlt
-dependent pacakgesmovit
,shotcut
(and possiblymlt
) to TURMay I seek advice from the community? Thanks.
The text was updated successfully, but these errors were encountered: