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 new version uses nasm 2.13 + #1900

Closed
wants to merge 1 commit into from
Closed

the new version uses nasm 2.13 + #1900

wants to merge 1 commit into from

Conversation

Rinat84
Copy link

@Rinat84 Rinat84 commented Sep 16, 2017

nasm.mk for x264

PKG             := nasm
$(PKG)_WEBSITE  := http://www.nasm.us/
$(PKG)_DESCR    := nasm
$(PKG)_IGNORE   := 
$(PKG)_VERSION  := 2.13.01
$(PKG)_CHECKSUM := aa0213008f0433ecbe07bb628506a5c4be8079be20fc3532a5031fd639db9a5e
$(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.xz
$(PKG)_URL      := http://www.nasm.us/pub/$(PKG)/releasebuilds/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS     :=

define $(PKG)_UPDATE
    $(WGET) -q -O- 'http://www.nasm.us/pub/nasm/releasebuilds/?C=M;O=D' | \
    $(SED) -n 's,.*href="\([0-9\.]*[^a-z]\)/".*,\1,p' | \
    head -1
endef

define $(PKG)_BUILD
    cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \
        --prefix='$(PREFIX)/$(BUILD)' 
    $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
    $(MAKE) -C '$(BUILD_DIR)' -j 1 install
    ln -sf '$(PREFIX)/$(BUILD)/bin/nasm' '$(PREFIX)/bin/$(TARGET)-nasm'
endef

nasm.mk for x264

PKG             := nasm
$(PKG)_WEBSITE  := http://www.nasm.us/
$(PKG)_DESCR    := nasm
$(PKG)_IGNORE   := 
$(PKG)_VERSION  := 2.13.01
$(PKG)_CHECKSUM := aa0213008f0433ecbe07bb628506a5c4be8079be20fc3532a5031fd639db9a5e
$(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.xz
$(PKG)_URL      := http://www.nasm.us/pub/$(PKG)/releasebuilds/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS     :=

define $(PKG)_UPDATE
    $(WGET) -q -O- 'http://www.nasm.us/pub/nasm/releasebuilds/?C=M;O=D' | \
    $(SED) -n 's,.*href="\([0-9\.]*[^a-z]\)/".*,\1,p' | \
    head -1
endef

define $(PKG)_BUILD
    cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \
        --prefix='$(PREFIX)/$(BUILD)' 
    $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
    $(MAKE) -C '$(BUILD_DIR)' -j 1 install
    ln -sf '$(PREFIX)/$(BUILD)/bin/nasm' '$(PREFIX)/bin/$(TARGET)-nasm'
endef
@Rinat84
Copy link
Author

Rinat84 commented Sep 16, 2017

the site fell http://web.cs.uh.edu/
openmp-validation.mk fix

PKG             := omp-validation
$(PKG)_WEBSITE  := https://github.com/uhhpctools/omp-validation
$(PKG)_DESCR    := OpenMP Validation Suite
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := ff8cf0c
$(PKG)_CHECKSUM := 9a86e52c2901488c5af87a83bb771818ea1650c3aec79cb4b5aa5b8f6888533f
$(PKG)_SUBDIR   := uhhpctools-$(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := https://github.com/uhhpctools/$(PKG)/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_URL_2    :=
$(PKG)_DEPS     := gcc

@starius
Copy link
Member

starius commented Sep 26, 2017

@Rinat84
Thank you for the contribution! Добро пожаловать!

Can you create separate pull requests for nasm and openmp-validation, please?

With regard to nasm it needs a test (small compilable file and a line in nasm.mk compiling it to bin/<target>/test-nasm.exe. Also all packages should list the dependency on gcc explicitly according to http://mxe.cc/#creating-packages. Is the package target-specific or general? Can you replace --prefix='$(PREFIX)/$(BUILD)' with $(MXE_CONFIGURE_OPTS)?

tonytheodore added a commit to tonytheodore/mxe that referenced this pull request Oct 31, 2017
tonytheodore added a commit to tonytheodore/mxe that referenced this pull request Oct 31, 2017
@tonytheodore
Copy link
Member

This repo seems to have been removed. See openmp-validation fix and #1954.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants