Skip to content

Commit

Permalink
Merge branch 'develop', bump version to 0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
machitgarha committed Apr 5, 2022
2 parents 765c535 + b204043 commit f3dafb6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: CI

on:
push:
tags: "*"
branches:
- master
- develop
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ Easy and semi-intelligent VHDL simulation tool, integrating GHDL and GTKWave.

- 💡 Zero-configuration by default. Go ahead and simulate your design!

- ☕ Easy to use. You don't need to remember or look for dependencies everytime, Parvaj does this for you. You wouldn't even need to know most of the GHDL command-line options.
- ☕ Easy to use. You don't need to remember or look for dependencies everytime, Parvaj does it for you. You wouldn't even need to know most of the GHDL command-line options.

- ☔ Simple installation process, by providing AppImage and Phar files.

- **Fast:**

- ⛽ Speed up your development. Don't get your hands dirty by invoking GHDL and GTKWave manually, use the simple `simulate` command instead to do all the steps for you.
- ⛽ Speed up your development. Don't get your hands dirty by invoking GHDL and GTKWave manually; use the simple `simulate` command instead to do all the steps for you.

- ⚡ The tool itself is designed to have good performance. It uses a proper cache mechanism for this. Although it uses regex patterns for major tasks, thanks to fast PHP regex engine, you wouldn't notice slowdowns.

- **Semi-intelligent:**

- 🔥 Automatic detection of dependencies. Forget about what depends on what.

- 🧠 After finding where a unit (e.g. entity) lives, it remembers it. Don't worry, it is smart enough to check if it was moved around or has been renamed. Just use it!
- 🧠 After finding where a unit (e.g. entity) lives, Parvaj remembers it. Don't worry, it is smart enough to check if it was moved around or was renamed. Just use it!

## Let's Install!

Expand Down
16 changes: 11 additions & 5 deletions build-aux/appimage/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ buildPhp() {
cp ./php.ini-development "$iniPath"
customizePhpIni "$iniPath"

echoSection "Bundling PHP shared libs..."
bundlePhpSharedLibraries "$appDir"

echoSection "Cleaning up..."
minimizePhpInstallationSize "$installationPrefix"

Expand Down Expand Up @@ -115,14 +118,20 @@ bundlePhpSharedLibraries() {
# Extract all libraries, which came after an arrow in ldd output
lddOutput="$(ldd "$appDir/usr/bin/php")"

# For debugging purposes
echo "ldd of PHP binary:"
echo "$lddOutput"

prevWasArrow=false
for i in $lddOutput; do
# Reached the argument after an arrow, so bundle it
if [[ "$prevWasArrow" = true ]]; then
# Don't include libc and libm
if ! [[ "$i" =~ "libc.so" || "$i" =~ "libm.so" ]]; then
# Don't include libc and related libraries
if ! [[ "$i" =~ lib(m|c|rt|dl|pthread).so ]]; then
echo "Bundling '$i'..."
cp "$i" "$appDir/usr/$i"
fi

prevWasArrow=false
fi

Expand Down Expand Up @@ -228,9 +237,6 @@ if [ "$skipPhpBuild" != true ]; then

echoSection "Building PHP..."
buildPhp "$phpSourcePath" "$phpInstallationPath"

echoSection "Bundling PHP shared libs..."
bundlePhpSharedLibraries "$appDir"
fi

echoSection "Copying Parvaj root to AppDir..."
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class Application extends \Symfony\Component\Console\Application
{
public const NAME = "Parvaj";
public const VERSION = "0.3.1";
public const VERSION = "0.3.2";

public function __construct()
{
Expand Down

0 comments on commit f3dafb6

Please sign in to comment.