Build Updates

This is a series of updates to make building magic far less of a headache:

* Drop `csh`/`tcsh` dependency and detection from `./configure`.
* Rewrite makedbh in Python.
* Rewrite printmans in POSIX sh.
* Stop deleting Depend before every compile (which causes some files to recompile and thus increases recompile times significantly)
* Add Depend to CLEANS in scripts/defs.mak.in
* Turn POSIX suffix rule in magic/rules.mak to a pattern rule with proper prerequisites
This commit is contained in:
Donn
2023-08-25 12:24:14 -04:00
committed by Tim Edwards
parent cb00ede59d
commit 02e16b8bce
11 changed files with 105 additions and 258 deletions
+3 -4
View File
@@ -17,10 +17,10 @@ jobs:
steps:
- name: Pulling the docker image
run: docker pull vezzal/vezzal:v1
- name: Start the container with the docker image
run: docker run -id --name test_magic vezzal/vezzal:v1 bash | exit
- name: Run the testing on the container and send the mail
run: docker exec test_magic /vezzal/test_magic.sh "[email protected],[email protected]" ${{secrets.MAILING_KEY}}
simple_build_linux:
@@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v2
- name: Get Dependencies
run: |
sudo apt-get install -y tcl-dev tk-dev libcairo-dev csh
sudo apt-get install -y tcl-dev tk-dev libcairo-dev
- name: Build
run: |
./configure
@@ -41,7 +41,6 @@ jobs:
- uses: actions/checkout@v2
- name: Get Dependencies
run: |
sudo apt-get install -y csh
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install latest