Browse Source

Disable utils packages for wasi OS if required package is not supported or if labels are used (which is not supported for wasm32 target CPU)

Pierre Muller 3 years ago
parent
commit
c616832792

+ 1 - 1
utils/fpcres/fpmake.pp

@@ -16,7 +16,7 @@ begin
     begin
     begin
     P:=AddPackage('utils-fpcres');
     P:=AddPackage('utils-fpcres');
     P.ShortName:='fprs';
     P.ShortName:='fprs';
-    P.OSes:=AllOSes-[atari,embedded,msdos,win16,macosclassic,palmos,zxspectrum,msxdos,amstradcpc,sinclairql];
+    P.OSes:=AllOSes-[atari,embedded,msdos,win16,macosclassic,palmos,zxspectrum,msxdos,amstradcpc,sinclairql,wasi];
     //P.OSes:=[win32,win64,wince,haiku,linux,freebsd,openbsd,netbsd,darwin,iphonesim,ios,solaris,os2,emx,aix,aros,amiga,morphos];
     //P.OSes:=[win32,win64,wince,haiku,linux,freebsd,openbsd,netbsd,darwin,iphonesim,ios,solaris,os2,emx,aix,aros,amiga,morphos];
 
 
     if Defaults.CPU=jvm then
     if Defaults.CPU=jvm then

+ 1 - 1
utils/fpcreslipo/fpmake.pp

@@ -17,7 +17,7 @@ begin
     P:=AddPackage('utils-fpcreslipo');
     P:=AddPackage('utils-fpcreslipo');
     P.ShortName:='fprl';
     P.ShortName:='fprl';
     P.Description:='Free Pascal External Resource Thinner';
     P.Description:='Free Pascal External Resource Thinner';
-    P.OSes:=AllOSes-[embedded,msdos,win16,macosclassic,palmos,zxspectrum,msxdos,amstradcpc,watcom,sinclairql];
+    P.OSes:=AllOSes-[embedded,msdos,win16,macosclassic,palmos,zxspectrum,msxdos,amstradcpc,watcom,sinclairql,wasi];
     if Defaults.CPU=jvm then
     if Defaults.CPU=jvm then
       P.OSes := P.OSes - [java,android];
       P.OSes := P.OSes - [java,android];
 
 

+ 1 - 1
utils/fpdoc/fpmake.pp

@@ -25,7 +25,7 @@ begin
     P.Description := 'Free Pascal documentation generation utility.';
     P.Description := 'Free Pascal documentation generation utility.';
     P.NeedLibC:= false;
     P.NeedLibC:= false;
 
 
-    P.OSes:=AllOSes-[embedded,msdos,win16,go32v2,nativent,macosclassic,palmos,atari,zxspectrum,msxdos,amstradcpc,watcom,sinclairql];
+    P.OSes:=AllOSes-[embedded,msdos,win16,go32v2,nativent,macosclassic,palmos,atari,zxspectrum,msxdos,amstradcpc,watcom,sinclairql,wasi];
     if Defaults.CPU=jvm then
     if Defaults.CPU=jvm then
       P.OSes := P.OSes - [java,android];
       P.OSes := P.OSes - [java,android];
 
 

+ 1 - 1
utils/fppkg/fpmake.pp

@@ -31,7 +31,7 @@ begin
     P.Directory:=ADirectory;
     P.Directory:=ADirectory;
     P.Version:='3.3.1';
     P.Version:='3.3.1';
 
 
-    P.OSes := P.OSes - [embedded,nativent,msdos,go32v2,win16,atari,macosclassic,palmos,symbian,zxspectrum,msxdos,amstradcpc,sinclairql];
+    P.OSes := P.OSes - [embedded,nativent,msdos,go32v2,win16,atari,macosclassic,palmos,symbian,zxspectrum,msxdos,amstradcpc,sinclairql,wasi];
     if Defaults.CPU=jvm then
     if Defaults.CPU=jvm then
       P.OSes := P.OSes - [java,android];
       P.OSes := P.OSes - [java,android];
 
 

+ 1 - 1
utils/h2pas/fpmake.pp

@@ -23,7 +23,7 @@ begin
     { palmos does not support command line parameters }
     { palmos does not support command line parameters }
     P.OSes := P.OSes - [palmos];
     P.OSes := P.OSes - [palmos];
     { Program does not fit in 16-bit memory constraints }
     { Program does not fit in 16-bit memory constraints }
