Skip to content

Commit

Permalink
add compile_icc.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
cielavenir committed May 5, 2021
1 parent 4d0c838 commit 29ceb28
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions compile_icc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
if ! type icpc >/dev/null 2>/dev/null && [ -f /opt/intel/oneapi/setvars.sh ]; then
. /opt/intel/oneapi/setvars.sh
fi
make clean
echo "Self (icc)"
#ZLIBNG_X86=1 ICC=1 ARCH="-march=core2 -mmmx -msse -msse2 -msse3 -pthread" LIBS="-pthread -ldl" SUFF=_icc make
ZLIBNG_X86=1 ICC=1 ARCH="-march=native -pthread" LIBS="-pthread -ldl" SUFF=_icc make
make clean

upx --best --lzma cielbox_icc

0 comments on commit 29ceb28

Please sign in to comment.