
How to create xz and lz4 for TeX Live:

1) Get latest sources 

	xz:  https://tukaani.org/xz/
	
	lz4: https://github.com/lz4/lz4/releases/tag/v1.9.3
	
2) Configure and make on both Arm and Intel. Put resulting code in RawCode as

	xz-arm, xzdec-arm, lzmadec-arm, lz4-arm
	xz-intel, xzdec-intel, lzmadec-intel, lz4-intel
	
	xz: ./configure --disable-nls --disable-shared --disable-threads && make
	
	strip all binaries
	
	xz, xzdec, lzmadec in src/xz and src/xzdec
	
3) for lz, make and find lz4 in main source directory
	
4) Now merge these using

	sudo sh lipoarm.sh
	
	sudo sh lipoharden.sh
	
These will create universal-darwin,  universal-darwin.tar.xz

