@zerophase
I'm not sure if this is what you are asking, but MAKEFLAGS can be specified in /etc/makepkg.conf.
Search Criteria
Package Details: unreal-engine 5.5.0-0
Package Actions
Git Clone URL: | https://aur.archlinux.org/unreal-engine.git (read-only, click to copy) |
---|---|
Package Base: | unreal-engine |
Description: | A 3D game engine by Epic Games which can be used non-commercially for free. |
Upstream URL: | https://www.unrealengine.com/ |
Keywords: | 3D engine game ue5 Unreal |
Licenses: | GPL3, custom:UnrealEngine |
Submitter: | acerix |
Maintainer: | Shatur (Neko-san) |
Last Packager: | Neko-san |
Votes: | 76 |
Popularity: | 1.10 |
First Submitted: | 2016-05-01 18:37 (UTC) |
Last Updated: | 2024-11-16 03:10 (UTC) |
Dependencies (29)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-hybridAUR, coreutils-selinuxAUR, coreutils-uutilsAUR)
- dos2unix (dos2unix-gitAUR)
- dotnet-runtime (dotnet-runtime-2.2AUR, dotnet-runtime-3.0AUR, dotnet-runtime-2.1AUR, dotnet-runtime-5.0-binAUR, dotnet-runtime-7.0-binAUR, dotnet-runtime-6.0-binAUR, dotnet-runtime-preview-binAUR, dotnet-runtime-binAUR, dotnet-runtime-8.0-binAUR)
- dotnet-sdk (dotnet-sdk-2.2AUR, dotnet-sdk-2.2-vs2017AUR, dotnet-sdk-3.0AUR, dotnet-sdk-2.1AUR, dotnet-sdk-5.0-binAUR, dotnet-sdk-6.0.110-binAUR, dotnet-sdk-7.0-binAUR, dotnet-sdk-8.0.300-binAUR, dotnet-sdk-6.0-binAUR, dotnet-sdk-preview-binAUR, dotnet-sdk-binAUR, dotnet-sdk-8.0-binAUR)
- findutils (findutils-gitAUR, busybox-coreutilsAUR, findutils-selinuxAUR)
- icu63AUR
- lld (llvm-rocm-gitAUR, llvm-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- python (python37AUR, python311AUR, python310AUR)
- sdl2 (sdl2-gitAUR, sdl2-compat-gitAUR)
- steam
- vulkan-icd-loader (vulkan-icd-loader-gitAUR)
- xdg-user-dirs
- git (git-gitAUR, git-glAUR) (make)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR) (make)
- grep (grep-gitAUR, busybox-coreutilsAUR, grep-compatAUR) (make)
- openssh (openssh-gitAUR, openssh-dotconfigAUR, openssh-dotconfig-binAUR, openssh-selinuxAUR, openssh-hpn-shimAUR, openssh-gssapiAUR) (make)
- sed (busybox-coreutilsAUR, sed-gitAUR) (make)
- wget (wget-gitAUR, wurlAUR) (make)
- clionAUR (optional) – IDE for projects
- Show 9 more dependencies...
Required by (1)
Sources (6)
Latest Comments
« First ‹ Previous 1 .. 74 75 76 77 78 79 80 81 Next › Last »
acerix commented on 2016-06-08 16:56 (UTC)
zerophase commented on 2016-06-04 01:39 (UTC)
@acerix
Yeah, I put -j24 in the first time, which makes sense it would fail. (works great for compiling kernels) The next time I built after deleting everything, and redownloading didn't put a -j argument in, and still it failed at the same point. Just had to try compiling again. Wonder if I have an excuse to go up to 64 gigs of ram. I'm saving to disk, and using makepkg directly to build.
Do the MAKEFLAGS get dropped in, even if it isn't specified, in the build step?
acerix commented on 2016-06-03 22:58 (UTC)
@zerophase
Unfortunately, makepkg does not support shallow clone, and Allan says "Won't implement":
https://bugs.archlinux.org/task/34677
However, I think it's a good suggestion seeing how the saving would be about 7 GiB here, and git+ssh seems like the only way to download from a private github repo, so maybe this feature would be considered again for this use case. Another option is to modify makepkg:
https://www.reddit.com/r/archlinux/comments/3nz1r4/question_for_arch_devs_makepkg_and_git_why_not/cvsu79m
Regarding the build, it does support multicore building and I didn't have any issue doing a clean build using -j4. You might be running out of memory trying to build so many things as once; especially since it seems to spawn 4 clang processes for each make process, so that would mean 96 running at once. Let me know what errors you get in the output if it happens again.
zerophase commented on 2016-06-03 05:16 (UTC)
I don't know what the issue is exactly, but the first time I ran makepkg the build failed. The second time I ran the command make fixed whatever went wrong, and installed successfully. It might be that I have MAKEFLAGS set to -j24. I'm guessing the engine isn't configured for multicore compilation, so maybe try -j1 after the make command?
zerophase commented on 2016-06-03 03:03 (UTC)
is there anyway to get makepkg(without editing makepkg itself) to just use a shallow git clone, so we don't have to download the entire Unreal history?
acerix commented on 2016-05-16 15:28 (UTC)
No problem, glad you got it working. It doesn't really make sense for the GUI to disappear for that long, especially when they have loading screens for other stuff. I added a note on this to the Arch wiki.
madsciencecoder commented on 2016-05-15 23:03 (UTC)
Oh wow, it was user error. Clicking yes to recompile the project works, it just runs completely in the background showing no sign of actually doing anything. If you don't open it through a terminal the only way to notice it is to look at the processes with ksysguard/htop/etc. When I first clicked yes I probably rebooted before it could finish and didn't notice it was actually compiling it.
Thanks so much for the help!
acerix commented on 2016-05-15 22:06 (UTC)
Ahh, I had only tried the blueprint mode so far, I didn't realize you meant the the c++ mode.
I just tried that and got the same result; the create step seems to work, but it never opens. Instead the new .workshop file opened in my text editor, so presumable that's supposed to open in UE4Editor instead.
When I opened the new project from the launch screen, I got the popup asking to compile the missing module, and after clicking Yes, it started compiling 789 modules which took a half-hour or so. After that, it opened properly though, so you might find something looking in the output of that compiling.
madsciencecoder commented on 2016-05-15 19:14 (UTC)
Here is the output from creating a new code project: http://pastebin.com/raw/79Vx5GJa
From what I can tell the editor creates it OK but has trouble with it afterwards. It creates a process for the new project then that process closes/crashes and the editor exits.
Line 506: [2016.05.15-18.56.18:709][130]LogHAL: FLinuxPlatformProcess::CreateProc: spawned child 26493
Lines 4040-4042: [2016.05.15-18.57.50:800][130]Discovering modules, targets and source code for game...
[2016.05.15-18.57.58:842][130]LogHAL: Child 26493 is no more running (zombie), Wait()ing immediately.
[2016.05.15-18.57.59:245][131]Cmd: QUIT_EDITOR
Blueprint projects appear to work just fine, it's only the code projects. I may well be doing something wrong so I'll read up on the manual a bit more then ask on the forum if there's nothing obvious.
acerix commented on 2016-05-15 17:53 (UTC)
Your specs sound fine, and I don't see any obvious errors in your output. Maybe the output from creating a project would show something.
Pinned Comments
Neko-san commented on 2022-11-01 02:32 (UTC) (edited on 2023-06-25 01:19 (UTC) by Neko-san)
@juancarlospaco this is easily done on your own system, not in a PKGBUILD, given that building packages runs as root:
Permission issues like this are already mentioned on the UE Arch wiki page: https://wiki.archlinux.org/title/Unreal_Engine_4#Installing_from_the_AUR
This is a user system problem; I already did what I could without needing users to do the above by giving the
777
permissions. If it still gives you trouble, you'll have to use the example to solve it or change the install location to somewhere you have user permissions by default (as I cannot do this for you).zerophase commented on 2021-05-27 08:15 (UTC) (edited on 2021-05-30 08:41 (UTC) by zerophase)
Will update to 5.0 when it is released.