Recent

Author Topic: Fpcupdeluxe  (Read 792663 times)

ydd

  • Jr. Member
  • **
  • Posts: 78
Re: Fpcupdeluxe
« Reply #1785 on: February 22, 2021, 10:59:04 pm »
Quote
do you have plans for Apple M1 native support?
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/1.8.2g/fpcupdeluxe-aarch64-darwin-cocoa.zip
This version might work for you.

I want to try with LLVM support, for reference I use: https://wiki.freepascal.org/LLVM
As I understand I should enable LLVM=1 and -Clflto
I tried to pase this in Advance settings / Options Override / FPC options
but it failed.
Please help what I should to do? thanks

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #1786 on: February 24, 2021, 09:52:15 am »
@OkobaPatino
If I would know how to detect this error, there would definitely be a warning or a stop.
To implement this I need a reproduceable setup to simulate this error and to handle it.
If you can provide me with this, I will look into it.

@ydd
Will look into this.
However. As I have no Mac, I am only able to test inside an x86_64 VM 10.15 on Windows.

Okoba

  • Hero Member
  • *****
  • Posts: 528
Re: Fpcupdeluxe
« Reply #1787 on: February 24, 2021, 10:50:57 am »
I reproduce the problem like this:
Check the source repo and find the latest commit that I didn't pull already, for example this: https://github.com/graemeg/freepascal/commit/b87c37003e8b0c4680690ab7be171695e76680ae
Change the file (i_linux.pas in this case) so it will conflict when I want to pull.
If I use a git client, it will raise a merge error. But if I use Fpcupdeluxe, git pull task will be cancelled and ignored, so it will only do the clean and compile.


Side question, how do you compile Fpcupdeluxe for this many platforms for each release?

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #1788 on: February 24, 2021, 11:32:18 am »
@OkobaPatino

Ok. Will try to reproduce.

About all those binaries ... I like to cross-compile ... and use fpcupdeluxe (on Windows) to do all the dirty work for me.
See included screenshot. Two installs of FPC 3.2 and Lazarus trunk. One for normal use. One for specials.
FPC and Lazarus are amazing.

Okoba

  • Hero Member
  • *****
  • Posts: 528
Re: Fpcupdeluxe
« Reply #1789 on: February 24, 2021, 02:23:19 pm »
Indeed they are amazing!
Your work made it made it very easy. Thank you.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #1790 on: February 24, 2021, 07:28:27 pm »
@ydd
LLVM support is not something that is easily implemented in fpcupdeluxe. So, for now, this will not be supported. If more platforms are supported and the feature has made it into a stable FPC version, I will have another look at it. Please remind me.

bpranoto

  • Full Member
  • ***
  • Posts: 134
Re: Fpcupdeluxe
« Reply #1791 on: February 26, 2021, 07:14:58 am »
fpcupdeluxe per today (Feb 26,2021) still show the stable lazarus version as https://svn.freepascal.org/svn/lazarus/tags/lazarus_2_0_10 eventhough the new version 2.0.12 was just released


trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: Fpcupdeluxe
« Reply #1792 on: February 26, 2021, 07:31:37 am »
@bpranoto: What did your last unpaid slave die of? Overwork?

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #1793 on: February 26, 2021, 08:02:11 am »
 8-) ... rest assured ... a new release is on its way ...  :D

bpranoto

  • Full Member
  • ***
  • Posts: 134
Re: Fpcupdeluxe
« Reply #1794 on: February 26, 2021, 01:28:26 pm »
8-) ... rest assured ... a new release is on its way ...  :D

Thank you very much. This is a very great product.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #1795 on: February 26, 2021, 04:00:52 pm »
New release for Lazarus 2.0.12 and embedded work.
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.8.2k

Thanks to user Michael (@MIR), a lot of features regarding embedded and FreeRTOS have gone into FPC and fpcupdeluxe.
To celebrate this, special speedbutons have been added to easy the install especially targeted at the Wio Terminal and the Raspberry Pico.
https://www.seeedstudio.com/Wio-Terminal-p-4509.html

A speedbutton for Ultibo has also been added.

In a separate post we will give more info, especially about the FPC/FreeRTOS running on Wio Terminal.

For Darwin: a GIT-mirror of Lazarus 2.0.12 can be chosen as a source for Lazarus.
For FreeRTOS/embedded: a special FPC-fork called embedded-mir has all features, together with Lazarus-embedded. The dedicated speedbuttons will install these.

Thanks again for to all who have worked together to make this possible.

El Salvador

  • Full Member
  • ***
  • Posts: 133
Re: Fpcupdeluxe
« Reply #1796 on: February 27, 2021, 12:38:33 pm »
Just tried 1.8.2k in win32 (I'm updating Lazarus 2.0.10 to 2.0.12) and I have this error "fpcupdeluxe: Got an unexpected exception ... don't know what to do unfortunately.".

This is the log:
Quote
Going to install/update Lazarus only with given options.
FPCUP(deluxe) is starting up.

FPCupdeluxe basedir:       D:\fpcupdeluxe
Binutils dir:              D:\fpcupdeluxe\fpcbootstrap
Bootstrap dir:             D:\fpcupdeluxe\fpcbootstrap

FPC URL:                   https://svn.freepascal.org/svn/fpc/tags/release_3_2_0
FPC source directory:      D:\fpcupdeluxe\fpcsrc
FPC install directory:     D:\fpcupdeluxe\fpc
FPC options:               

Lazarus URL:               https://svn.freepascal.org/svn/lazarus/tags/lazarus_2_0_12
Lazarus source directory:  D:\fpcupdeluxe\lazarus
Lazarus install directory: D:\fpcupdeluxe\lazarus
Lazarus options:           

Please stand back and enjoy !

27/02/2021 12:35:48: fpcupdeluxe: V320 (20210226) started.
FPCUPdeluxe V1.8.2k for i386-win32 running on Win64-10.0.19042

Checking dev-libs for: win32

Is it possible enable extra verbose log?

bpranoto

  • Full Member
  • ***
  • Posts: 134
Re: Fpcupdeluxe
« Reply #1797 on: February 27, 2021, 03:09:46 pm »
When I tried to install the new fpcupdeluxe for lazarus version 2.0.12 over the previous version install directory (2.0.10) I get an Fpcupdeluxe encountered a (fatal) URL error:

Fpcupdeluxe encountered a (fatal) URL error.
Most common cause: overwtiting an existing install.
Sources with different URL cannot be installed in same directory.
Please select an new install directory when changing versions.

Is there a way to force to install to the old version so we don't need to reinstall all the component packages?

Thank you


DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #1798 on: February 27, 2021, 06:57:34 pm »
@El Salvador
There was a nasty upgrade bugger. So, a brand-new release to resolve this bugger. Release 1.8.2k is withdrawn.
Please use:
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.8.2l

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #1799 on: February 27, 2021, 07:00:28 pm »
@bpranoto
In Setup+ there is a checkbox called "Auto-switch repo-URL". If you check this box, fpcupdeluxe will try to switch the repo's.
This is disabled by default due to the fact that it is known to fail more often than you like.
But you are welcome to try and report its success or faulire.

 

TinyPortal © 2005-2018