Bug 214543 - [NEW PORT] devel/ispc: Intel SPMD Program Compiler
Summary: [NEW PORT] devel/ispc: Intel SPMD Program Compiler
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks: 214577 214612
  Show dependency treegraph
 
Reported: 2016-11-15 17:59 UTC by Yuri Victorovich
Modified: 2017-01-19 13:08 UTC (History)
1 user (show)

See Also:


Attachments
shar archive (4.42 KB, text/plain)
2016-11-15 17:59 UTC, Yuri Victorovich
no flags Details
shar archive (4.44 KB, patch)
2016-11-15 18:12 UTC, Yuri Victorovich
no flags Details | Diff
shar archive (4.44 KB, text/plain)
2016-11-15 19:55 UTC, Yuri Victorovich
no flags Details
shar archive (4.44 KB, text/plain)
2016-11-15 21:29 UTC, Yuri Victorovich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2016-11-15 17:59:09 UTC
Created attachment 177029 [details]
shar archive

passes pourdiere.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2016-11-15 18:12:37 UTC
Created attachment 177030 [details]
shar archive
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2016-11-15 19:55:14 UTC
Created attachment 177033 [details]
shar archive
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2016-11-15 21:29:50 UTC
Created attachment 177036 [details]
shar archive
Comment 4 commit-hook freebsd_committer freebsd_triage 2017-01-19 11:38:48 UTC
A commit references this bug:

Author: danfe
Date: Thu Jan 19 11:37:45 UTC 2017
New revision: 431857
URL: https://svnweb.freebsd.org/changeset/ports/431857

Log:
  Add a port of Intel's compiler for high-performance SIMD programming.

  Because GitHub releases (tarballs) are not fetched with correct modification
  time, set TIMESTAMP to 1467976432 which corresponds to commit 87d0c9a tagged
  as this release.

  PR:		214543
  Submitted by:	Yuri Victorovich

Changes:
  head/devel/Makefile
  head/devel/ispc/
  head/devel/ispc/Makefile
  head/devel/ispc/distinfo
  head/devel/ispc/files/
  head/devel/ispc/files/patch-Makefile
  head/devel/ispc/files/patch-examples_common.mk
  head/devel/ispc/files/patch-examples_tasksys.cpp
  head/devel/ispc/pkg-descr
Comment 5 Alexey Dokuchaev freebsd_committer freebsd_triage 2017-01-19 13:08:55 UTC
Committed with modifications as of ports r431857, thanks!  I've had to fix a few notable bugs, for your consideration:

- We typically don't depend on ``bison:devel/bison'' explicitly, there's USES+=bison for that
- Entire `post-patch' target is bogus and hardly readable: some variables are better to be passed via MAKE_ARGS (this is a more or less standard practice), and other changes are more maintainable as a patch; notice that this also applies to ${LOCALBASE} since its value is propagated down the make(1) calls: you don't need to "fix it" prior to the build
- Ironically, fixing `util.cpp' is easier to do with sed(1) rather than a patch; also notice that deleting bogus #include <alloca.h> is sufficient; <stdlib.h> is already included in that file few lines later
- Unless required (e.g., because they get in the way somehow), do not suppress `.bak' suffix when doing in-place sed(1)ing on files, this makes debugging hard
- Standard way to fix ${WRKSRC}/*.py scripts is via USES+=shebangfix
- Probably couple of other minor issues I forgot ;-)