-    P.OSes := P.OSes - [msdos,win16,zxspectrum,msxdos,amstradcpc,sinclairql];
+    P.OSes := P.OSes - [msdos,win16,zxspectrum,msxdos,amstradcpc,sinclairql,wasi];
     { avr-embedded and i8086-embedded do not support all needed features by default }
     { avr-embedded and i8086-embedded do not support all needed features by default }
     if Defaults.CPU in [avr,i8086,z80] then
     if Defaults.CPU in [avr,i8086,z80] then
       P.OSes := P.OSes - [embedded];
       P.OSes := P.OSes - [embedded];

+ 1 - 1
utils/json2pas/fpmake.pp

@@ -18,7 +18,7 @@ begin
     P.Dependencies.Add('fcl-json');
     P.Dependencies.Add('fcl-json');
 
 
     P.ShortName:='jsnp';
     P.ShortName:='jsnp';
-    P.OSes:=AllOSes-[embedded,msdos,win16,macosclassic,palmos,zxspectrum,msxdos,amstradcpc,sinclairql];
+    P.OSes:=AllOSes-[embedded,msdos,win16,macosclassic,palmos,zxspectrum,msxdos,amstradcpc,sinclairql,wasi];
     if Defaults.CPU=jvm then
     if Defaults.CPU=jvm then
       P.OSes := P.OSes - [java,android];
       P.OSes := P.OSes - [java,android];
 
 

+ 1 - 1
utils/pas2fpm/fpmake.pp

@@ -16,7 +16,7 @@ begin
     begin
     begin
     P:=AddPackage('utils-pas2fpm');
     P:=AddPackage('utils-pas2fpm');
     p.ShortName:='p2fm';
     p.ShortName:='p2fm';
-    P.OSes:=AllOSes-[embedded,msdos,win16,macosclassic,palmos,zxspectrum,msxdos,amstradcpc,sinclairql];
+    P.OSes:=AllOSes-[embedded,msdos,win16,macosclassic,palmos,zxspectrum,msxdos,amstradcpc,sinclairql,wasi];
     if Defaults.CPU=jvm then
     if Defaults.CPU=jvm then
       P.OSes := P.OSes - [java,android];
       P.OSes := P.OSes - [java,android];
 
 

+ 1 - 1
utils/pas2jni/fpmake.pp

@@ -24,7 +24,7 @@ begin
     P.Email := '';
     P.Email := '';
     P.NeedLibC:= false;
     P.NeedLibC:= false;
 
 
-    P.OSes:=AllOSes-[embedded,msdos,win16,go32v2,nativent,macosclassic,palmos,atari,zxspectrum,msxdos,amstradcpc,sinclairql];
+    P.OSes:=AllOSes-[embedded,msdos,win16,go32v2,nativent,macosclassic,palmos,atari,zxspectrum,msxdos,amstradcpc,sinclairql,wasi];
     if Defaults.CPU=jvm then
     if Defaults.CPU=jvm then
       P.OSes := P.OSes - [java,android];
       P.OSes := P.OSes - [java,android];
 
 

+ 1 - 1
utils/pas2ut/fpmake.pp

@@ -16,7 +16,7 @@ begin
     begin
     begin
     P:=AddPackage('utils-pas2ut');
     P:=AddPackage('utils-pas2ut');
     P.ShortName:='p2ut';
     P.ShortName:='p2ut';
-    P.OSes:=AllOSes-[embedded,msdos,win16,macosclassic,palmos,zxspectrum,msxdos,amstradcpc,sinclairql];
+    P.OSes:=AllOSes-[embedded,msdos,win16,macosclassic,palmos,zxspectrum,msxdos,amstradcpc,sinclairql,wasi];
     if Defaults.CPU=jvm then
     if Defaults.CPU=jvm then
       P.OSes := P.OSes - [java,android];
       P.OSes := P.OSes - [java,android];
 
 

+ 1 - 1
utils/tply/fpmake.pp

@@ -24,7 +24,7 @@ begin
     { palmos does not support command line parameters }
     { palmos does not support command line parameters }
     P.OSes := P.OSes - [palmos];
     P.OSes := P.OSes - [palmos];
     { Program does not fit in 16-bit memory constraints }
     { Program does not fit in 16-bit memory constraints }
-    P.OSes := P.OSes - [msdos,win16,zxspectrum,msxdos,amstradcpc,sinclairql];
+    P.OSes := P.OSes - [msdos,win16,zxspectrum,msxdos,amstradcpc,sinclairql,wasi];
     { avr-embedded and i8086-embedded do not meet needed requirements }
     { avr-embedded and i8086-embedded do not meet needed requirements }
     if Defaults.CPU in [avr,i8086,z80] then
     if Defaults.CPU in [avr,i8086,z80] then
       P.OSes := P.OSes - [embedded];
       P.OSes := P.OSes - [embedded];