Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am zekefeu on github.
  • I am zekefeu (https://keybase.io/zekefeu) on keybase.
  • I have a public key whose fingerprint is 67D8 5335 08C2 BEF9 B0F3 8D2B CA4D 612F 3845 CCC7

To claim this, I am signing this object:

@zekefeu
zekefeu / bun-sde-fix-install_script.sh
Last active March 8, 2024 12:16
This script automates the installation of the Intel SDE, to fix compatibility issues with older CPU's that do not support the AVX2 instruction set. It fixes the "Illegal hardware instruction" error.
#!/bin/bash
# Solution provided by https://github.com/renhiyama
# (https://github.com/Jarred-Sumner/bun/issues/282#issuecomment-1177154684)
# License agreement
echo "The Intel Software Development Emulator is distributed under the Intel Software License Agreement, available at https://www.intel.com/content/dam/develop/external/us/en/documents/pdf/intel-simplified-software-license-version-august-2021.pdf"
echo ""
echo "If you do not accept the terms of the license agreement, you have 10 seconds to stop this script (Ctrl+C)"