Christoph M. Becker
18dac6fd90
Cater to new server configuration for PECL cURL uploads
2021-10-08 12:56:37 +02:00
Christoph M. Becker
a253b3d4d9
Upload real_name packages to proper location
...
We need to do this (and also have to rename the packages), so that they
are linked as DLLs. We do not rename the log files, though.
2021-01-25 19:31:19 +01:00
Christoph M. Becker
7bc1c7900f
Add general support for exporting from a Github mirror
...
This is a follow up on the quick fix for exporting from the php-src
Github mirror[1]. Instead of hard-coding everything in the code, we
introduce a configurable `gh_url`, and use it if given. We cannot use
the repository URL, though, because the toplevel folder inside the
downloaded archive would have a different name (the shortened revision
number is expanded again); downloading from the codeload subdomain
gives the desired result.
[1] <9e1ca1002a >
2020-09-07 13:42:26 +02:00
Christoph M. Becker
9e1ca1002a
Get php-src snapshots from Github
...
Due to server overload, the snapshot downloads from http://git.php.net/
have been recently disabled. Therefore, we have to fetch the snapshots
from Github. Unfortunately, rmtools expect everything available via
GitWeb, so we can't just change the configuration in the respective INI
files, so we hack around by hard-coding the download URL. Even worse,
`wget()` apparently does not yet support redirects, so we use the
codeload subdomain directly.
For now this seems to resolve the snapshot build issues, but needs to
be properly resolved soonish.
2020-09-06 14:01:23 +02:00
Christoph M. Becker
560a116e68
Support extensions with config.w32 in subfolder
...
Some extensions have the actual extension code in a subfolder of the
toplevel package folder, and as such can't currently be built. For
instance, xhprof has `xhprof-x.y.z/extension/config.w32`, but we only
check for `xhprof-x.y.z/config.w32` and `config.w32`.
Changing `PeclExt::tmp_extract_path` to point to the subfolder which
contains ' config.w32` wouldn't work, though, because then the folders
in package.xml won't match anymore. Therefore, we attempt to copy the
whole subfolder one level up, and resume the build process.
2020-04-12 13:55:11 +02:00
Christoph M. Becker
d3dde81238
Support older PHP SDKs
...
`PHP_SDK_VC` has been renamed to `PHP_SDK_VS` only as of
php-sdk-2.2.0beta4; therefore we add a fallback on `PHP_SDK_VC` to
support older versions.
2019-04-08 13:51:03 +02:00
Christoph M. Becker
d1f9fe6d80
Rename VC to VS
...
We're skipping the Pickle stuff for now, since it's not even up-to-date
for VC15. We also keep the VC prefix for some classes, such as
`BuildVC`.
2019-04-05 13:10:37 +02:00
Anatol Belski
f512f6a7b8
Add error check
2019-02-04 20:03:10 -08:00
Anatol Belski
9a3fbd77fd
Add current branch ini item to the env
2018-08-01 09:11:21 +02:00
Anatol Belski
96bc7150a9
Let it be handled by the binary SDK
2018-07-31 21:05:25 +02:00
Anatol Belski
256a2e6666
Rewrite loop
2018-07-31 20:45:47 +02:00
Anatol Belski
66ef4c100a
Add git to the path
2018-07-31 20:13:35 +02:00
Anatol Belski
6534056347
Fix fetching pgo scenario list
2018-05-16 18:29:22 +02:00
Anatol Belski
a62a60a328
Fix passing of PGO case options
2018-05-11 17:14:28 +02:00
Anatol Belski
b6ff58a977
Sync with the SDK changes for PGO training case whitelisting
...
Also, rework the configuration according to the new build matrix.
2018-05-11 14:02:24 +02:00
Anatol Belski
9aa5df4ddd
Revert "Don't delete the lock file"
...
This reverts commit bb07d6c2f4 .
2018-04-04 17:48:03 +02:00
Anatol Belski
bb07d6c2f4
Don't delete the lock file
2018-04-04 17:39:40 +02:00
Anatol Belski
7d3105f56e
Fix function call
2018-04-04 17:27:19 +02:00
Anatol Belski
6a54232031
Use lock for PGO setup under concurrent builds
2018-04-04 17:18:12 +02:00
Anatol Belski
c0e176ad6c
Fix pgo setup check
2018-04-04 16:35:47 +02:00
Anatol Belski
4f511accbf
Basic intrinsic build implementation
2018-03-02 23:03:46 +01:00
Anatol Belski
9f9e6fe18f
Include log output into exception message
2018-03-01 18:48:40 +01:00
Anatol Belski
ce3519aca3
Remove debug out
2018-02-22 07:37:27 +01:00
Anatol Belski
f2e9b99664
Implement move all dep dlls into package
2018-02-21 18:47:05 +01:00
Anatol Belski
d1dc1fcce5
Use proc_open based exec as the cmd needs env
2017-11-03 13:07:30 +01:00
Anatol Belski
3ac2037b5d
It's case sensitive in the array
2017-11-03 09:11:45 +01:00
Anatol Belski
8b52360847
add library bin path to the build path, some bins from there can be used
...
(cherry picked from commit 9a4adf7f7a )
2017-11-03 09:02:45 +01:00
Anatol Belski
ea3d1a9fe5
Add /nologo
2017-11-02 09:10:20 +01:00
Anatol Belski
7a4d416b7f
Make PGO scenarios confgurable from rmtools
2017-10-30 07:40:54 +01:00
Anatol Belski
dcf5820326
Workaround issue where files can't be deleted because of security scan
2017-09-20 12:55:21 +02:00
Anatol Belski
073975a5a8
Last exported revision should not be rebuilt
2017-09-19 23:02:23 +02:00
Anatol Belski
cb41be0fb0
Truncate the db file for reset
2017-09-19 18:43:35 +02:00
Anatol Belski
fd4448d3d3
These should be atomic, too
2017-09-19 12:23:01 +02:00
Anatol Belski
b8f48f651c
Rewrite for atomic rw for the db file
2017-09-19 12:11:09 +02:00
Anatol Belski
6659d824d1
Check also for "all"
2017-09-18 19:41:00 +02:00
Anatol Belski
d7f919649b
More refactoring
...
- partial locking on the db file
- fix revision fetching, previously only the latest was fetched
- upload snaps as they built for now
2017-09-18 19:35:59 +02:00
Anatol Belski
d77306bd7f
Fix typo remove non applicable comment
2017-09-18 16:45:03 +02:00
Anatol Belski
4515772d81
Rework update and cleanup in parallel build
2017-09-18 11:26:14 +02:00
Anatol Belski
9920e2f5d8
Fix condition
2017-09-18 09:13:40 +02:00
Anatol Belski
1a51e1d9cc
Reset number of running builds after all are finished
2017-09-15 21:14:23 +02:00
Anatol Belski
2b498ff0c5
Fix exception msg
2017-09-15 21:01:51 +02:00
Anatol Belski
89296f7a9e
Parallel build for snaps, basic changes
2017-09-15 19:12:04 +02:00
Anatol Belski
311b929c81
If only one build was requested, don't write all the available into db
2017-09-15 14:41:11 +02:00
Anatol Belski
7886bfcb22
Locking reads
2017-09-15 14:17:05 +02:00
Anatol Belski
ed1333d79d
Fix extract path
2017-09-15 13:39:33 +02:00
Anatol Belski
5e27760dfd
Fix source unzipping which previously might collide in parallel runs
2017-09-15 13:26:46 +02:00
Anatol Belski
5ed475d0a7
Fix missing ;
2017-09-05 20:44:12 +02:00
Anatol Belski
d4ec65a938
Use relative path
2017-09-05 20:39:57 +02:00
Anatol Belski
bc921ece7e
Care about directories
2017-09-05 20:19:06 +02:00
Anatol Belski
3f8db17f29
Preserve file structure from package.xml
2017-09-05 19:57:30 +02:00