Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The dependencies.sh script is only for CI. #2315

Merged
merged 1 commit into from
Jun 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,23 +64,6 @@ some of which are disk images with ITS installed.
| pdp10-kl | git, c compiler, make, expect, curses, autoconf, sdl2, sdl2-image, gtk3
| pdp10-ks | git, c compiler, make, expect, curses, autoconf, sdl2

The repo comes with a handy script to install required dependencies.
After cloning the repo change to the build folder. For example if you cloned into `~/its` use the following commands
```
cd ~/its/build
sudo chmod +x dependencies.sh
```
the script takes 2 parameters to run:
`install_<os>` and `EMULATOR=<emnulatorname>`
To install the dependencies
- on MacOS for the PDP-10 KA run
- `./dependencies.sh install_osx EMULATOR=pdp10-ka`
- on Ubuntu run
- `./dependencies.sh install_linux EMULATOR=pdp10-ka`
- on FreeBSD run
- `./dependencies.sh install_freebsd EMULATOR=pdp10-ka`

Once the script completes navigate back to the `~/its` folder with `cd ..` and run `make clean all EMULATOR=pdp10-ka`
### Usage

To start ITS, type `./start`. If you see `KLH10#`, type `go` and
Expand Down
4 changes: 4 additions & 0 deletions build/dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# This is script is mainly for installing dependencies for continuous
# integration builds. It's not meant to support many kinds of
# operating system or releases.

if test -n "$GITLAB_CI" -o -n "$CIRCLECI"; then
sudo() {
"$@"
Expand Down