Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
islpy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Klöckner
islpy
Commits
c99d2da0
There was a problem fetching the pipeline summary.
Commit
c99d2da0
authored
7 years ago
by
Andreas Klöckner
Browse files
Options
Downloads
Plain Diff
Merge porter:src/islpy
parents
8c952e86
4b497bf2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build-with-barvinok.sh
+50
-0
50 additions, 0 deletions
build-with-barvinok.sh
with
50 additions
and
0 deletions
build-with-barvinok.sh
0 → 100755
+
50
−
0
View file @
c99d2da0
#! /bin/bash
set
-e
set
-x
BUILD_DIR
=
$(
mktemp
-d
-t
islpy-barvinok-build-XXXXXXX
)
echo
"BUILDING IN
$BUILD_DIR
"
PREFIX
=
"
$HOME
/pack/barvinok"
NTL_VER
=
"10.5.0"
BARVINOK_GIT_REV
=
"79944db"
NPROCS
=
30
if
true
;
then
rm
-Rf
"
$PREFIX
"
"
$BUILD_DIR
"
mkdir
"
$BUILD_DIR
"
cd
"
$BUILD_DIR
"
curl
-O
http://shoup.net/ntl/ntl-
"
$NTL_VER
"
.tar.gz
tar
xfz ntl-
"
$NTL_VER
"
.tar.gz
cd
"
$BUILD_DIR
/ntl-
$NTL_VER
/src"
./configure
NTL_GMP_LIP
=
on
PREFIX
=
"
$PREFIX
"
TUNE
=
x86
SHARED
=
on
make
-j
$NPROCS
make
install
cd
"
$BUILD_DIR
"
rm
-Rf
barvinok
git clone git://repo.or.cz/barvinok.git
cd
barvinok
git checkout
$BARVINOK_GIT_REV
./get_submodules.sh
sh autogen.sh
./configure
--prefix
=
"
$PREFIX
"
--with-ntl-prefix
=
"
$PREFIX
"
--enable-shared-barvinok
make
-j
$NPROCS
make
install
fi
cd
"
$BUILD_DIR
"
rm
-Rf
islpy
git clone
--recursive
https://github.com/inducer/islpy
cd
islpy
./configure.py
\
--no-use-shipped-isl
\
--no-use-shipped-imath
\
--isl-inc-dir
=
$PREFIX
/include
\
--isl-lib-dir
=
$PREFIX
/lib
\
--use-barvinok
CC
=
g++
LDSHARED
=
"g++ -shared"
python setup.py
install
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment