arm64 build within IDE atom and clickable plugin
-
Hi,
I'm working on having arm64 build for Openradio. I succeeded to simply build it within the terminal and this command :- clickable build --arch arm64
Then I installed the package with UT tweak tool and that's ok.
I noticed that the Openstore App shows that it conflicts with the stable version, which is btw the armhf version. Not a big deal, but not so clean either.Now I'd like the make the relevant changes in the source code so I can compile it within my IDE setup (Atom+click plugin) and finally push a PR to the maintainer who will make it available for download in the Openstore.
I tried to add this in the file "clickable.json" :- "build_args": ["arch=arm64"],
but atom still compile for the armhf version... So what should I do ?
Sorry for being so noob with such a question and as always, thanks for your help!
-
@nauvpp
To avoid the conflict with the official on you should change the developer tag in the app name.
For example: openradio.myApp
Or at least change the version number so the Open Store can understand what's happening.I do not understand the part with relevant changes.
Most of the time compiling for arm64 is enough.
But if you need to make modifications to the code, then just edit it... ?!
I told you I missed something ; probably I need some sleep -
@applee Hi, thanks for your reply.
Yep, I can edit the source but, I don't know what to do. I tried to change the file clickable.json using my IDE ( atom) to tell the compiler some arm64 args but it does not have any impact.
Hopefully I could compile arm64 directly from the source code folder with clickable... -
@nauvpp
Ok, what I would do is:- first: change the version or app name so you can test it without conflict with the official app
- then: edit the clickable plugin to modify the command.
I did so to force--ssh <ip_address>
but you can force the--arch arm64
option instead
Edit: I don't have the steps to change the plugin in top of my head but I found it on the documentation.
Edit: I found the information from an old post -
@applee ok I'll give it a try. Thank you very much!
-
@nauvpp If all that is needed to achieve an arm64 version of the app is adding
-a arm64
toclickable build
then there are no source code changes necessary in the repo.I checked and there is no automated build configured for this project. This means that the maintainer builds and uploads the click manually.
So I am afraid you need to ask the maintainer to build an arm64 version manually.
Alternatively you could research adding automated build to the project by way of a.gitab-ci.yml
. -
@applee hi, I finally updated atom clickable plugin and clicklable v7 and everything is fine! I can choose suitable target architecture.