Skip to content

Commit 374ac04

Browse files
committed
chore: wip
1 parent 223bc5d commit 374ac04

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

packages/launchpad/src/install.ts

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2964,57 +2964,17 @@ async function installPackage(packageName: string, packageSpec: string, installP
29642964
catch (error) {
29652965
if (config.verbose) {
29662966
console.log(`⚠️ Binary download failed: ${error instanceof Error ? error.message : String(error)}`)
2967-
console.log('🔄 Falling back to source build...')
29682967
}
29692968
}
29702969

2971-
// Fallback to source build if binary download fails
2972-
if (config.verbose) {
2973-
console.warn(`Building PHP from source for ${name}`)
2974-
}
2975-
else {
2976-
// Show clean progress like other packages
2977-
console.log('🔄 Installing PHP from source...')
2978-
}
2979-
29802970
// CRITICAL: Install ALL PHP dependencies FIRST before building
29812971
if (config.verbose) {
29822972
console.log('🔧 Setting up build environment for PHP...')
29832973
}
29842974

2985-
// Install all PHP dependencies from ts-pkgx (includes build tools and runtime deps)
2986-
// PHP build dependencies are no longer needed with precompiled binaries
2987-
2988-
if (config.verbose) {
2989-
console.log('✅ All PHP dependencies ready - starting build...')
2990-
}
29912975
throw new Error('Source builds are no longer supported. Use precompiled binaries instead.')
29922976
}
29932977

2994-
// Special handling for zlib - disabled, let ts-pkgx handle it
2995-
// if (name === 'zlib' || domain === 'zlib.net') {
2996-
// if (config.verbose) {
2997-
// console.warn(`Building zlib from source to fix broken dependencies for ${name}`)
2998-
// }
2999-
// return await buildZlibFromSource(installPath, requestedVersion)
3000-
// }
3001-
3002-
// Special handling for libpng - disabled, let ts-pkgx handle it
3003-
// if (name === 'libpng' || domain === 'libpng.org') {
3004-
// if (config.verbose) {
3005-
// console.warn(`Building libpng from source to fix broken package for ${name}`)
3006-
// }
3007-
// return await buildLibpngFromSource(installPath, requestedVersion)
3008-
// }
3009-
3010-
// Special handling for GMP - disabled, let ts-pkgx handle it
3011-
// if (name === 'gmp' || domain === 'gnu.org/gmp') {
3012-
// if (config.verbose) {
3013-
// console.warn(`Building GMP from source to fix broken package for ${name}`)
3014-
// }
3015-
// return await buildGmpFromSource(installPath, requestedVersion)
3016-
// }
3017-
30182978
if (config.verbose) {
30192979
console.warn(`Resolved ${name} to domain: ${domain}`)
30202980
}

0 commit comments

Comments
 (0)