aarch64 repository
remicollet opened this issue · comments
Because of a lack of resources, and build time (~30x slower), the current plan is
- single distribution: Enterprise Linux 9
- only PHP
- only modules (no Software Collections)
- only NTS build (no ZTS build)
- only stable version, i.e. no build of alpha/beta/RC version
- nearly complete set of packages (feel free to ask for ones missing for you)
- slightly delayed builds, after x86_64 (will try to avoid significant delay)
Current process
- wizard
- repository layout
- php 7.4
- php 8.0
- php 8.1
- php 8.2
- extensions for 7.4
- extensions for 8.0
- extensions for 8.1
- extensions for 8.2
PHP 7.4:
$ php -v
PHP 7.4.30 (cli) (built: Jun 7 2022 08:38:19) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
$ php -i
phpinfo()
PHP Version => 7.4.30
System => Linux rhel9arm 5.14.0-70.17.1.el9_0.aarch64 #1 SMP Tue Jun 14 11:43:56 EDT 2022 aarch64
Build Date => Jun 7 2022 08:38:19
Build System => Red Hat Enterprise Linux release 9.0 (Plow)
Build Provider => Remi's RPM repository <https://rpms.remirepo.net/> #StandWithUkraine
...
PHP 8.0:
$ php -v
PHP 8.0.21 (cli) (built: Jul 6 2022 10:13:53) ( NTS gcc aarch64 )
Copyright (c) The PHP Group
Zend Engine v4.0.21, Copyright (c) Zend Technologies
$ php -i
phpinfo()
PHP Version => 8.0.21
System => Linux rhel9arm 5.14.0-70.17.1.el9_0.aarch64 #1 SMP Tue Jun 14 11:43:56 EDT 2022 aarch64
Build Date => Jul 6 2022 10:13:53
Build System => Red Hat Enterprise Linux release 9.0 (Plow)
Build Provider => Remi's RPM repository <https://rpms.remirepo.net/> #StandWithUkraine
Compiler => gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)
Architecture => aarch64
...
PHP 8.1:
$ php -v
PHP 8.1.8 (cli) (built: Jul 5 2022 21:55:55) (NTS gcc aarch64)
Copyright (c) The PHP Group
Zend Engine v4.1.8, Copyright (c) Zend Technologies
$ php -i
phpinfo()
PHP Version => 8.1.8
System => Linux rhel9arm 5.14.0-70.17.1.el9_0.aarch64 #1 SMP Tue Jun 14 11:43:56 EDT 2022 aarch64
Build Date => Jul 5 2022 21:55:55
Build System => Red Hat Enterprise Linux release 9.0 (Plow)
Build Provider => Remi's RPM repository <https://rpms.remirepo.net/> #StandWithUkraine
Compiler => gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)
Architecture => aarch64
...
Extensions available in remi's streams:
- apcu, rrd, xdebug, zip ; so all in AppStream
- ast, igbinary, lzf, mailparse, memcache, memcached, msgpack, pcov, rpminfo, selinux, uuid, xattr
- amqp, apfd, datadog-trace, dio, ds, event, gearman, http, inotify, ip2location, json_post, krb5, mongodb
- oauth, pq, propro, raphf, redis, ssdeep, ssh2, uopz, var_representationn, yac, yaconf, yaml
- imagick, so all in EPEL
- brotli, componere, geos, ioncube-loader, lz4, memprof, vld
- ip2proxy, phpiredis, rdkafka, simple_kafka_client, smbclient, snappy, xmldiff, xz, zstd
- couchbase, crypto, openswoole, swoole
- awscrt, base58, bitset, cassandra, cmark, csv, dbase, gnupg, libvirt, mcrypt, rar, scrypt, sdl, sdl_image, sdl_mixer, sdl_ttf, stomp, xhprof, xmlrpc, yar, yaz, zmq
- ahocorasick, decimal, druid, eio, env, ev, excimer, fann, gender, geoip, geospatial, gmagick, grpc, handlebars, hdr_histogram, maxminddb, mustache, unit-php, uwsgi-plugin-php
- hprose, hrtime, ice, ion, jsonpath, leveldb, lua, luasandbox, mogilefs, mysql, mysqlnd_azure, mysql-xdevapi, nsq, opencensus, pam, pcs, pcsc, pdflib
- http_message, phalcon, pkcs11, protobuf, ps, psr, quickhash, radius, request, runkit7, seasclick, seaslog, seassnowflake, skywalking, solr, sqlsrv, stats, svn, sync, taint, teds, tensor
- pinba, realpath_turbo, snuffleupagus, termbox, timecop, trader, translit, uploadprogress, uv, varnish, vips, wddx, weakreference_bc, xdiff, xlswriter, xxtea, zephir_parser ; so all in x86_64 repository
Can I use this in CentOS 7? and how to use it, please?
@fishfree see the topic, "aarch64 repository for EL9", so not for EL7
Sorry, but not enough resources for additional targets.
P.S. also remind that EL7 is 8 years old, close to its EOL, and you should prefer a modern distro to run modern PHP.
Big changes
Thanks to new builder, aarch64 is now a primary arch on EL-9 and probably more targets will come soon (EL-8 ? Fedora ?)
So
- x86_64 and aarch64 are build and published simultenaously
- modules and software collections
- all packages
- testing versions
Thanks to new builder, aarch64 is now also a primary arch on EL-8 (PHP 7.2 to 8.3)
Thanks to new builder, aarch64 is now also a primary arch on Fedora 39 (PHP 7.4 to 8.3)