{"id":18904640,"url":"https://github.com/luxcorerender/linuxcompile","last_synced_at":"2026-03-07T23:02:20.748Z","repository":{"id":90750327,"uuid":"112494825","full_name":"LuxCoreRender/LinuxCompile","owner":"LuxCoreRender","description":"LuxCoreRender Linux Compilation Environment","archived":false,"fork":false,"pushed_at":"2022-04-03T15:10:36.000Z","size":763,"stargazers_count":11,"open_issues_count":5,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-15T03:52:44.642Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LuxCoreRender.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"custom":["https://salt.bountysource.com/teams/luxcorerender"]}},"created_at":"2017-11-29T15:47:38.000Z","updated_at":"2025-04-11T05:08:45.000Z","dependencies_parsed_at":"2023-09-26T01:30:11.308Z","dependency_job_id":null,"html_url":"https://github.com/LuxCoreRender/LinuxCompile","commit_stats":{"total_commits":108,"total_committers":4,"mean_commits":27.0,"dds":"0.15740740740740744","last_synced_commit":"9841dbbdeb424953d1c76e516b35f3c9f5ec24bb"},"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuxCoreRender%2FLinuxCompile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuxCoreRender%2FLinuxCompile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuxCoreRender%2FLinuxCompile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuxCoreRender%2FLinuxCompile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LuxCoreRender","download_url":"https://codeload.github.com/LuxCoreRender/LinuxCompile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249003955,"owners_count":21196794,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T09:09:05.711Z","updated_at":"2026-03-07T23:02:20.704Z","avatar_url":"https://github.com/LuxCoreRender.png","language":"Shell","funding_links":["https://salt.bountysource.com/teams/luxcorerender"],"categories":[],"sub_categories":[],"readme":"\nLuxCoreRender Static Compilation Environment\n============================================\n\nThis collection of scripts is intended for automatic creation of build\nenvironment and Lux compilation with statically linked dependency libs.\n\nFirst Run:\n---------\nOn a recent Ubuntu (e.g. 19.10), you can compile LuxCore with one command:\n./first_run.sh\n\nUpdating:\n--------\nTo update to the latest sources, use standard git commands:\n\ncd LuxCore\ngit pull\n# Go back to LinuxCompile folder and recompile the last stage (5)\ncd ..\n./build-64-sse2 LuxCore 5\n\nRecompiling after Code Modifications:\n------------------------------------\n\nIn case you edit any source files and want to recompile quickly, go to \nthe LuxCore sources directory and run make:\n\ncd LuxCore\nmake -j 8\n(-j \u003cn\u003e specifies number of threads for the compilation process)\n\nThe compiled binaries are in LuxCore/bin/, the compiled libraries \n(e.g. pyluxcore.so) are in LuxCore/lib/\n\nFurther Details\n===============\n\nLayout:\n------\n - build\n   The main routine.\n   \n - build-64-sse2\n   Wrapper script for compiling on the most common platforms.\n   \n - distfiles\n   Directory for the downloaded dependencies sources.\n   \n - distfiles/files\n   Dependencies manifest.\n   \n - utils\n   Directory containing a few helper scripts.\n\nRequirements:\n------------\nSome dependencies aren't addressed by the script, and must be resolved\nby the user prior to compilation. Among them are:\n - Python 3 (3.7 for use with Blender 2.80 and above)\n - OpenGL Graphics Library (MESA)\n - PyInstaller, it can usually be installed with a \"sudo pip3 install pyinstaller\"\n   or \"sudo pip install pyinstaller\"\n - PySide, it can usually be installed with a \"sudo pip3 install PySide\"\n   or \"sudo pip install PySide\". Ubuntu may require a\n   \"sudo apt-get install python3-pyside\"\n - Python NumPy, it can usually be installed with on Ubuntu with a\n   \"sudo pip3 install python3-numpy\"\n\nRunning build script for the first time will download dependencies\nsources into the distfiles dir, taking about 300 MB of disk space.\nComplete environment requires additional 300-400 MB for each architecture.\nYou also need enough space in your tmp directory to allow unpacking and\ncompilation of the largest deps -- Boost and Qt.\n\nOpenCL \u0026 CUDA\n-------------\nYou don't need to install OpenCL or CUDA SDK anymore. The binaries will check at\nrun time if OpenCL and/or CUDA are available and enable/disable the support\naccordingly.\n\nUsage:\n-----\nWhen build script is envoked, it will check for the main prereqisites,\ntry to figure out what's missing, and prepare the compilation environment\nbelow the 'root' directory -- the dir where the script resides (although\npaths are configurable in build-* wrapper scripts).\n\nThe easiest way to start compilation is by using the wrapper scripts\nwhich have all the variables preconfigured for the most common platforms.\nHere is how you can do this:\n\n 1. Unpack LuxCoreRender sources into the subdirectory below 'root' directory\n    (where scripts are located). The subdir with Lux sources may have\n    any name, however\n\tif it contains 'dll' then the DLL version of LuxCore library is compiled;\n\tif it contains 'sdk' then the SDK version of LuxCore library is compiled;\n\tif it contains 'pyluxcore' then only pyluxcore target will be compiled.\n    \n    NOTE: you need git LFS extension (https://git-lfs.github.com) to clone\n    LinuxCompileDeps repository. Or you can install and use\n    https://desktop.github.com to clone the repositories;\n    \n 2. Run the wrapper script passing it the name of LuxCoreRender sources dir\n    and optionally the stage number:\n    ./build-64-sse2 \u003clux sources\u003e [stage]\n    \n    To see a list of valid stage numbers run the script without any\n    parameters. Specifying a stage allows you to recompile any deps if\n    needed (however in such a case it's usually better to delete\n    target-* dir altogether and start from scratch).\n    \n    If stage number is omitted the script will continue from where it\n    was previously terminated, i.e. resume compilation of unfinished\n    deps, or begin compiling LuxCoreRender if all dependencies are in place.\n    \n 3. Once the compilation is complete, Lux binaries and shared libs are\n    packed in tar.bz2 archive and saved below the platform-specific\n    'target' subdirectory.\n\n 4. This step is optional. You can compile LuxMark too if you unpack the sources\n    into the subdirectory below 'root' directory named \"LuxMark\".\n\nClang:\n-----\nThe compilation environment supports Clang for compiling both LuxCoreRender\ndependencies and LuxCoreRender itself. In order to enable it, create an empty\nfile named \"use_clang\" in compilation environment root directory. Make sure\nyou have the following components properly installed in your system:\n - Clang compiler (with executable under PATH env var)\n - libomp (OMP library for Clang)\n - LLVM with Clang support and Gold linker\n\nSupport:\n-------\nIf you have any questions and suggestions regarding these tools, \nfeel free to open a topic in http://forums.luxcorerender.org/viewforum.php?f=5\n(or create an issue in this repository)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluxcorerender%2Flinuxcompile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluxcorerender%2Flinuxcompile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluxcorerender%2Flinuxcompile/lists"}