Без опису

Mike Chang 5abdb0e38f Merge pull request #84 from aws-lumberyard-dev/devops/update-license-file-2111.2 3 роки тому
Scripts ad11f1924d Make cmake_src_subfolder, cmake_generate_args_common ,cmake_build_args_common optional arguments in build_config.json (#82) 3 роки тому
package-system 0fe74f4cbc SQLite Update to 3.37.2 (#79) 3 роки тому
.gitignore 90480ca41d Upgrade astc-encoder to use SSE4 on all platforms (#68) 3 роки тому
LICENSE.txt f3690e094e Initial packages (#3) 4 роки тому
LICENSE_APACHE2.TXT 5741c668ef Switches to APACHE-2.0 OR MIT licenses 4 роки тому
LICENSE_MIT.TXT 5741c668ef Switches to APACHE-2.0 OR MIT licenses 4 роки тому
NOTICES.txt e1678bef3e Remove extraneous .in file 3 роки тому
README.md 94ef24dc45 Fixed some typos in the readme 3 роки тому
SPDX-Licenses.csv afdad4f6f1 License file update and cleanup of old license file 3 роки тому
SPDX-Licenses.json afdad4f6f1 License file update and cleanup of old license file 3 роки тому
package_build_list_host_darwin.json 0fe74f4cbc SQLite Update to 3.37.2 (#79) 3 роки тому
package_build_list_host_linux.json 0fe74f4cbc SQLite Update to 3.37.2 (#79) 3 роки тому
package_build_list_host_windows.json 0fe74f4cbc SQLite Update to 3.37.2 (#79) 3 роки тому

README.md

3p-package-source repo

This is where the "sources" (ie, build scripts which make packages) for the O3DE package system are located.

Note that the "sources" of most packages are not actually stored here, most "package sources" actually just consist of a script which fetches the source code (or prebuilt packages) from somewhere else, constructs a temporary folder image for it, and then lets the package system pack that folder up as the package.

In general

  • Add your new package to the appropriate package_build_list_host_xxxx file
  • Put the scripts or instructions to construct the package image folder into the package-system subfolder

Recommendation would be to make any temp packing in a folder called /temp/ so as to use the current git ignores.

Some notable examples

  • xxhash - a tiny header-only library that is just committed-as-is since it fits in git. No build scripts.
  • OpenSSL - this one uses vcpkg to build the package image.
  • Lua - this one uses a script called pull_and_build_from_git.py (in Scripts/extras) to build the package image.

See the documentation (README.md in 3p-package-scripts repo for a full description of how to author packages.)